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.SpeedSelect.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.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.615/1.615, allocations: 288.4 MB / 304.3 MB, free: 8.09 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.001084/0.001084, allocations: 176.6 kB / 372.9 MB, free: 10.14 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.552/1.552, allocations: 205.4 MB / 0.6317 GB, free: 9.824 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.0007752/0.0007753, allocations: 94.3 kB / 0.745 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.0004351, allocations: 17.2 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2078, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7079/0.9158, allocations: 146 MB / 1.123 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.9161, allocations: 106.3 kB / 1.123 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02736/0.9435, allocations: 12.74 MB / 1.136 GB, free: 29.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.424e-06/0.9435, allocations: 0 / 1.136 GB, free: 29.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.309e-05/0.9436, allocations: 11.75 kB / 1.136 GB, free: 29.07 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009776/0.9446, allocations: 0.8448 MB / 1.137 GB, free: 28.35 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.9446, allocations: 11.41 kB / 1.137 GB, free: 28.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.726e-05/0.9447, allocations: 70.89 kB / 1.137 GB, free: 28.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006069/0.9453, allocations: 0.4894 MB / 1.137 GB, free: 27.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.9454, allocations: 11.92 kB / 1.137 GB, free: 27.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.9454, allocations: 4.359 kB / 1.137 GB, free: 27.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.9456, allocations: 93.77 kB / 1.137 GB, free: 27.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.9456, allocations: 192 / 1.137 GB, free: 27.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.9456, allocations: 11.28 kB / 1.137 GB, free: 27.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.9456, allocations: 0 / 1.137 GB, free: 27.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.9457, allocations: 48.91 kB / 1.137 GB, free: 27.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006636/0.9464, allocations: 0.5428 MB / 1.138 GB, free: 27.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.9468, allocations: 104.6 kB / 1.138 GB, free: 27.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.701e-05/0.9468, allocations: 32.5 kB / 1.138 GB, free: 27.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.9469, allocations: 7.844 kB / 1.138 GB, free: 27.44 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.947, allocations: 83.53 kB / 1.138 GB, free: 27.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.947, allocations: 0 / 1.138 GB, free: 27.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003517/0.9474, allocations: 196.5 kB / 1.138 GB, free: 27.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/0.9475, allocations: 110.2 kB / 1.138 GB, free: 27.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008351/0.9483, allocations: 0.8788 MB / 1.139 GB, free: 26.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.9484, allocations: 33.58 kB / 1.139 GB, free: 26.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.9486, allocations: 299.9 kB / 1.14 GB, free: 26.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.9486, allocations: 15.59 kB / 1.14 GB, free: 26.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-06/0.9486, allocations: 3.875 kB / 1.14 GB, free: 26.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.9488, allocations: 313.9 kB / 1.14 GB, free: 26.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.917e-05/0.9488, allocations: 30.17 kB / 1.14 GB, free: 26.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.376e-05/0.9489, allocations: 83.89 kB / 1.14 GB, free: 26.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.9491, allocations: 81.17 kB / 1.14 GB, free: 26.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9491, allocations: 0 / 1.14 GB, free: 26.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002214/0.9493, allocations: 158.7 kB / 1.14 GB, free: 26.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.9493, allocations: 3.812 kB / 1.14 GB, free: 26.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.9494, allocations: 3.984 kB / 1.14 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.9494, allocations: 7.875 kB / 1.14 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.571e-05/0.9495, allocations: 15.47 kB / 1.14 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.9495, allocations: 7.969 kB / 1.14 GB, free: 26.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.9496, allocations: 7.828 kB / 1.14 GB, free: 26.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.9496, allocations: 3.656 kB / 1.14 GB, free: 26.26 MB / 0.698 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.0002992/0.9499, allocations: 320.8 kB / 1.141 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.95, allocations: 65.69 kB / 1.141 GB, free: 26.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.9503, allocations: 187 kB / 1.141 GB, free: 25.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.9503, allocations: 7.781 kB / 1.141 GB, free: 25.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9503, allocations: 4 kB / 1.141 GB, free: 25.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.9503, allocations: 3.984 kB / 1.141 GB, free: 25.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.9506, allocations: 397 kB / 1.141 GB, free: 25.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.9507, allocations: 0 / 1.141 GB, free: 25.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/0.9507, allocations: 11.14 kB / 1.141 GB, free: 25.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.9507, allocations: 0 / 1.141 GB, free: 25.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.9507, allocations: 3.844 kB / 1.141 GB, free: 25.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9507, allocations: 0 / 1.141 GB, free: 25.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9507, allocations: 0 / 1.141 GB, free: 25.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.951, allocations: 211.4 kB / 1.141 GB, free: 25.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.9511, allocations: 146.4 kB / 1.142 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.9512, allocations: 0 / 1.142 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.9513, allocations: 11.3 kB / 1.142 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.9514, allocations: 7.797 kB / 1.142 GB, free: 25.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.9514, allocations: 3.875 kB / 1.142 GB, free: 25.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006208/0.952, allocations: 0.6511 MB / 1.142 GB, free: 25.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.952, allocations: 0 / 1.142 GB, free: 25.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003449/0.9524, allocations: 86.67 kB / 1.142 GB, free: 25.24 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: 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.00115/0.9535, allocations: 0.576 MB / 1.143 GB, free: 24.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.9538, allocations: 102.7 kB / 1.143 GB, free: 24.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.9538, allocations: 0 / 1.143 GB, free: 24.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.9539, allocations: 40.97 kB / 1.143 GB, free: 24.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006267/0.9545, allocations: 136.3 kB / 1.143 GB, free: 24.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.9558, allocations: 1.183 MB / 1.144 GB, free: 24.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.9563, allocations: 0.9817 MB / 1.145 GB, free: 23.51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.9565, allocations: 41.52 kB / 1.145 GB, free: 23.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.9566, allocations: 34.42 kB / 1.145 GB, free: 23.48 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/0.9566, allocations: 4 kB / 1.145 GB, free: 23.48 MB / 0.698 GB Notification: Performance of Templates: time 0.01094/0.9675, allocations: 6.981 MB / 1.152 GB, free: 20.01 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)