Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.0009495/0.0009495, allocations: 99.94 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.001017/0.001017, allocations: 177.3 kB / 15.95 MB, free: 216 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.463/1.463, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.528/1.528, allocations: 251.9 MB / 0.51 GB, free: 4.828 MB / 414.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.0005962, allocations: 20 kB / 0.6241 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.5552, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.00263/0.5578, allocations: 1.638 MB / 0.7296 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003195/0.5611, allocations: 2.2 MB / 0.7317 GB, free: 7.555 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.5613, allocations: 3.938 kB / 0.7317 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.5627, allocations: 0.4907 MB / 0.7322 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.5628, allocations: 59.77 kB / 0.7323 GB, free: 7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007567/0.5636, allocations: 198.4 kB / 0.7325 GB, free: 6.809 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.564, allocations: 255.5 kB / 0.7327 GB, free: 6.559 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.5642, allocations: 78.69 kB / 0.7328 GB, free: 6.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.5643, allocations: 99.52 kB / 0.7329 GB, free: 6.383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.5644, allocations: 119.4 kB / 0.733 GB, free: 6.266 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.5645, allocations: 4 kB / 0.733 GB, free: 6.262 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.5649, allocations: 267.6 kB / 0.7333 GB, free: 6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.565, allocations: 91.61 kB / 0.7333 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.203e-05/0.5651, allocations: 117.4 kB / 0.7335 GB, free: 5.789 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005316/0.5656, allocations: 0.5885 MB / 0.734 GB, free: 5.199 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.5656, allocations: 0 / 0.734 GB, free: 5.199 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5656, allocations: 0 / 0.734 GB, free: 5.199 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.5656, allocations: 0 / 0.734 GB, free: 5.199 MB / 0.545 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.0009672/0.5666, allocations: 0.7792 MB / 0.7348 GB, free: 4.363 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.5667, allocations: 8.031 kB / 0.7348 GB, free: 4.355 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.383e-05/0.5668, allocations: 67.11 kB / 0.7349 GB, free: 4.289 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.5672, allocations: 327.9 kB / 0.7352 GB, free: 3.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.5672, allocations: 8 kB / 0.7352 GB, free: 3.922 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.5672, allocations: 12 kB / 0.7352 GB, free: 3.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.5675, allocations: 128.9 kB / 0.7353 GB, free: 3.781 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.5675, allocations: 0 / 0.7353 GB, free: 3.781 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.5675, allocations: 0 / 0.7353 GB, free: 3.781 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.5675, allocations: 11.94 kB / 0.7353 GB, free: 3.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.5677, allocations: 96.09 kB / 0.7354 GB, free: 3.676 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007713/0.5685, allocations: 0.5474 MB / 0.736 GB, free: 3.078 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.5687, allocations: 106.5 kB / 0.7361 GB, free: 2.965 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.5687, allocations: 4.031 kB / 0.7361 GB, free: 2.961 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.569, allocations: 137.2 kB / 0.7362 GB, free: 2.809 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.569, allocations: 0 / 0.7362 GB, free: 2.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005021/0.5695, allocations: 387.6 kB / 0.7366 GB, free: 2.398 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.5695, allocations: 77.11 kB / 0.7366 GB, free: 2.305 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008253/0.5704, allocations: 0.7542 MB / 0.7374 GB, free: 1.539 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.5704, allocations: 37.64 kB / 0.7374 GB, free: 1.496 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.5706, allocations: 272.2 kB / 0.7377 GB, free: 1.227 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.5707, allocations: 31.64 kB / 0.7377 GB, free: 1.195 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/0.5707, allocations: 0 / 0.7377 GB, free: 1.195 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5708, allocations: 317.9 kB / 0.738 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.586e-05/0.5709, allocations: 47.97 kB / 0.738 GB, free: 0.832 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.576e-05/0.571, allocations: 43.97 kB / 0.7381 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.838e-05/0.5711, allocations: 77.69 kB / 0.7382 GB, free: 0.707 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5711, allocations: 0 / 0.7382 GB, free: 0.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002879/0.5714, allocations: 258.5 kB / 0.7384 GB, free: 452 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.5714, allocations: 33.7 kB / 0.7384 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.5714, allocations: 4 kB / 0.7384 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.5715, allocations: 7.938 kB / 0.7385 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.746e-05/0.5715, allocations: 7.984 kB / 0.7385 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.5716, allocations: 4 kB / 0.7385 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.5717, allocations: 7.906 kB / 0.7385 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.5717, allocations: 4 kB / 0.7385 GB, free: 376 kB / 0.545 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.0003161/0.572, allocations: 353.9 kB / 0.7388 GB, free: 8 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.5721, allocations: 63.42 kB / 0.7389 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.5725, allocations: 288.7 kB / 0.7392 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.5725, allocations: 0 / 0.7392 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5725, allocations: 0 / 0.7392 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5726, allocations: 3.984 kB / 0.7392 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.5729, allocations: 369.2 kB / 0.7395 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5729, allocations: 0 / 0.7395 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.573, allocations: 8 kB / 0.7395 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.573, allocations: 3.938 kB / 0.7395 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.573, allocations: 8 kB / 0.7395 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.573, allocations: 3.984 kB / 0.7395 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.573, allocations: 4 kB / 0.7395 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.5734, allocations: 302 kB / 0.7398 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.5735, allocations: 144.3 kB / 0.74 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.5736, allocations: 4 kB / 0.74 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.5737, allocations: 4 kB / 0.74 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.5738, allocations: 11.98 kB / 0.74 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.5738, allocations: 4 kB / 0.74 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006156/0.5744, allocations: 0.5614 MB / 0.7405 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5744, allocations: 0 / 0.7405 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004129/0.5748, allocations: 128 kB / 0.7407 GB, free: 14.02 MB / 0.5606 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.0003742/0.5752, allocations: 189 kB / 0.7408 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002819/0.5755, allocations: 203.3 kB / 0.741 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5755, allocations: 0 / 0.741 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.5757, allocations: 151.4 kB / 0.7412 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.5761, allocations: 99.56 kB / 0.7413 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.5776, allocations: 1.11 MB / 0.7423 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/0.5782, allocations: 0.9741 MB / 0.7433 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.592e-05/0.5783, allocations: 17.55 kB / 0.7433 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.5783, allocations: 15.44 kB / 0.7433 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.5783, allocations: 0 / 0.7433 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.01002/0.5883, allocations: 4.857 MB / 0.7481 GB, free: 6.418 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) Environment - environmentSimulation: