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.686/1.686, allocations: 288.3 MB / 303.2 MB, free: 8.078 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.001119/0.001119, allocations: 182.2 kB / 371.8 MB, free: 10.28 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.681/1.681, allocations: 205.4 MB / 0.6306 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008885/0.0008883, allocations: 87.5 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.00039, allocations: 20.73 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2009, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6062/0.8072, allocations: 145 MB / 1.121 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.8075, allocations: 94.55 kB / 1.121 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0288/0.8363, allocations: 12.93 MB / 1.134 GB, free: 29.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8363, allocations: 3.938 kB / 1.134 GB, free: 29.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.444e-05/0.8364, allocations: 7.688 kB / 1.134 GB, free: 29.02 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.001009/0.8374, allocations: 0.8097 MB / 1.135 GB, free: 28.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.8374, allocations: 15.02 kB / 1.135 GB, free: 28.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.574e-05/0.8375, allocations: 57.22 kB / 1.135 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.8379, allocations: 362.2 kB / 1.135 GB, free: 27.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.8379, allocations: 3.812 kB / 1.135 GB, free: 27.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.838, allocations: 11.56 kB / 1.135 GB, free: 27.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.8382, allocations: 132.8 kB / 1.135 GB, free: 27.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.8382, allocations: 3.938 kB / 1.135 GB, free: 27.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.8382, allocations: 7.938 kB / 1.135 GB, free: 27.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.8382, allocations: 3.906 kB / 1.135 GB, free: 27.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.8384, allocations: 100.9 kB / 1.135 GB, free: 27.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006708/0.8391, allocations: 0.5573 MB / 1.136 GB, free: 27.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.8392, allocations: 104.8 kB / 1.136 GB, free: 27.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.8393, allocations: 14.69 kB / 1.136 GB, free: 27.49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.8395, allocations: 145.2 kB / 1.136 GB, free: 27.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.8395, allocations: 0 / 1.136 GB, free: 27.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004854/0.84, allocations: 417.6 kB / 1.136 GB, free: 27.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.84, allocations: 77.11 kB / 1.136 GB, free: 27.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000581/0.8406, allocations: 0.6763 MB / 1.137 GB, free: 26.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.8406, allocations: 32.86 kB / 1.137 GB, free: 26.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.8408, allocations: 278.3 kB / 1.137 GB, free: 26.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.8409, allocations: 15.59 kB / 1.137 GB, free: 26.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.8409, allocations: 3.062 kB / 1.137 GB, free: 26.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.841, allocations: 309.8 kB / 1.138 GB, free: 26.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.161e-05/0.8411, allocations: 55.61 kB / 1.138 GB, free: 26.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.088e-05/0.8411, allocations: 55.06 kB / 1.138 GB, free: 26.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.311e-05/0.8412, allocations: 90.61 kB / 1.138 GB, free: 26.31 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8412, allocations: 3.812 kB / 1.138 GB, free: 26.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002743/0.8415, allocations: 280.6 kB / 1.138 GB, free: 26.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.8416, allocations: 33.23 kB / 1.138 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.8416, allocations: 0 / 1.138 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.8416, allocations: 3.953 kB / 1.138 GB, free: 26.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.901e-05/0.8417, allocations: 11.17 kB / 1.138 GB, free: 26.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.8417, allocations: 0 / 1.138 GB, free: 26.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.8418, allocations: 18.72 kB / 1.138 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.8418, allocations: 7.969 kB / 1.138 GB, free: 26.14 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.0002584/0.8421, allocations: 339.5 kB / 1.139 GB, free: 25.94 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.8421, allocations: 62.09 kB / 1.139 GB, free: 25.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004191/0.8426, allocations: 324 kB / 1.139 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.8426, allocations: 3.953 kB / 1.139 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8426, allocations: 3.906 kB / 1.139 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.8426, allocations: 0 / 1.139 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.8429, allocations: 363.1 kB / 1.139 GB, free: 25.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8429, allocations: 0 / 1.139 GB, free: 25.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.8429, allocations: 15.61 kB / 1.139 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8429, allocations: 0 / 1.139 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.8429, allocations: 7.406 kB / 1.139 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.843, allocations: 0 / 1.139 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.843, allocations: 7.938 kB / 1.139 GB, free: 25.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.8433, allocations: 336.3 kB / 1.14 GB, free: 25.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.8434, allocations: 143.3 kB / 1.14 GB, free: 25.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.8435, allocations: 7.719 kB / 1.14 GB, free: 25.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/0.8436, allocations: 15.7 kB / 1.14 GB, free: 25.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.8436, allocations: 3.844 kB / 1.14 GB, free: 25.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.8437, allocations: 15.81 kB / 1.14 GB, free: 25.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000479/0.8441, allocations: 0.5557 MB / 1.14 GB, free: 25.03 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8442, allocations: 0 / 1.14 GB, free: 25.03 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004904/0.8447, allocations: 145.2 kB / 1.141 GB, free: 25 MB / 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.0005292/0.8452, allocations: 356.3 kB / 1.141 GB, free: 24.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.8454, allocations: 208 kB / 1.141 GB, free: 24.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8454, allocations: 0 / 1.141 GB, free: 24.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.8455, allocations: 148.7 kB / 1.141 GB, free: 24.67 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.8459, allocations: 100 kB / 1.141 GB, free: 24.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.847, allocations: 1.105 MB / 1.142 GB, free: 24.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.8475, allocations: 0.9756 MB / 1.143 GB, free: 23.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.226e-05/0.8476, allocations: 20.69 kB / 1.143 GB, free: 23.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.8476, allocations: 14.97 kB / 1.143 GB, free: 23.26 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.8476, allocations: 0 / 1.143 GB, free: 23.26 MB / 0.698 GB Notification: Performance of Templates: time 0.009018/0.8566, allocations: 6.203 MB / 1.149 GB, free: 20.19 MB / 0.698 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)