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.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.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.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001139/0.001139, allocations: 181.1 kB / 377.1 MB, free: 1.551 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.744/1.744, allocations: 205.4 MB / 0.6367 GB, free: 8.637 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.0009037/0.0009037, allocations: 99.31 kB / 0.751 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003719, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2939, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8809/1.175, allocations: 146.9 MB / 1.132 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003716/1.175, allocations: 98.75 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03319/1.208, allocations: 12.72 MB / 1.144 GB, free: 20.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.924e-06/1.209, allocations: 0.5156 kB / 1.144 GB, free: 20.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.446e-05/1.209, allocations: 8 kB / 1.144 GB, free: 20.24 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.001129/1.21, allocations: 0.856 MB / 1.145 GB, free: 19.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/1.21, allocations: 12.03 kB / 1.145 GB, free: 19.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.121e-05/1.21, allocations: 65.22 kB / 1.145 GB, free: 19.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/1.211, allocations: 475.9 kB / 1.146 GB, free: 18.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/1.211, allocations: 0.7031 kB / 1.146 GB, free: 18.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/1.211, allocations: 7.438 kB / 1.146 GB, free: 18.84 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/1.211, allocations: 95.14 kB / 1.146 GB, free: 18.74 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.211, allocations: 0 / 1.146 GB, free: 18.74 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/1.211, allocations: 12.61 kB / 1.146 GB, free: 18.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/1.211, allocations: 1.688 kB / 1.146 GB, free: 18.73 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/1.211, allocations: 48.28 kB / 1.146 GB, free: 18.69 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008247/1.212, allocations: 0.5247 MB / 1.146 GB, free: 18.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/1.212, allocations: 106.9 kB / 1.147 GB, free: 18.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/1.212, allocations: 0 / 1.147 GB, free: 18.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/1.213, allocations: 93.27 kB / 1.147 GB, free: 18.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.515e-06/1.213, allocations: 8.484 kB / 1.147 GB, free: 18.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004078/1.213, allocations: 197.1 kB / 1.147 GB, free: 17.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/1.213, allocations: 107.4 kB / 1.147 GB, free: 17.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/1.214, allocations: 0.7876 MB / 1.148 GB, free: 17.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/1.214, allocations: 29.7 kB / 1.148 GB, free: 16.99 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/1.214, allocations: 304.2 kB / 1.148 GB, free: 16.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/1.214, allocations: 22.47 kB / 1.148 GB, free: 16.69 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/1.214, allocations: 0 / 1.148 GB, free: 16.69 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.641e-05/1.214, allocations: 315 kB / 1.148 GB, free: 16.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.436e-05/1.215, allocations: 24.97 kB / 1.148 GB, free: 16.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/1.215, allocations: 90.8 kB / 1.148 GB, free: 16.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.288e-05/1.215, allocations: 35.91 kB / 1.148 GB, free: 16.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.215, allocations: 0 / 1.148 GB, free: 16.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002443/1.215, allocations: 163.1 kB / 1.149 GB, free: 16.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.215, allocations: 4.609 kB / 1.149 GB, free: 16.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/1.215, allocations: 0 / 1.149 GB, free: 16.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/1.215, allocations: 4 kB / 1.149 GB, free: 16.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/1.215, allocations: 18.66 kB / 1.149 GB, free: 16.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/1.215, allocations: 4.781 kB / 1.149 GB, free: 16.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/1.215, allocations: 9.312 kB / 1.149 GB, free: 16.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/1.215, allocations: 5.641 kB / 1.149 GB, free: 16.04 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.000357/1.216, allocations: 315.8 kB / 1.149 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/1.216, allocations: 67.86 kB / 1.149 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/1.216, allocations: 188.9 kB / 1.149 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/1.216, allocations: 0 / 1.149 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.216, allocations: 0 / 1.149 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.216, allocations: 4.797 kB / 1.149 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/1.217, allocations: 396.2 kB / 1.15 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.217, allocations: 4.938 kB / 1.15 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/1.217, allocations: 13.59 kB / 1.15 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/1.217, allocations: 1.641 kB / 1.15 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/1.217, allocations: 0.6094 kB / 1.15 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/1.217, allocations: 4.781 kB / 1.15 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.217, allocations: 0.6094 kB / 1.15 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/1.217, allocations: 204.5 kB / 1.15 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/1.217, allocations: 144 kB / 1.15 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/1.217, allocations: 9.578 kB / 1.15 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/1.217, allocations: 6.484 kB / 1.15 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/1.217, allocations: 11.45 kB / 1.15 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/1.217, allocations: 4.703 kB / 1.15 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008772/1.218, allocations: 0.6485 MB / 1.151 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2e-07/1.218, allocations: 0 / 1.151 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004049/1.219, allocations: 86.52 kB / 1.151 GB, free: 14.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.001288/1.22, allocations: 0.5779 MB / 1.151 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002683/1.22, allocations: 99.72 kB / 1.151 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.22, allocations: 0.5156 kB / 1.151 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/1.22, allocations: 41.58 kB / 1.151 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/1.221, allocations: 135.9 kB / 1.152 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/1.223, allocations: 1.191 MB / 1.153 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/1.223, allocations: 0.9927 MB / 1.154 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001668/1.223, allocations: 38.33 kB / 1.154 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/1.223, allocations: 24.75 kB / 1.154 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of SimCode: time 6.22e-07/1.223, allocations: 4 kB / 1.154 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.01413/1.237, allocations: 6.87 MB / 1.16 GB, free: 6.359 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)