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.0007969/0.0007968, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0007516/0.0007516, allocations: 172.7 kB / 15.95 MB, free: 208 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.555/1.555, 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.636/1.636, allocations: 252 MB / 0.5102 GB, free: 4.766 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.0009376/0.0009379, allocations: 20 kB / 0.6243 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5671/0.568, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002837/0.5709, allocations: 1.77 MB / 0.7299 GB, free: 9.629 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003112/0.574, allocations: 2.25 MB / 0.7321 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.5742, allocations: 3.938 kB / 0.7321 GB, free: 7.363 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.5754, allocations: 496 kB / 0.7325 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.5757, allocations: 91.58 kB / 0.7326 GB, free: 6.789 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.5763, allocations: 181.6 kB / 0.7328 GB, free: 6.617 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.5767, allocations: 310.5 kB / 0.7331 GB, free: 6.312 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.5769, allocations: 60.72 kB / 0.7332 GB, free: 6.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.577, allocations: 123.4 kB / 0.7333 GB, free: 6.129 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.5772, allocations: 131.4 kB / 0.7334 GB, free: 6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.5772, allocations: 0 / 0.7334 GB, free: 6 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.5774, allocations: 55.89 kB / 0.7335 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.5776, allocations: 115.6 kB / 0.7336 GB, free: 5.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.5777, allocations: 121.4 kB / 0.7337 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.5782, allocations: 0.5455 MB / 0.7342 GB, free: 5.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.5783, allocations: 0 / 0.7342 GB, free: 5.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.532e-06/0.5783, allocations: 0 / 0.7342 GB, free: 5.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.5783, allocations: 4 kB / 0.7342 GB, free: 5.156 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.001127/0.5794, allocations: 0.7944 MB / 0.735 GB, free: 4.305 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.5795, allocations: 12.03 kB / 0.735 GB, free: 4.293 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.979e-05/0.5796, allocations: 67.16 kB / 0.7351 GB, free: 4.227 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.5801, allocations: 391.6 kB / 0.7354 GB, free: 3.805 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.5801, allocations: 8 kB / 0.7355 GB, free: 3.797 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.5801, allocations: 7.938 kB / 0.7355 GB, free: 3.789 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.5803, allocations: 104.2 kB / 0.7356 GB, free: 3.672 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.5804, allocations: 0 / 0.7356 GB, free: 3.672 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.5804, allocations: 0 / 0.7356 GB, free: 3.672 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.5804, allocations: 7.953 kB / 0.7356 GB, free: 3.664 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.5806, allocations: 35.98 kB / 0.7356 GB, free: 3.629 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007899/0.5814, allocations: 0.5161 MB / 0.7361 GB, free: 3.062 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.5818, allocations: 106.7 kB / 0.7362 GB, free: 2.949 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.5818, allocations: 32.84 kB / 0.7362 GB, free: 2.914 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.5819, allocations: 7.984 kB / 0.7362 GB, free: 2.906 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.5821, allocations: 83.36 kB / 0.7363 GB, free: 2.812 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.5821, allocations: 8 kB / 0.7363 GB, free: 2.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004058/0.5825, allocations: 184.9 kB / 0.7365 GB, free: 2.617 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.5826, allocations: 106.8 kB / 0.7366 GB, free: 2.488 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.5836, allocations: 0.8871 MB / 0.7375 GB, free: 1.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.5837, allocations: 25.7 kB / 0.7375 GB, free: 1.559 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.5839, allocations: 308 kB / 0.7378 GB, free: 1.254 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.584, allocations: 11.75 kB / 0.7378 GB, free: 1.242 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.584, allocations: 4 kB / 0.7378 GB, free: 1.238 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5841, allocations: 318 kB / 0.7381 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.5842, allocations: 23.98 kB / 0.7381 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.5843, allocations: 72.28 kB / 0.7382 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.57e-05/0.5844, allocations: 31.98 kB / 0.7382 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5844, allocations: 0 / 0.7382 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002657/0.5847, allocations: 173 kB / 0.7384 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.5847, allocations: 8 kB / 0.7384 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.5847, allocations: 3.984 kB / 0.7384 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5848, allocations: 0 / 0.7384 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.5848, allocations: 12 kB / 0.7384 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.5849, allocations: 4.062 kB / 0.7384 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.585, allocations: 7.984 kB / 0.7384 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.585, allocations: 4 kB / 0.7384 GB, free: 0.5664 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.000341/0.5853, allocations: 325.6 kB / 0.7388 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.5854, allocations: 71.11 kB / 0.7388 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.5855, allocations: 73.98 kB / 0.7389 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5855, allocations: 4 kB / 0.7389 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5856, allocations: 0 / 0.7389 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5856, allocations: 0 / 0.7389 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.586, allocations: 377.5 kB / 0.7393 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.586, allocations: 0 / 0.7393 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.586, allocations: 7.984 kB / 0.7393 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.5861, allocations: 4 kB / 0.7393 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.5861, allocations: 3.953 kB / 0.7393 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5861, allocations: 4 kB / 0.7393 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5861, allocations: 0 / 0.7393 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.5864, allocations: 192.2 kB / 0.7395 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.5866, allocations: 140.2 kB / 0.7396 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.587e-05/0.5866, allocations: 4 kB / 0.7396 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.5867, allocations: 11.94 kB / 0.7396 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.5868, allocations: 8 kB / 0.7396 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.5868, allocations: 16.17 kB / 0.7396 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007398/0.5876, allocations: 0.6473 MB / 0.7403 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5876, allocations: 3.938 kB / 0.7403 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003012/0.5879, allocations: 59.94 kB / 0.7403 GB, free: 14.54 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.001027/0.5889, allocations: 426.5 kB / 0.7407 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.5892, allocations: 67.91 kB / 0.7408 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5892, allocations: 4.062 kB / 0.7408 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.5893, allocations: 35.98 kB / 0.7408 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006274/0.5899, allocations: 153.5 kB / 0.741 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.5915, allocations: 1.169 MB / 0.7421 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/0.5922, allocations: 0.9745 MB / 0.7431 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.5923, allocations: 38.59 kB / 0.7431 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.5924, allocations: 19.44 kB / 0.7431 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.5924, allocations: 0 / 0.7431 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.01046/0.6029, allocations: 5.289 MB / 0.7483 GB, free: 6.613 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: