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.683/1.683, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001363/0.001363, allocations: 176.9 kB / 361.4 MB, free: 6.824 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.746/1.746, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0009767/0.0009762, allocations: 92.2 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.968e-05/1.969e-05, allocations: 4 kB / 0.8518 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7206/0.7206, allocations: 115.3 MB / 0.9644 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2007/0.9214, allocations: 145.2 MB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.9217, allocations: 96.62 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03092/0.9526, allocations: 12.53 MB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9527, allocations: 0 / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.961e-05/0.9527, allocations: 8 kB / 1.119 GB, free: 14.02 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.0009903/0.9537, allocations: 0.7091 MB / 1.119 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.9538, allocations: 8.688 kB / 1.119 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.9539, allocations: 72.28 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007896/0.9547, allocations: 463.5 kB / 1.12 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.9548, allocations: 0 / 1.12 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.9548, allocations: 4 kB / 1.12 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001003/0.9549, allocations: 39.98 kB / 1.12 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.955, allocations: 92.83 kB / 1.12 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.9551, allocations: 0 / 1.12 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.9551, allocations: 4 kB / 1.12 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.9551, allocations: 3.469 kB / 1.12 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00075/0.9558, allocations: 0.5127 MB / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.9562, allocations: 98.44 kB / 1.12 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.9562, allocations: 36.97 kB / 1.121 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.9562, allocations: 0 / 1.121 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.9564, allocations: 79.39 kB / 1.121 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.9564, allocations: 0 / 1.121 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002988/0.9567, allocations: 160.8 kB / 1.121 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.9568, allocations: 102.8 kB / 1.121 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009213/0.9577, allocations: 0.7499 MB / 1.122 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.9577, allocations: 29.7 kB / 1.122 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.958, allocations: 304.1 kB / 1.122 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.958, allocations: 19.66 kB / 1.122 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.958, allocations: 0 / 1.122 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.9581, allocations: 313.9 kB / 1.122 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.64e-05/0.9582, allocations: 31.92 kB / 1.122 GB, free: 10 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.029e-05/0.9583, allocations: 72.27 kB / 1.122 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.725e-05/0.9584, allocations: 35.98 kB / 1.122 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.9584, allocations: 0 / 1.122 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002193/0.9586, allocations: 159.3 kB / 1.122 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.9586, allocations: 4.781 kB / 1.122 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.9586, allocations: 4 kB / 1.122 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.9586, allocations: 0 / 1.122 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/0.9587, allocations: 15.98 kB / 1.123 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.9588, allocations: 0 / 1.123 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.9589, allocations: 11.94 kB / 1.123 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.9589, allocations: 4 kB / 1.123 GB, free: 9.68 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 () * 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 8.215e-05/0.959, allocations: 111.4 kB / 1.123 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.9591, allocations: 59.25 kB / 1.123 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.9593, allocations: 183.7 kB / 1.123 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.9594, allocations: 0 / 1.123 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.9594, allocations: 0 / 1.123 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.9594, allocations: 1.406 kB / 1.123 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.9597, allocations: 377.8 kB / 1.123 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9597, allocations: 4 kB / 1.123 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.097e-05/0.9598, allocations: 8 kB / 1.123 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.9598, allocations: 0 / 1.123 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.9598, allocations: 11.92 kB / 1.123 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.9598, allocations: 0 / 1.123 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.9598, allocations: 0 / 1.123 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.9601, allocations: 188.3 kB / 1.123 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.9602, allocations: 144.2 kB / 1.124 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/0.9603, allocations: 8.047 kB / 1.124 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.9604, allocations: 15.47 kB / 1.124 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.9605, allocations: 11.98 kB / 1.124 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.9605, allocations: 0 / 1.124 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007261/0.9612, allocations: 0.6084 MB / 1.124 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9612, allocations: 1.969 kB / 1.124 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003326/0.9616, allocations: 79.92 kB / 1.124 GB, free: 7.809 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) * 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.001123/0.9627, allocations: 0.5178 MB / 1.125 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.9629, allocations: 83.95 kB / 1.125 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9629, allocations: 0 / 1.125 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.558e-05/0.963, allocations: 39.92 kB / 1.125 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.9636, allocations: 135.8 kB / 1.125 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.9649, allocations: 0.8684 MB / 1.126 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.9655, allocations: 0.9871 MB / 1.127 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.9657, allocations: 46.05 kB / 1.127 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.9657, allocations: 19.44 kB / 1.127 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.9657, allocations: 0 / 1.127 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of Templates: time 0.01131/0.9771, allocations: 5.736 MB / 1.133 GB, free: 15.56 MB / 0.7448 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)