Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6011/0.6011, allocations: 94.7 MB / 107.3 MB, free: 5.18 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001472/0.001472, allocations: 171.7 kB / 130.7 MB, free: 7.555 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.859/1.859, allocations: 170.5 MB / 324.5 MB, free: 4.012 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001961/0.001961, allocations: 109.7 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.362e-05/6.366e-05, allocations: 4 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6337/0.6338, allocations: 61.52 MB / 0.5054 GB, free: 49.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1846/0.8185, allocations: 99.74 MB / 0.6028 GB, free: 11.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003887/0.819, allocations: 99.59 kB / 0.6029 GB, free: 11.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03424/0.8532, allocations: 12.59 MB / 0.6152 GB, free: 15.28 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.8533, allocations: 4 kB / 0.6152 GB, free: 15.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.761e-05/0.8534, allocations: 8 kB / 0.6152 GB, free: 15.27 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009918/0.8544, allocations: 0.6937 MB / 0.6159 GB, free: 14.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.8544, allocations: 8.031 kB / 0.6159 GB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.8546, allocations: 63.23 kB / 0.616 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.8551, allocations: 327.9 kB / 0.6163 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.8551, allocations: 8 kB / 0.6163 GB, free: 14.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.8552, allocations: 8.516 kB / 0.6163 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.8554, allocations: 125.5 kB / 0.6164 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.8554, allocations: 0 / 0.6164 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.8555, allocations: 4 kB / 0.6164 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.8555, allocations: 4 kB / 0.6164 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.8557, allocations: 89.77 kB / 0.6165 GB, free: 13.85 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009158/0.8566, allocations: 0.5392 MB / 0.617 GB, free: 13.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.8568, allocations: 102.6 kB / 0.6171 GB, free: 13.15 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.381e-05/0.8569, allocations: 56.44 kB / 0.6172 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.026e-05/0.857, allocations: 4 kB / 0.6172 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.8572, allocations: 135.3 kB / 0.6173 GB, free: 12.94 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.8572, allocations: 0 / 0.6173 GB, free: 12.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004662/0.8577, allocations: 250.5 kB / 0.6175 GB, free: 12.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.8578, allocations: 77.11 kB / 0.6176 GB, free: 12.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009018/0.8587, allocations: 0.6675 MB / 0.6183 GB, free: 11.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.8587, allocations: 25.7 kB / 0.6183 GB, free: 11.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.859, allocations: 276.1 kB / 0.6186 GB, free: 11.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.859, allocations: 23.66 kB / 0.6186 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.859, allocations: 0 / 0.6186 GB, free: 11.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.8592, allocations: 318 kB / 0.6189 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.897e-05/0.8593, allocations: 39.98 kB / 0.6189 GB, free: 11.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.569e-05/0.8594, allocations: 47.97 kB / 0.619 GB, free: 11.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.614e-05/0.8595, allocations: 71.45 kB / 0.619 GB, free: 11.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8595, allocations: 0 / 0.619 GB, free: 11.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003251/0.8598, allocations: 250.5 kB / 0.6193 GB, free: 10.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.8599, allocations: 37.62 kB / 0.6193 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.8599, allocations: 0 / 0.6193 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.8599, allocations: 7.953 kB / 0.6193 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.86, allocations: 4 kB / 0.6193 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.86, allocations: 4 kB / 0.6193 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.621e-05/0.8601, allocations: 11.98 kB / 0.6193 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.8602, allocations: 5.594 kB / 0.6193 GB, free: 10.78 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001224/0.8603, allocations: 146.5 kB / 0.6195 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/0.8604, allocations: 59.25 kB / 0.6195 GB, free: 10.56 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.8608, allocations: 280.6 kB / 0.6198 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.8608, allocations: 0 / 0.6198 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.8609, allocations: 7.953 kB / 0.6198 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.8609, allocations: 0 / 0.6198 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004322/0.8613, allocations: 363.3 kB / 0.6202 GB, free: 9.859 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8613, allocations: 0 / 0.6202 GB, free: 9.859 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.8614, allocations: 11.98 kB / 0.6202 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.8614, allocations: 0 / 0.6202 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.8614, allocations: 0 / 0.6202 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.8614, allocations: 4 kB / 0.6202 GB, free: 9.844 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.8614, allocations: 0 / 0.6202 GB, free: 9.844 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.8618, allocations: 294 kB / 0.6205 GB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.862, allocations: 144.3 kB / 0.6206 GB, free: 9.371 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.862, allocations: 4 kB / 0.6206 GB, free: 9.367 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.683e-05/0.8621, allocations: 7 kB / 0.6206 GB, free: 9.363 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.8622, allocations: 11.98 kB / 0.6206 GB, free: 9.352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.8622, allocations: 4 kB / 0.6206 GB, free: 9.348 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007261/0.8629, allocations: 0.5537 MB / 0.6212 GB, free: 8.801 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.863, allocations: 0.75 kB / 0.6212 GB, free: 8.801 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006606/0.8636, allocations: 139.9 kB / 0.6213 GB, free: 8.664 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 5 (speRat.last,speRat.nextEvent,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.000775/0.8644, allocations: 362.6 kB / 0.6216 GB, free: 8.312 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.8647, allocations: 159.4 kB / 0.6218 GB, free: 8.145 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8647, allocations: 0 / 0.6218 GB, free: 8.145 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.8648, allocations: 123.3 kB / 0.6219 GB, free: 8.012 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.8653, allocations: 90.22 kB / 0.622 GB, free: 7.926 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.8666, allocations: 0.7859 MB / 0.6228 GB, free: 7.113 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006105/0.8672, allocations: 0.9624 MB / 0.6237 GB, free: 6.121 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.095e-05/0.8673, allocations: 21.31 kB / 0.6237 GB, free: 6.102 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.8673, allocations: 15.44 kB / 0.6237 GB, free: 6.086 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.8673, allocations: 0 / 0.6237 GB, free: 6.086 MB / 442.7 MB Notification: Performance of Templates: time 0.01305/0.8804, allocations: 6.157 MB / 0.6298 GB, free: 12 kB / 442.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)