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.669/1.669, allocations: 289.7 MB / 302.2 MB, free: 2.121 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.001106/0.001106, allocations: 183.1 kB / 371.6 MB, free: 3.398 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.859/1.859, allocations: 205.1 MB / 0.6309 GB, free: 11.72 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.001084/0.001084, allocations: 88.23 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.149e-05/4.151e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2868, allocations: 116.3 MB / 0.9798 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9262/1.213, allocations: 146.8 MB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/1.213, allocations: 94.23 kB / 1.123 GB, free: 38.81 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02738/1.241, allocations: 12.68 MB / 1.136 GB, free: 31.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.553e-06/1.241, allocations: 0 / 1.136 GB, free: 31.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.152e-05/1.241, allocations: 8 kB / 1.136 GB, free: 31.32 MB / 0.7448 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.0007673/1.242, allocations: 0.7096 MB / 1.136 GB, free: 30.63 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.242, allocations: 11.45 kB / 1.136 GB, free: 30.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.863e-05/1.242, allocations: 68.88 kB / 1.136 GB, free: 30.55 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006693/1.242, allocations: 465.7 kB / 1.137 GB, free: 30.13 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/1.242, allocations: 4.109 kB / 1.137 GB, free: 30.13 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/1.242, allocations: 7.312 kB / 1.137 GB, free: 30.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/1.243, allocations: 93.2 kB / 1.137 GB, free: 30.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.243, allocations: 1.125 kB / 1.137 GB, free: 30.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/1.243, allocations: 0 / 1.137 GB, free: 30.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.243, allocations: 4 kB / 1.137 GB, free: 30.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.701e-05/1.243, allocations: 48.22 kB / 1.137 GB, free: 30.01 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/1.243, allocations: 0.5364 MB / 1.138 GB, free: 29.6 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/1.244, allocations: 101.9 kB / 1.138 GB, free: 29.53 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.349e-05/1.244, allocations: 31.86 kB / 1.138 GB, free: 29.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/1.244, allocations: 0 / 1.138 GB, free: 29.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/1.244, allocations: 84.67 kB / 1.138 GB, free: 29.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/1.244, allocations: 0 / 1.138 GB, free: 29.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002636/1.244, allocations: 167.6 kB / 1.138 GB, free: 29.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/1.244, allocations: 103.4 kB / 1.138 GB, free: 29.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008544/1.245, allocations: 0.7946 MB / 1.139 GB, free: 28.63 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/1.245, allocations: 25.7 kB / 1.139 GB, free: 28.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/1.245, allocations: 300.6 kB / 1.139 GB, free: 28.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/1.245, allocations: 23.36 kB / 1.139 GB, free: 28.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-06/1.245, allocations: 4 kB / 1.139 GB, free: 28.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.407e-05/1.246, allocations: 314.2 kB / 1.139 GB, free: 28.15 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.515e-05/1.246, allocations: 27.06 kB / 1.14 GB, free: 28.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.565e-05/1.246, allocations: 77.81 kB / 1.14 GB, free: 28.06 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.389e-05/1.246, allocations: 28.53 kB / 1.14 GB, free: 28.05 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.246, allocations: 4 kB / 1.14 GB, free: 28.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001831/1.246, allocations: 163.3 kB / 1.14 GB, free: 27.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.246, allocations: 8.172 kB / 1.14 GB, free: 27.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.246, allocations: 0 / 1.14 GB, free: 27.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.246, allocations: 4 kB / 1.14 GB, free: 27.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.009e-05/1.246, allocations: 14.7 kB / 1.14 GB, free: 27.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/1.246, allocations: 5.016 kB / 1.14 GB, free: 27.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/1.246, allocations: 12.12 kB / 1.14 GB, free: 27.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/1.246, allocations: 3.953 kB / 1.14 GB, free: 27.87 MB / 0.7448 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 () * 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 6.405e-05/1.246, allocations: 122.8 kB / 1.14 GB, free: 27.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/1.246, allocations: 59.25 kB / 1.14 GB, free: 27.69 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/1.247, allocations: 177 kB / 1.14 GB, free: 27.56 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.247, allocations: 4.609 kB / 1.14 GB, free: 27.56 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.247, allocations: 0 / 1.14 GB, free: 27.56 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.247, allocations: 5.062 kB / 1.14 GB, free: 27.55 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/1.247, allocations: 404 kB / 1.141 GB, free: 27.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.247, allocations: 0.8125 kB / 1.141 GB, free: 27.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/1.247, allocations: 5.406 kB / 1.141 GB, free: 27.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.247, allocations: 8.609 kB / 1.141 GB, free: 27.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/1.247, allocations: 4.5 kB / 1.141 GB, free: 27.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.247, allocations: 2.688 kB / 1.141 GB, free: 27.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.247, allocations: 0 / 1.141 GB, free: 27.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/1.247, allocations: 199.2 kB / 1.141 GB, free: 27.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/1.248, allocations: 148.1 kB / 1.141 GB, free: 26.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/1.248, allocations: 4.016 kB / 1.141 GB, free: 26.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/1.248, allocations: 9.781 kB / 1.141 GB, free: 26.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/1.248, allocations: 7.797 kB / 1.141 GB, free: 26.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/1.248, allocations: 8.297 kB / 1.141 GB, free: 26.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007467/1.249, allocations: 0.6436 MB / 1.142 GB, free: 26.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/1.249, allocations: 0 / 1.142 GB, free: 26.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003621/1.249, allocations: 84.5 kB / 1.142 GB, free: 26.41 MB / 0.7448 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) * 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.00118/1.25, allocations: 0.5291 MB / 1.142 GB, free: 26.03 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002068/1.25, allocations: 90.77 kB / 1.142 GB, free: 25.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.25, allocations: 0 / 1.142 GB, free: 25.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.134e-05/1.25, allocations: 42.08 kB / 1.142 GB, free: 25.94 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006153/1.251, allocations: 138 kB / 1.142 GB, free: 25.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/1.252, allocations: 0.8679 MB / 1.143 GB, free: 25.2 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/1.253, allocations: 0.99 MB / 1.144 GB, free: 24.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000151/1.253, allocations: 45.19 kB / 1.144 GB, free: 24.31 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/1.253, allocations: 29.11 kB / 1.144 GB, free: 24.29 MB / 0.7448 GB Notification: Performance of SimCode: time 3.21e-07/1.253, allocations: 0 / 1.144 GB, free: 24.29 MB / 0.7448 GB Notification: Performance of Templates: time 0.01529/1.268, allocations: 7.139 MB / 1.151 GB, free: 20.16 MB / 0.7448 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)