Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.715/1.715, allocations: 293 MB / 309 MB, free: 4.809 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.001364/0.001364, allocations: 179.7 kB / 378.7 MB, free: 1.039 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.729/1.729, allocations: 205.4 MB / 0.6383 GB, free: 8.23 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.0008818/0.0008818, allocations: 93.95 kB / 0.7527 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.000429, allocations: 16 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2814, allocations: 116.4 MB / 0.9905 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.759/1.04, allocations: 147 MB / 1.134 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/1.041, allocations: 101.4 kB / 1.134 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03397/1.075, allocations: 12.75 MB / 1.147 GB, free: 19.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.116e-06/1.075, allocations: 0.5625 kB / 1.147 GB, free: 19.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.521e-05/1.075, allocations: 8 kB / 1.147 GB, free: 19.3 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001446/1.076, allocations: 0.8598 MB / 1.147 GB, free: 18.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.076, allocations: 8.031 kB / 1.147 GB, free: 18.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/1.077, allocations: 69.95 kB / 1.148 GB, free: 18.35 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000798/1.077, allocations: 499.2 kB / 1.148 GB, free: 17.87 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/1.077, allocations: 5.219 kB / 1.148 GB, free: 17.87 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/1.077, allocations: 8.938 kB / 1.148 GB, free: 17.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/1.078, allocations: 99.31 kB / 1.148 GB, free: 17.76 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/1.078, allocations: 1.312 kB / 1.148 GB, free: 17.76 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/1.078, allocations: 3.938 kB / 1.148 GB, free: 17.76 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/1.078, allocations: 4 kB / 1.148 GB, free: 17.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/1.078, allocations: 48.05 kB / 1.148 GB, free: 17.71 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000931/1.079, allocations: 0.5444 MB / 1.149 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/1.079, allocations: 99.69 kB / 1.149 GB, free: 17.11 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.107e-05/1.079, allocations: 42.12 kB / 1.149 GB, free: 17.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/1.079, allocations: 0 / 1.149 GB, free: 17.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/1.08, allocations: 88.45 kB / 1.149 GB, free: 16.99 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.454e-06/1.08, allocations: 0 / 1.149 GB, free: 16.99 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004504/1.08, allocations: 196.9 kB / 1.149 GB, free: 16.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/1.08, allocations: 104.4 kB / 1.149 GB, free: 16.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/1.081, allocations: 0.8818 MB / 1.15 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/1.081, allocations: 29.7 kB / 1.15 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/1.082, allocations: 300.7 kB / 1.15 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/1.082, allocations: 17.06 kB / 1.15 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/1.082, allocations: 8 kB / 1.15 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.332e-05/1.082, allocations: 315.5 kB / 1.151 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.71e-05/1.082, allocations: 28.55 kB / 1.151 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/1.082, allocations: 82.66 kB / 1.151 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/1.082, allocations: 73.33 kB / 1.151 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.082, allocations: 4 kB / 1.151 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003362/1.083, allocations: 168.1 kB / 1.151 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.083, allocations: 4 kB / 1.151 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.083, allocations: 4 kB / 1.151 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/1.083, allocations: 1.594 kB / 1.151 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/1.083, allocations: 19.06 kB / 1.151 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/1.083, allocations: 0 / 1.151 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/1.083, allocations: 9.828 kB / 1.151 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/1.083, allocations: 4.609 kB / 1.151 GB, free: 14.9 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,speSel.stage,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0004257/1.083, allocations: 324 kB / 1.151 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/1.083, allocations: 67.77 kB / 1.151 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/1.084, allocations: 188.9 kB / 1.152 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.084, allocations: 0 / 1.152 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.084, allocations: 0.6562 kB / 1.152 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.084, allocations: 0.75 kB / 1.152 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/1.084, allocations: 397.7 kB / 1.152 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.084, allocations: 0 / 1.152 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/1.084, allocations: 13.88 kB / 1.152 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.084, allocations: 0 / 1.152 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/1.084, allocations: 5 kB / 1.152 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.084, allocations: 0 / 1.152 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.084, allocations: 1.312 kB / 1.152 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/1.085, allocations: 201.6 kB / 1.152 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/1.085, allocations: 144.9 kB / 1.152 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/1.085, allocations: 8 kB / 1.152 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/1.085, allocations: 10.16 kB / 1.152 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/1.085, allocations: 16.81 kB / 1.152 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/1.085, allocations: 1.312 kB / 1.152 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008438/1.086, allocations: 0.6504 MB / 1.153 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.086, allocations: 0 / 1.153 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004491/1.086, allocations: 87.12 kB / 1.153 GB, free: 13 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: 4 ($whenCondition1,speSel.stage,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001402/1.088, allocations: 0.5785 MB / 1.154 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002685/1.088, allocations: 93.42 kB / 1.154 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.088, allocations: 0 / 1.154 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.268e-05/1.088, allocations: 41.95 kB / 1.154 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007091/1.089, allocations: 141.7 kB / 1.154 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/1.091, allocations: 1.179 MB / 1.155 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/1.091, allocations: 0.983 MB / 1.156 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001894/1.091, allocations: 42.84 kB / 1.156 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/1.091, allocations: 28.84 kB / 1.156 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.091, allocations: 0 / 1.156 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of Templates: time 0.01314/1.104, allocations: 6.973 MB / 1.163 GB, free: 4.898 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)