Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.865/1.865, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001112/0.001113, allocations: 183.4 kB / 377.1 MB, free: 1.516 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.823/1.823, allocations: 205.4 MB / 0.6367 GB, free: 8.535 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.0009558/0.0009558, allocations: 96.31 kB / 0.751 GB, free: 63.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004092, allocations: 11.98 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3358, allocations: 116.3 MB / 0.9884 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8213/1.157, allocations: 146 MB / 1.131 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/1.158, allocations: 106.1 kB / 1.131 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03414/1.192, allocations: 12.92 MB / 1.144 GB, free: 21.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.485e-06/1.192, allocations: 0.5625 kB / 1.144 GB, free: 21.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.257e-05/1.192, allocations: 12 kB / 1.144 GB, free: 21.01 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.001116/1.193, allocations: 0.8135 MB / 1.144 GB, free: 20.18 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/1.193, allocations: 8.688 kB / 1.144 GB, free: 20.17 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.499e-05/1.193, allocations: 62.19 kB / 1.145 GB, free: 20.11 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/1.194, allocations: 350.7 kB / 1.145 GB, free: 19.74 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/1.194, allocations: 4.844 kB / 1.145 GB, free: 19.74 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/1.194, allocations: 8.656 kB / 1.145 GB, free: 19.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/1.194, allocations: 133.7 kB / 1.145 GB, free: 19.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/1.194, allocations: 0 / 1.145 GB, free: 19.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/1.194, allocations: 8 kB / 1.145 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/1.194, allocations: 4.562 kB / 1.145 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/1.194, allocations: 98.33 kB / 1.145 GB, free: 19.53 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009004/1.195, allocations: 0.5573 MB / 1.146 GB, free: 19.01 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/1.195, allocations: 110.7 kB / 1.146 GB, free: 18.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.056e-05/1.195, allocations: 10.72 kB / 1.146 GB, free: 18.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/1.196, allocations: 145.8 kB / 1.146 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/1.196, allocations: 0 / 1.146 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0005564/1.196, allocations: 416.2 kB / 1.146 GB, free: 18.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/1.196, allocations: 89.95 kB / 1.146 GB, free: 18.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008559/1.197, allocations: 0.6713 MB / 1.147 GB, free: 17.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/1.197, allocations: 26.55 kB / 1.147 GB, free: 17.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/1.197, allocations: 282.8 kB / 1.147 GB, free: 17.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/1.197, allocations: 21.08 kB / 1.147 GB, free: 17.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/1.197, allocations: 4 kB / 1.147 GB, free: 17.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.728e-05/1.197, allocations: 311.9 kB / 1.148 GB, free: 17.05 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/1.198, allocations: 56.52 kB / 1.148 GB, free: 17 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/1.198, allocations: 49.69 kB / 1.148 GB, free: 16.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/1.198, allocations: 86.38 kB / 1.148 GB, free: 16.88 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.198, allocations: 0 / 1.148 GB, free: 16.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003474/1.198, allocations: 281.7 kB / 1.148 GB, free: 16.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/1.198, allocations: 37.12 kB / 1.148 GB, free: 16.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.198, allocations: 0 / 1.148 GB, free: 16.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/1.198, allocations: 4.469 kB / 1.148 GB, free: 16.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.625e-05/1.198, allocations: 9.125 kB / 1.148 GB, free: 16.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.198, allocations: 0.875 kB / 1.148 GB, free: 16.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/1.198, allocations: 21.72 kB / 1.148 GB, free: 16.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/1.198, allocations: 9.719 kB / 1.148 GB, free: 16.54 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 () * 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.0004394/1.199, allocations: 333.5 kB / 1.149 GB, free: 16.24 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/1.199, allocations: 63.89 kB / 1.149 GB, free: 16.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005427/1.2, allocations: 322.2 kB / 1.149 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/1.2, allocations: 3.953 kB / 1.149 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.2, allocations: 4 kB / 1.149 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/1.2, allocations: 0.6094 kB / 1.149 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/1.2, allocations: 375.6 kB / 1.149 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.2, allocations: 0 / 1.149 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/1.2, allocations: 9.969 kB / 1.149 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.2, allocations: 0 / 1.149 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/1.2, allocations: 4.656 kB / 1.149 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.2, allocations: 0.7031 kB / 1.149 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.2, allocations: 3.953 kB / 1.149 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/1.201, allocations: 337 kB / 1.15 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/1.201, allocations: 146.5 kB / 1.15 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/1.201, allocations: 6.125 kB / 1.15 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/1.201, allocations: 9.969 kB / 1.15 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/1.201, allocations: 5.922 kB / 1.15 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/1.201, allocations: 17.17 kB / 1.15 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007358/1.202, allocations: 0.5537 MB / 1.15 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/1.202, allocations: 0 / 1.15 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006505/1.202, allocations: 152.5 kB / 1.15 GB, free: 14.4 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) * 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.0007895/1.203, allocations: 360.8 kB / 1.151 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002752/1.204, allocations: 199.4 kB / 1.151 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.204, allocations: 0 / 1.151 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/1.204, allocations: 148.6 kB / 1.151 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/1.204, allocations: 99.64 kB / 1.151 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/1.206, allocations: 1.094 MB / 1.152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/1.206, allocations: 0.9807 MB / 1.153 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001189/1.206, allocations: 28.06 kB / 1.153 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/1.206, allocations: 15.38 kB / 1.153 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/1.206, allocations: 0 / 1.153 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.01292/1.219, allocations: 6.201 MB / 1.159 GB, free: 7.219 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)