Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.71/1.71, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 192.9 kB / 361.4 MB, free: 6.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009119/0.0009119, allocations: 89.89 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.373e-05/2.391e-05, allocations: 8 kB / 0.8518 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7133/0.7133, allocations: 115.3 MB / 0.9644 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2056/0.9189, allocations: 144.2 MB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/0.9194, allocations: 97.2 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03344/0.9528, allocations: 12.76 MB / 1.118 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9529, allocations: 0 / 1.118 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.253e-05/0.9529, allocations: 8 kB / 1.118 GB, free: 14.77 MB / 0.7292 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.001103/0.954, allocations: 0.711 MB / 1.118 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.9541, allocations: 8.969 kB / 1.118 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.9543, allocations: 68.22 kB / 1.119 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/0.9548, allocations: 343.8 kB / 1.119 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.9549, allocations: 4 kB / 1.119 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.9549, allocations: 4 kB / 1.119 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002118/0.9551, allocations: 92.14 kB / 1.119 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.9553, allocations: 122.1 kB / 1.119 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.9554, allocations: 4 kB / 1.119 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.9554, allocations: 0 / 1.119 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.9554, allocations: 8.547 kB / 1.119 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008658/0.9563, allocations: 0.5155 MB / 1.12 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.9564, allocations: 106.5 kB / 1.12 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.491e-05/0.9565, allocations: 68.97 kB / 1.12 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.9566, allocations: 4 kB / 1.12 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.9567, allocations: 137.1 kB / 1.12 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.9568, allocations: 0 / 1.12 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0004933/0.9573, allocations: 252.2 kB / 1.12 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.9573, allocations: 81.11 kB / 1.12 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.9581, allocations: 0.6088 MB / 1.121 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.9581, allocations: 25.7 kB / 1.121 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.9584, allocations: 283.8 kB / 1.121 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.9584, allocations: 23.72 kB / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.9584, allocations: 0 / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.9586, allocations: 374.8 kB / 1.122 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.9587, allocations: 47.98 kB / 1.122 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.239e-05/0.9588, allocations: 51.97 kB / 1.122 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.9589, allocations: 51.95 kB / 1.122 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9589, allocations: 0 / 1.122 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000362/0.9593, allocations: 249.6 kB / 1.122 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.9593, allocations: 33.7 kB / 1.122 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.9593, allocations: 0 / 1.122 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.9594, allocations: 3.938 kB / 1.122 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.9594, allocations: 15.94 kB / 1.122 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.9595, allocations: 0 / 1.122 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.9596, allocations: 19.84 kB / 1.122 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.9596, allocations: 4 kB / 1.122 GB, free: 10.28 MB / 0.7292 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,booleanToInteger.u,booleanToInteger.y) * Number of discrete 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.0001111/0.9597, allocations: 143.7 kB / 1.122 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.9598, allocations: 55.34 kB / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004599/0.9603, allocations: 284.9 kB / 1.122 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.9603, allocations: 0 / 1.122 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.9603, allocations: 3.953 kB / 1.122 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.9603, allocations: 7.984 kB / 1.122 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.9607, allocations: 341.9 kB / 1.123 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.9607, allocations: 4 kB / 1.123 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.9607, allocations: 5.5 kB / 1.123 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.9607, allocations: 0 / 1.123 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.9607, allocations: 4 kB / 1.123 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.9608, allocations: 3.938 kB / 1.123 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.9608, allocations: 4 kB / 1.123 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.9612, allocations: 287.7 kB / 1.123 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.9614, allocations: 144.3 kB / 1.123 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.9614, allocations: 8 kB / 1.123 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/0.9615, allocations: 4 kB / 1.123 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.812e-05/0.9616, allocations: 15.92 kB / 1.123 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.9617, allocations: 8 kB / 1.123 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006166/0.9623, allocations: 0.4951 MB / 1.124 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9623, allocations: 1.312 kB / 1.124 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00059/0.9629, allocations: 147.7 kB / 1.124 GB, free: 8.254 MB / 0.7292 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,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * 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.0008459/0.9637, allocations: 372.7 kB / 1.124 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002963/0.964, allocations: 197.4 kB / 1.124 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.9641, allocations: 0 / 1.124 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.9642, allocations: 143.3 kB / 1.125 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.9647, allocations: 102.3 kB / 1.125 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.9661, allocations: 0.7858 MB / 1.125 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006425/0.9668, allocations: 0.9738 MB / 1.126 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.249e-05/0.9669, allocations: 17.33 kB / 1.126 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.9669, allocations: 15.44 kB / 1.126 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.9669, allocations: 0 / 1.126 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of Templates: time 0.01181/0.9787, allocations: 5.12 MB / 1.131 GB, free: 0.5977 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)