Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008862/0.0008863, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 205.4 MB / 222.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.584/1.584, allocations: 292.5 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005962/0.0005963, allocations: 16.75 kB / 0.6736 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2034, allocations: 116.3 MB / 0.7871 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002302/0.2058, allocations: 1.635 MB / 0.7887 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002744/0.2085, allocations: 2.2 MB / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.2087, allocations: 0 / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.2099, allocations: 498.5 kB / 0.7913 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.75e-05/0.21, allocations: 55.83 kB / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006226/0.2107, allocations: 203 kB / 0.7916 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.211, allocations: 251.5 kB / 0.7918 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.2112, allocations: 84.97 kB / 0.7919 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.2113, allocations: 95.59 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.2115, allocations: 119.4 kB / 0.7921 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.2115, allocations: 4 kB / 0.7921 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003945/0.2119, allocations: 267.6 kB / 0.7924 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.212, allocations: 91.61 kB / 0.7925 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.49e-05/0.2121, allocations: 117.4 kB / 0.7926 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005476/0.2127, allocations: 0.5923 MB / 0.7932 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2127, allocations: 0 / 0.7932 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2127, allocations: 0 / 0.7932 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.2127, allocations: 0 / 0.7932 GB, free: 5.695 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009244/0.2136, allocations: 0.7791 MB / 0.7939 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.2137, allocations: 8.031 kB / 0.7939 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.281e-05/0.2137, allocations: 63.25 kB / 0.794 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.2141, allocations: 335.8 kB / 0.7943 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.2141, allocations: 11.91 kB / 0.7943 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.2142, allocations: 11.94 kB / 0.7943 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.2144, allocations: 126.2 kB / 0.7944 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.2144, allocations: 0 / 0.7944 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2144, allocations: 4 kB / 0.7945 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2144, allocations: 4 kB / 0.7945 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.2146, allocations: 96.12 kB / 0.7945 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006828/0.2152, allocations: 0.5358 MB / 0.7951 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.2154, allocations: 114.4 kB / 0.7952 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.2155, allocations: 8.062 kB / 0.7952 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.2157, allocations: 129.1 kB / 0.7953 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.2157, allocations: 0 / 0.7953 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004734/0.2161, allocations: 391.4 kB / 0.7957 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.2162, allocations: 85.14 kB / 0.7958 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007619/0.217, allocations: 0.7503 MB / 0.7965 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.217, allocations: 29.7 kB / 0.7965 GB, free: 2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.2172, allocations: 288.1 kB / 0.7968 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.2172, allocations: 19.72 kB / 0.7968 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.2172, allocations: 0 / 0.7968 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.308e-05/0.2173, allocations: 314 kB / 0.7971 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.388e-05/0.2174, allocations: 43.98 kB / 0.7972 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.623e-05/0.2175, allocations: 43.97 kB / 0.7972 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.552e-05/0.2175, allocations: 77.69 kB / 0.7973 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2176, allocations: 0 / 0.7973 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002683/0.2178, allocations: 262.5 kB / 0.7975 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.2179, allocations: 45.69 kB / 0.7976 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2179, allocations: 0 / 0.7976 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2179, allocations: 0 / 0.7976 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.218, allocations: 11.94 kB / 0.7976 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.218, allocations: 0 / 0.7976 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.2181, allocations: 19.83 kB / 0.7976 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.2181, allocations: 4 kB / 0.7976 GB, free: 0.8594 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002763/0.2184, allocations: 330.1 kB / 0.7979 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.2185, allocations: 79.19 kB / 0.798 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.2188, allocations: 288.6 kB / 0.7983 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2188, allocations: 3.984 kB / 0.7983 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2189, allocations: 0 / 0.7983 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2189, allocations: 0 / 0.7983 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.2192, allocations: 373.3 kB / 0.7986 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2192, allocations: 0 / 0.7986 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.2192, allocations: 11.98 kB / 0.7986 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2193, allocations: 0 / 0.7986 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.2193, allocations: 7.953 kB / 0.7987 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2193, allocations: 4 kB / 0.7987 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2193, allocations: 0 / 0.7987 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.2196, allocations: 305.9 kB / 0.7989 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.2197, allocations: 144.3 kB / 0.7991 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.2198, allocations: 8.172 kB / 0.7991 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.2199, allocations: 15.89 kB / 0.7991 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.22, allocations: 8 kB / 0.7991 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.22, allocations: 11.98 kB / 0.7991 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006073/0.2206, allocations: 0.5575 MB / 0.7997 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2206, allocations: 3.938 kB / 0.7997 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003826/0.221, allocations: 116 kB / 0.7998 GB, free: 14.51 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003359/0.2213, allocations: 191.6 kB / 0.8 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.2216, allocations: 199.3 kB / 0.8002 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2216, allocations: 0 / 0.8002 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.2218, allocations: 147.3 kB / 0.8003 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.2222, allocations: 98.86 kB / 0.8004 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.2235, allocations: 1.101 MB / 0.8015 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.224, allocations: 0.9819 MB / 0.8024 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.03e-05/0.2241, allocations: 17.55 kB / 0.8024 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.2242, allocations: 15.44 kB / 0.8025 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of SimCode: time 3.61e-07/0.2242, allocations: 0 / 0.8025 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of Templates: time 0.008742/0.2329, allocations: 4.861 MB / 0.8072 GB, free: 6.906 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) Environment - environmentSimulation: