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.001049/0.001048, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001026/0.001026, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.562/1.562, allocations: 251.9 MB / 0.51 GB, free: 4.828 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.0005719/0.0005723, allocations: 12 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5612/0.5618, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002703/0.5645, allocations: 1.742 MB / 0.7297 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003229/0.5678, allocations: 2.114 MB / 0.7318 GB, free: 7.578 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.568, allocations: 4 kB / 0.7318 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.5696, allocations: 0.514 MB / 0.7323 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.5699, allocations: 99.66 kB / 0.7324 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.5705, allocations: 178.5 kB / 0.7325 GB, free: 6.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005494/0.571, allocations: 289.5 kB / 0.7328 GB, free: 6.508 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.5712, allocations: 56.73 kB / 0.7329 GB, free: 6.449 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.5714, allocations: 127.4 kB / 0.733 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.5716, allocations: 131.3 kB / 0.7331 GB, free: 6.195 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.5716, allocations: 0 / 0.7331 GB, free: 6.195 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.5717, allocations: 43.98 kB / 0.7331 GB, free: 6.152 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.572, allocations: 123.5 kB / 0.7333 GB, free: 6.031 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.5721, allocations: 125.4 kB / 0.7334 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.5726, allocations: 0.5319 MB / 0.7339 GB, free: 5.371 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.5726, allocations: 0 / 0.7339 GB, free: 5.371 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5726, allocations: 0 / 0.7339 GB, free: 5.371 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.5726, allocations: 0 / 0.7339 GB, free: 5.371 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.001261/0.5739, allocations: 0.8022 MB / 0.7347 GB, free: 4.512 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.5739, allocations: 12.03 kB / 0.7347 GB, free: 4.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.944e-05/0.574, allocations: 67.16 kB / 0.7348 GB, free: 4.434 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.5745, allocations: 395.6 kB / 0.7351 GB, free: 4.008 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.5746, allocations: 4 kB / 0.7351 GB, free: 4.004 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.5746, allocations: 7.984 kB / 0.7351 GB, free: 3.996 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.5748, allocations: 96.17 kB / 0.7352 GB, free: 3.887 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.5748, allocations: 0 / 0.7352 GB, free: 3.887 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.5749, allocations: 4 kB / 0.7352 GB, free: 3.883 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.5749, allocations: 7.953 kB / 0.7352 GB, free: 3.875 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.575, allocations: 47.91 kB / 0.7353 GB, free: 3.828 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007622/0.5758, allocations: 0.5122 MB / 0.7358 GB, free: 3.266 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.5762, allocations: 102.7 kB / 0.7359 GB, free: 3.156 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.5762, allocations: 4 kB / 0.7359 GB, free: 3.152 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.5764, allocations: 95.39 kB / 0.736 GB, free: 3.047 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.5764, allocations: 0 / 0.736 GB, free: 3.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004064/0.5768, allocations: 192.8 kB / 0.7362 GB, free: 2.852 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.5769, allocations: 106.8 kB / 0.7363 GB, free: 2.723 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.5781, allocations: 0.8794 MB / 0.7371 GB, free: 1.832 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.5781, allocations: 29.7 kB / 0.7372 GB, free: 1.797 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.5784, allocations: 300.1 kB / 0.7374 GB, free: 1.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.5784, allocations: 23.73 kB / 0.7375 GB, free: 1.477 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.5784, allocations: 0 / 0.7375 GB, free: 1.477 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5786, allocations: 310 kB / 0.7378 GB, free: 1.168 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.5786, allocations: 27.98 kB / 0.7378 GB, free: 1.141 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.5787, allocations: 72.27 kB / 0.7379 GB, free: 1.055 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.169e-05/0.5788, allocations: 35.94 kB / 0.7379 GB, free: 1.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5788, allocations: 0 / 0.7379 GB, free: 1.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002578/0.5791, allocations: 164.8 kB / 0.7381 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.5791, allocations: 9.828 kB / 0.7381 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.5791, allocations: 0 / 0.7381 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.5792, allocations: 0 / 0.7381 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.5793, allocations: 19.92 kB / 0.7381 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.5793, allocations: 4 kB / 0.7381 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.5794, allocations: 8.031 kB / 0.7381 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.078e-06/0.5794, allocations: 0 / 0.7381 GB, free: 0.8125 MB / 0.545 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,sta.y,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.0003271/0.5797, allocations: 322.8 kB / 0.7384 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.5798, allocations: 67.16 kB / 0.7385 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.5799, allocations: 74.14 kB / 0.7385 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.5799, allocations: 0 / 0.7385 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5799, allocations: 3.938 kB / 0.7385 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.58, allocations: 0 / 0.7385 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.5804, allocations: 389.4 kB / 0.7389 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5804, allocations: 4 kB / 0.7389 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.823e-05/0.5804, allocations: 8 kB / 0.7389 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.5804, allocations: 0 / 0.7389 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.5804, allocations: 3.938 kB / 0.7389 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.5805, allocations: 11.94 kB / 0.7389 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5805, allocations: 3.938 kB / 0.7389 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.5808, allocations: 184.6 kB / 0.7391 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.5809, allocations: 140.2 kB / 0.7392 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.581, allocations: 8 kB / 0.7393 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.5811, allocations: 7.984 kB / 0.7393 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.5812, allocations: 11.94 kB / 0.7393 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.5812, allocations: 4 kB / 0.7393 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007454/0.5819, allocations: 0.6512 MB / 0.7399 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.582, allocations: 0 / 0.7399 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002908/0.5823, allocations: 60 kB / 0.74 GB, free: 14.79 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 (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.0009769/0.5832, allocations: 433.8 kB / 0.7404 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.5835, allocations: 71.91 kB / 0.7405 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5835, allocations: 0 / 0.7405 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.906e-05/0.5836, allocations: 39.91 kB / 0.7405 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.5841, allocations: 138.9 kB / 0.7406 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.5859, allocations: 1.169 MB / 0.7418 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/0.5865, allocations: 0.9901 MB / 0.7427 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.5867, allocations: 34.3 kB / 0.7428 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.5867, allocations: 27.42 kB / 0.7428 GB, free: 12 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5867, allocations: 0 / 0.7428 GB, free: 12 MB / 0.5606 GB Notification: Performance of Templates: time 0.01186/0.5986, allocations: 5.265 MB / 0.7479 GB, free: 6.859 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: