Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.504/4.504, allocations: 0.5623 GB / 0.5769 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002685/0.002684, allocations: 363.2 kB / 0.644 GB, free: 21.53 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.83/3.83, allocations: 410.8 MB / 1.112 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001831/0.00183, allocations: 186.7 kB / 1.225 GB, free: 9.531 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0005, allocations: 16 kB / 1.348 GB, free: 84.64 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1633, allocations: 115.2 MB / 1.461 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.4951/0.6585, allocations: 1.765 MB / 1.462 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003265/0.6618, allocations: 2.205 MB / 1.465 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.6619, allocations: 2.188 kB / 1.465 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.6633, allocations: 485.7 kB / 1.465 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.6636, allocations: 93.03 kB / 1.465 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007143/0.6643, allocations: 181.3 kB / 1.465 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.6648, allocations: 312.2 kB / 1.466 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.665, allocations: 63.69 kB / 1.466 GB, free: 9.465 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.6652, allocations: 118.7 kB / 1.466 GB, free: 9.422 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.6654, allocations: 128.9 kB / 1.466 GB, free: 9.379 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.6654, allocations: 4 kB / 1.466 GB, free: 9.379 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.6656, allocations: 51.52 kB / 1.466 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.6658, allocations: 119.6 kB / 1.466 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.6659, allocations: 127.7 kB / 1.466 GB, free: 9.227 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007567/0.6667, allocations: 0.5369 MB / 1.467 GB, free: 9.117 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.365e-06/0.6667, allocations: 9.016 kB / 1.467 GB, free: 9.109 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.051e-06/0.6667, allocations: 0 / 1.467 GB, free: 9.109 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.964e-06/0.6668, allocations: 0.75 kB / 1.467 GB, free: 9.109 MB / 0.6042 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.001129/0.6679, allocations: 0.7964 MB / 1.468 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.668, allocations: 10.03 kB / 1.468 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.6681, allocations: 69.86 kB / 1.468 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005364/0.6686, allocations: 402.6 kB / 1.468 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.6687, allocations: 6.625 kB / 1.468 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.6687, allocations: 3.406 kB / 1.468 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.669, allocations: 100.1 kB / 1.468 GB, free: 8.012 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.669, allocations: 0 / 1.468 GB, free: 8.012 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.669, allocations: 2.438 kB / 1.468 GB, free: 8.012 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.669, allocations: 1.375 kB / 1.468 GB, free: 8.012 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.6692, allocations: 45.03 kB / 1.468 GB, free: 7.996 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009959/0.6702, allocations: 0.5138 MB / 1.469 GB, free: 7.637 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.6707, allocations: 98.11 kB / 1.469 GB, free: 7.594 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.6709, allocations: 32.27 kB / 1.469 GB, free: 7.578 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.6709, allocations: 6.016 kB / 1.469 GB, free: 7.574 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.6712, allocations: 95.39 kB / 1.469 GB, free: 7.504 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.711e-06/0.6712, allocations: 0 / 1.469 GB, free: 7.504 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.000564/0.6718, allocations: 188.8 kB / 1.469 GB, free: 7.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.274e-05/0.6719, allocations: 105.3 kB / 1.469 GB, free: 7.285 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.6735, allocations: 0.8786 MB / 1.47 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.6736, allocations: 31.81 kB / 1.47 GB, free: 6.926 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.674, allocations: 296.8 kB / 1.47 GB, free: 6.691 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.674, allocations: 28.8 kB / 1.47 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.485e-06/0.6741, allocations: 4 kB / 1.47 GB, free: 6.664 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.086e-05/0.6741, allocations: 308.6 kB / 1.471 GB, free: 6.359 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.6742, allocations: 27.25 kB / 1.471 GB, free: 6.352 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.6744, allocations: 74.73 kB / 1.471 GB, free: 6.297 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.6745, allocations: 39.77 kB / 1.471 GB, free: 6.277 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.364e-06/0.6745, allocations: 0.5312 kB / 1.471 GB, free: 6.277 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003826/0.6749, allocations: 160.5 kB / 1.471 GB, free: 6.191 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.675, allocations: 4.906 kB / 1.471 GB, free: 6.191 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.675, allocations: 4.797 kB / 1.471 GB, free: 6.188 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.675, allocations: 6.422 kB / 1.471 GB, free: 6.184 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.6751, allocations: 12.89 kB / 1.471 GB, free: 6.184 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.557e-06/0.6752, allocations: 1.938 kB / 1.471 GB, free: 6.184 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.6754, allocations: 11.39 kB / 1.471 GB, free: 6.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.6754, allocations: 11.23 kB / 1.471 GB, free: 6.172 MB / 0.6042 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.0004281/0.6759, allocations: 315.9 kB / 1.471 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.405e-05/0.676, allocations: 65.97 kB / 1.471 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.6761, allocations: 74.7 kB / 1.471 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.734e-06/0.6762, allocations: 4.703 kB / 1.471 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.524e-06/0.6762, allocations: 1.062 kB / 1.471 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.624e-06/0.6762, allocations: 0.5156 kB / 1.471 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005247/0.6767, allocations: 379.5 kB / 1.472 GB, free: 5.668 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-06/0.6767, allocations: 0 / 1.472 GB, free: 5.668 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.6768, allocations: 12.23 kB / 1.472 GB, free: 5.664 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.701e-06/0.6768, allocations: 1.25 kB / 1.472 GB, free: 5.664 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.6769, allocations: 2.453 kB / 1.472 GB, free: 5.664 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.441e-06/0.6769, allocations: 0 / 1.472 GB, free: 5.664 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.307e-06/0.6769, allocations: 9.234 kB / 1.472 GB, free: 5.656 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.6773, allocations: 193.9 kB / 1.472 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.6774, allocations: 135.2 kB / 1.472 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.922e-05/0.6775, allocations: 6.469 kB / 1.472 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.6777, allocations: 9.281 kB / 1.472 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.6778, allocations: 15.48 kB / 1.472 GB, free: 5.387 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.6779, allocations: 3.812 kB / 1.472 GB, free: 5.387 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001097/0.679, allocations: 0.6482 MB / 1.473 GB, free: 5.141 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.2e-07/0.679, allocations: 0 / 1.473 GB, free: 5.141 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004214/0.6794, allocations: 62.73 kB / 1.473 GB, free: 5.129 MB / 0.6042 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.001529/0.6809, allocations: 432.7 kB / 1.473 GB, free: 4.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002946/0.6813, allocations: 74.8 kB / 1.473 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.218e-06/0.6813, allocations: 0 / 1.473 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.6814, allocations: 38.81 kB / 1.473 GB, free: 4.895 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008621/0.6823, allocations: 134.7 kB / 1.474 GB, free: 4.855 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.6843, allocations: 1.168 MB / 1.475 GB, free: 4.273 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/0.685, allocations: 0.9926 MB / 1.476 GB, free: 3.512 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001994/0.6853, allocations: 41.56 kB / 1.476 GB, free: 3.504 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.6853, allocations: 26.45 kB / 1.476 GB, free: 3.492 MB / 0.6042 GB Notification: Performance of SimCode: time 1.43e-06/0.6854, allocations: 0.75 kB / 1.476 GB, free: 3.492 MB / 0.6042 GB Notification: Performance of Templates: time 0.01582/0.7012, allocations: 5.279 MB / 1.481 GB, free: 3.098 MB / 0.6042 GB