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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.28/1.28, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009308/0.0009309, allocations: 175.6 kB / 327.5 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 0.5785 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007138/0.0007137, allocations: 88.2 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 12.88 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1524, allocations: 106.3 MB / 0.9012 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.2987, allocations: 138.7 MB / 1.037 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.299, allocations: 99.92 kB / 1.037 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0324/0.3314, allocations: 12.97 MB / 1.049 GB, free: 7.598 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3315, allocations: 0 / 1.049 GB, free: 7.598 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.437e-05/0.3315, allocations: 8 kB / 1.049 GB, free: 7.59 MB / 0.698 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.0011/0.3326, allocations: 0.8045 MB / 1.05 GB, free: 6.727 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3327, allocations: 12.03 kB / 1.05 GB, free: 6.715 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.3328, allocations: 68.17 kB / 1.05 GB, free: 6.648 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.3333, allocations: 384.3 kB / 1.051 GB, free: 6.234 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.3333, allocations: 8.375 kB / 1.051 GB, free: 6.227 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.3333, allocations: 4.375 kB / 1.051 GB, free: 6.223 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.3336, allocations: 141.5 kB / 1.051 GB, free: 6.082 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3336, allocations: 0 / 1.051 GB, free: 6.082 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3336, allocations: 3.938 kB / 1.051 GB, free: 6.078 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3336, allocations: 4 kB / 1.051 GB, free: 6.074 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.3338, allocations: 103.9 kB / 1.051 GB, free: 5.973 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007452/0.3346, allocations: 0.5471 MB / 1.051 GB, free: 5.375 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.3347, allocations: 110.5 kB / 1.052 GB, free: 5.258 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.523e-05/0.3348, allocations: 72.97 kB / 1.052 GB, free: 5.184 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.3349, allocations: 7.984 kB / 1.052 GB, free: 5.176 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.3351, allocations: 153.1 kB / 1.052 GB, free: 5.008 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.3351, allocations: 0 / 1.052 GB, free: 5.008 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0005012/0.3356, allocations: 338.5 kB / 1.052 GB, free: 4.664 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.3356, allocations: 81.11 kB / 1.052 GB, free: 4.566 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000823/0.3365, allocations: 0.758 MB / 1.053 GB, free: 3.797 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3365, allocations: 29.7 kB / 1.053 GB, free: 3.762 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.3367, allocations: 276.3 kB / 1.053 GB, free: 3.484 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.3368, allocations: 23.7 kB / 1.053 GB, free: 3.461 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.3368, allocations: 0 / 1.053 GB, free: 3.461 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3369, allocations: 310 kB / 1.054 GB, free: 3.152 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.78e-05/0.337, allocations: 51.97 kB / 1.054 GB, free: 3.102 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.776e-05/0.3371, allocations: 63.83 kB / 1.054 GB, free: 3.039 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.3373, allocations: 172.1 kB / 1.054 GB, free: 2.855 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3373, allocations: 0 / 1.054 GB, free: 2.855 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003577/0.3377, allocations: 282.6 kB / 1.054 GB, free: 2.566 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.554e-05/0.3377, allocations: 45.62 kB / 1.054 GB, free: 2.516 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3377, allocations: 0 / 1.054 GB, free: 2.516 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3378, allocations: 0 / 1.054 GB, free: 2.516 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.3378, allocations: 8 kB / 1.054 GB, free: 2.508 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3379, allocations: 3.938 kB / 1.054 GB, free: 2.504 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.338, allocations: 19.83 kB / 1.054 GB, free: 2.484 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.338, allocations: 4 kB / 1.054 GB, free: 2.48 MB / 0.698 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 () * 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.0003668/0.3384, allocations: 335.4 kB / 1.055 GB, free: 2.137 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.3385, allocations: 63.19 kB / 1.055 GB, free: 2.074 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.339, allocations: 324.6 kB / 1.055 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.339, allocations: 0 / 1.055 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.339, allocations: 0 / 1.055 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.339, allocations: 0 / 1.055 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.3394, allocations: 373.4 kB / 1.055 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3394, allocations: 0 / 1.055 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.3394, allocations: 7.938 kB / 1.055 GB, free: 1.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.3394, allocations: 7.938 kB / 1.055 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.3395, allocations: 12.11 kB / 1.055 GB, free: 1.301 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3395, allocations: 8 kB / 1.055 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3395, allocations: 3.984 kB / 1.055 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.3399, allocations: 326.4 kB / 1.056 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.34, allocations: 152.2 kB / 1.056 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.3401, allocations: 8 kB / 1.056 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.852e-05/0.3402, allocations: 8 kB / 1.056 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.3403, allocations: 7.984 kB / 1.056 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.3403, allocations: 8 kB / 1.056 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006409/0.3409, allocations: 0.5575 MB / 1.056 GB, free: 196 kB / 0.698 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3409, allocations: 0 / 1.056 GB, free: 196 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005182/0.3415, allocations: 147.9 kB / 1.056 GB, free: 48 kB / 0.698 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) * 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.3/0.6415, allocations: 359.9 kB / 1.057 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003479/0.6419, allocations: 201 kB / 1.057 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6419, allocations: 3.875 kB / 1.057 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.642, allocations: 138.1 kB / 1.057 GB, free: 147.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006356/0.6427, allocations: 98.05 kB / 1.057 GB, free: 147.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.644, allocations: 1.102 MB / 1.058 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.6443, allocations: 0.9645 MB / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.642e-05/0.6444, allocations: 22.89 kB / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.6444, allocations: 12.97 kB / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/0.6444, allocations: 2.531 kB / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of Templates: time 0.01121/0.6556, allocations: 6.297 MB / 1.065 GB, free: 145.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (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)