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.5952/0.5952, allocations: 95.62 MB / 110.6 MB, free: 9.363 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.001231/0.00123, allocations: 161.9 kB / 134.2 MB, free: 2.254 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.765/1.765, allocations: 170.7 MB / 328.4 MB, free: 12.26 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.002058/0.002058, allocations: 111.3 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003724, allocations: 16 kB / 462.7 MB, free: 35.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1784, allocations: 61.53 MB / 0.512 GB, free: 6.055 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.533/0.7116, allocations: 99.83 MB / 0.6095 GB, free: 7.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/0.712, allocations: 105.2 kB / 0.6096 GB, free: 7.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03381/0.7458, allocations: 12.62 MB / 0.6219 GB, free: 12.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.742e-06/0.7459, allocations: 0 / 0.6219 GB, free: 12.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.515e-05/0.7459, allocations: 8 kB / 0.6219 GB, free: 12.54 MB / 426.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.001526/0.7475, allocations: 0.8131 MB / 0.6227 GB, free: 11.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.51e-05/0.7475, allocations: 11.98 kB / 0.6227 GB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.7477, allocations: 59.25 kB / 0.6228 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006414/0.7483, allocations: 331.1 kB / 0.6231 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.7484, allocations: 4 kB / 0.6231 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.7484, allocations: 11.25 kB / 0.6231 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.7487, allocations: 130.6 kB / 0.6232 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.7488, allocations: 0 / 0.6232 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.7488, allocations: 0 / 0.6232 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.7488, allocations: 4 kB / 0.6232 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.749, allocations: 91.62 kB / 0.6233 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.7501, allocations: 0.552 MB / 0.6239 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.7503, allocations: 99.98 kB / 0.6239 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.105e-05/0.7504, allocations: 11.78 kB / 0.624 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.7506, allocations: 129.6 kB / 0.6241 GB, free: 10.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 3.727e-06/0.7506, allocations: 3.938 kB / 0.6241 GB, free: 10.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006866/0.7513, allocations: 375.6 kB / 0.6244 GB, free: 9.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/0.7514, allocations: 81.11 kB / 0.6245 GB, free: 9.883 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.7525, allocations: 0.6708 MB / 0.6252 GB, free: 9.344 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.7525, allocations: 25.7 kB / 0.6252 GB, free: 9.312 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.7528, allocations: 277.2 kB / 0.6255 GB, free: 9.172 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.7529, allocations: 19.31 kB / 0.6255 GB, free: 9.156 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.7529, allocations: 0 / 0.6255 GB, free: 9.156 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.7531, allocations: 317 kB / 0.6258 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-05/0.7532, allocations: 42.28 kB / 0.6258 GB, free: 8.812 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-05/0.7533, allocations: 42.41 kB / 0.6259 GB, free: 8.781 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.7534, allocations: 75.98 kB / 0.6259 GB, free: 8.715 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7534, allocations: 0 / 0.6259 GB, free: 8.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003337/0.7537, allocations: 246.1 kB / 0.6262 GB, free: 8.488 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/0.7538, allocations: 37.08 kB / 0.6262 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.7538, allocations: 0 / 0.6262 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.7538, allocations: 0 / 0.6262 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.7539, allocations: 11.94 kB / 0.6262 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.754, allocations: 8 kB / 0.6262 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.925e-05/0.7541, allocations: 8.281 kB / 0.6262 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.7541, allocations: 8 kB / 0.6262 GB, free: 8.414 MB / 426.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 () * Number of clocked 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.0003571/0.7545, allocations: 328 kB / 0.6266 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.7545, allocations: 59.34 kB / 0.6266 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.755, allocations: 281.1 kB / 0.6269 GB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.755, allocations: 0 / 0.6269 GB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.755, allocations: 7.953 kB / 0.6269 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.7551, allocations: 0 / 0.6269 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.7555, allocations: 378 kB / 0.6272 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.7555, allocations: 0 / 0.6272 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.7555, allocations: 8 kB / 0.6273 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7555, allocations: 0 / 0.6273 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.7556, allocations: 4 kB / 0.6273 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7556, allocations: 0 / 0.6273 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.7556, allocations: 0 / 0.6273 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.756, allocations: 296.4 kB / 0.6275 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.7562, allocations: 143.5 kB / 0.6277 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.7562, allocations: 0 / 0.6277 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.7564, allocations: 11.98 kB / 0.6277 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.7564, allocations: 0 / 0.6277 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.7564, allocations: 11.5 kB / 0.6277 GB, free: 7.008 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006321/0.7571, allocations: 0.5545 MB / 0.6282 GB, free: 6.488 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7571, allocations: 0 / 0.6282 GB, free: 6.488 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006621/0.7578, allocations: 143.8 kB / 0.6284 GB, free: 6.348 MB / 426.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) * Number of clocked states: 0 () * 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.0006857/0.7585, allocations: 356.6 kB / 0.6287 GB, free: 5.984 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.7587, allocations: 163.7 kB / 0.6289 GB, free: 5.812 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7587, allocations: 0 / 0.6289 GB, free: 5.812 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.7589, allocations: 123.4 kB / 0.629 GB, free: 5.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.7594, allocations: 98.98 kB / 0.6291 GB, free: 5.582 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.7608, allocations: 1.071 MB / 0.6301 GB, free: 4.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.7615, allocations: 0.9702 MB / 0.6311 GB, free: 3.484 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.17e-05/0.7616, allocations: 25.53 kB / 0.6311 GB, free: 3.461 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.7616, allocations: 11.44 kB / 0.6311 GB, free: 3.449 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7616, allocations: 0 / 0.6311 GB, free: 3.449 MB / 426.7 MB Notification: Performance of Templates: time 0.01187/0.7735, allocations: 5.858 MB / 0.6368 GB, free: 13.61 MB / 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)