Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008043/0.0008049, allocations: 90.75 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006443/0.006444, allocations: 172.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 252 MB / 0.5105 GB, free: 4.574 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005467/0.000547, allocations: 16 kB / 0.6249 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5468, allocations: 106.3 MB / 0.7287 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002417/0.5493, allocations: 1.816 MB / 0.7305 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002819/0.5521, allocations: 2.396 MB / 0.7329 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.5523, allocations: 0 / 0.7329 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.5535, allocations: 0.4999 MB / 0.7333 GB, free: 6.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.5538, allocations: 95.64 kB / 0.7334 GB, free: 6.387 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005863/0.5544, allocations: 197.3 kB / 0.7336 GB, free: 6.199 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.5548, allocations: 330.5 kB / 0.7339 GB, free: 5.875 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.5549, allocations: 64.73 kB / 0.734 GB, free: 5.809 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.5551, allocations: 115.3 kB / 0.7341 GB, free: 5.695 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.5553, allocations: 139.3 kB / 0.7342 GB, free: 5.559 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.5553, allocations: 0 / 0.7342 GB, free: 5.559 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.5555, allocations: 63.91 kB / 0.7343 GB, free: 5.496 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.5557, allocations: 123.5 kB / 0.7344 GB, free: 5.375 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.5559, allocations: 244.2 kB / 0.7347 GB, free: 5.129 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.5565, allocations: 0.646 MB / 0.7353 GB, free: 4.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5565, allocations: 0 / 0.7353 GB, free: 4.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5565, allocations: 0 / 0.7353 GB, free: 4.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.5565, allocations: 0 / 0.7353 GB, free: 4.48 MB / 0.545 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.001175/0.5577, allocations: 0.8023 MB / 0.7361 GB, free: 3.621 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.5578, allocations: 8.031 kB / 0.7361 GB, free: 3.613 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.403e-05/0.5579, allocations: 72.09 kB / 0.7361 GB, free: 3.543 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.5584, allocations: 420.3 kB / 0.7365 GB, free: 3.094 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.5585, allocations: 4.375 kB / 0.7365 GB, free: 3.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.5585, allocations: 8.125 kB / 0.7366 GB, free: 3.082 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.5587, allocations: 100.2 kB / 0.7367 GB, free: 2.969 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.5587, allocations: 0 / 0.7367 GB, free: 2.969 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.5587, allocations: 0 / 0.7367 GB, free: 2.969 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5588, allocations: 4 kB / 0.7367 GB, free: 2.965 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.5589, allocations: 43.97 kB / 0.7367 GB, free: 2.922 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007245/0.5596, allocations: 0.5199 MB / 0.7372 GB, free: 2.352 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.56, allocations: 98.64 kB / 0.7373 GB, free: 2.246 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.736e-05/0.5601, allocations: 36.84 kB / 0.7373 GB, free: 2.207 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.5601, allocations: 0 / 0.7373 GB, free: 2.207 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.5603, allocations: 95.38 kB / 0.7374 GB, free: 2.102 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.5603, allocations: 3.938 kB / 0.7374 GB, free: 2.098 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004038/0.5607, allocations: 188.8 kB / 0.7376 GB, free: 1.906 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.5609, allocations: 106.8 kB / 0.7377 GB, free: 1.777 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.5625, allocations: 0.8873 MB / 0.7386 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.5626, allocations: 25.7 kB / 0.7386 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/0.563, allocations: 300.1 kB / 0.7389 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.563, allocations: 19.7 kB / 0.7389 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.563, allocations: 17.72 kB / 0.7389 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5632, allocations: 309.9 kB / 0.7392 GB, free: 204 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.959e-05/0.5632, allocations: 35.92 kB / 0.7393 GB, free: 168 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.5634, allocations: 84.2 kB / 0.7393 GB, free: 68 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.5635, allocations: 69.69 kB / 0.7394 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5635, allocations: 0 / 0.7394 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000257/0.5638, allocations: 164.8 kB / 0.7396 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5638, allocations: 4 kB / 0.7396 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5638, allocations: 0 / 0.7396 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.5639, allocations: 4 kB / 0.7396 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.564, allocations: 24.02 kB / 0.7396 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.564, allocations: 400 / 0.7396 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.5641, allocations: 15.78 kB / 0.7396 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.5641, allocations: 0 / 0.7396 GB, free: 15.78 MB / 0.5606 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 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003042/0.5644, allocations: 324.2 kB / 0.7399 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.5645, allocations: 63.25 kB / 0.74 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.5646, allocations: 70 kB / 0.74 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5646, allocations: 0 / 0.74 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.001e-05/0.5647, allocations: 0 / 0.74 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.5647, allocations: 11.92 kB / 0.7401 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.5651, allocations: 385.4 kB / 0.7404 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5651, allocations: 4 kB / 0.7404 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.5651, allocations: 4 kB / 0.7404 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5652, allocations: 0 / 0.7404 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.5652, allocations: 7.984 kB / 0.7404 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5652, allocations: 3.938 kB / 0.7404 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5652, allocations: 0 / 0.7404 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.5655, allocations: 200.2 kB / 0.7406 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.5656, allocations: 136.3 kB / 0.7408 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.5657, allocations: 11.98 kB / 0.7408 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.5658, allocations: 4 kB / 0.7408 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.5659, allocations: 7.984 kB / 0.7408 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.5659, allocations: 3.938 kB / 0.7408 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009418/0.5669, allocations: 0.659 MB / 0.7414 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5669, allocations: 0 / 0.7414 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002948/0.5672, allocations: 60 kB / 0.7415 GB, free: 13.75 MB / 0.5606 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,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001163/0.5683, allocations: 428.3 kB / 0.7419 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.5686, allocations: 75.89 kB / 0.742 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5686, allocations: 0 / 0.742 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.5687, allocations: 31.98 kB / 0.742 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006591/0.5694, allocations: 138.9 kB / 0.7421 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.5709, allocations: 1.231 MB / 0.7433 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.5716, allocations: 0.9862 MB / 0.7443 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.5717, allocations: 42.58 kB / 0.7443 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.5718, allocations: 23.44 kB / 0.7444 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.5718, allocations: 0 / 0.7444 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.01134/0.5832, allocations: 5.428 MB / 0.7497 GB, free: 5.605 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) Environment - environmentSimulation: