Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.563/4.563, allocations: 0.5623 GB / 0.5769 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005222/0.005221, allocations: 364.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.735/3.735, allocations: 410.7 MB / 1.112 GB, free: 147.7 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001662/0.001661, allocations: 184.3 kB / 1.225 GB, free: 35.89 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004789, allocations: 17.59 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1454, allocations: 115.3 MB / 1.461 GB, free: 6.582 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.00192/0.1474, allocations: 1.663 MB / 1.462 GB, free: 4.898 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002789/0.1502, allocations: 2.305 MB / 1.465 GB, free: 2.586 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.896e-05/0.1503, allocations: 4 kB / 1.465 GB, free: 2.582 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.1514, allocations: 458.3 kB / 1.465 GB, free: 2.133 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.124e-05/0.1515, allocations: 47.75 kB / 1.465 GB, free: 2.086 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006697/0.1522, allocations: 207.2 kB / 1.465 GB, free: 1.887 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.1525, allocations: 274.5 kB / 1.466 GB, free: 1.617 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.1527, allocations: 80.72 kB / 1.466 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1528, allocations: 103.5 kB / 1.466 GB, free: 1.441 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.153, allocations: 115.4 kB / 1.466 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.153, allocations: 4 kB / 1.466 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000558/0.1536, allocations: 295.5 kB / 1.466 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1537, allocations: 91.61 kB / 1.466 GB, free: 0.9453 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.1539, allocations: 121.4 kB / 1.466 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007772/0.1547, allocations: 0.5924 MB / 1.467 GB, free: 232 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.994e-06/0.1547, allocations: 0 / 1.467 GB, free: 232 kB / 0.6042 GB Notification: Performance of FrontEnd: time 4.155e-06/0.1547, allocations: 3.984 kB / 1.467 GB, free: 228 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.917e-06/0.1547, allocations: 0 / 1.467 GB, free: 228 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001158/0.1559, allocations: 0.7791 MB / 1.468 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1559, allocations: 8.031 kB / 1.468 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.1561, allocations: 63.2 kB / 1.468 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.1565, allocations: 335.8 kB / 1.468 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.1566, allocations: 4 kB / 1.468 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.1566, allocations: 12 kB / 1.468 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.1569, allocations: 126.1 kB / 1.468 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1569, allocations: 0 / 1.468 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.1569, allocations: 12 kB / 1.468 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.157, allocations: 0 / 1.468 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.1572, allocations: 100.1 kB / 1.468 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009333/0.1581, allocations: 0.5319 MB / 1.469 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.1584, allocations: 106.5 kB / 1.469 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.1585, allocations: 68.97 kB / 1.469 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.1586, allocations: 4 kB / 1.469 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.1588, allocations: 137 kB / 1.469 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.471e-06/0.1589, allocations: 0 / 1.469 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0006063/0.1595, allocations: 302.5 kB / 1.469 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.1596, allocations: 85.09 kB / 1.47 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.1607, allocations: 0.7542 MB / 1.47 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.1608, allocations: 29.7 kB / 1.47 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.1611, allocations: 280.2 kB / 1.471 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.1612, allocations: 23.66 kB / 1.471 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-06/0.1612, allocations: 0 / 1.471 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1614, allocations: 310 kB / 1.471 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.1615, allocations: 43.98 kB / 1.471 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.1616, allocations: 51.91 kB / 1.471 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.1617, allocations: 77.69 kB / 1.471 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.238e-06/0.1617, allocations: 7.953 kB / 1.471 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004548/0.1622, allocations: 255 kB / 1.471 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/0.1623, allocations: 41.62 kB / 1.471 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.547e-06/0.1623, allocations: 0 / 1.471 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1623, allocations: 4 kB / 1.471 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.1624, allocations: 4 kB / 1.471 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.243e-06/0.1624, allocations: 4 kB / 1.471 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.1626, allocations: 15.83 kB / 1.471 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.1627, allocations: 4 kB / 1.471 GB, free: 11.43 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0004352/0.1631, allocations: 339.9 kB / 1.472 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-05/0.1632, allocations: 59.3 kB / 1.472 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005991/0.1638, allocations: 308.3 kB / 1.472 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1638, allocations: 0 / 1.472 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1638, allocations: 0 / 1.472 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.542e-06/0.1639, allocations: 0 / 1.472 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.1644, allocations: 369.5 kB / 1.472 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-06/0.1644, allocations: 0 / 1.472 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.1645, allocations: 15.94 kB / 1.472 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.091e-06/0.1645, allocations: 4 kB / 1.472 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.1645, allocations: 4 kB / 1.472 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.286e-06/0.1645, allocations: 0 / 1.472 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.89e-06/0.1645, allocations: 128 / 1.472 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.165, allocations: 313.9 kB / 1.473 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.1652, allocations: 136.3 kB / 1.473 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/0.1653, allocations: 11.95 kB / 1.473 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1655, allocations: 7.984 kB / 1.473 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.1656, allocations: 11.94 kB / 1.473 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.1656, allocations: 8 kB / 1.473 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008595/0.1665, allocations: 0.5536 MB / 1.473 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.24e-07/0.1665, allocations: 0 / 1.473 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005107/0.167, allocations: 127.9 kB / 1.474 GB, free: 9.074 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004318/0.1674, allocations: 183.2 kB / 1.474 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000389/0.1678, allocations: 207.3 kB / 1.474 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.798e-06/0.1679, allocations: 4 kB / 1.474 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.1681, allocations: 151.3 kB / 1.474 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006512/0.1687, allocations: 98.86 kB / 1.474 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.1706, allocations: 1.094 MB / 1.475 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007904/0.1714, allocations: 0.9741 MB / 1.476 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.1715, allocations: 25.53 kB / 1.476 GB, free: 6.266 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.1716, allocations: 19.38 kB / 1.476 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of SimCode: time 1.652e-06/0.1716, allocations: 4 kB / 1.476 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of Templates: time 0.01396/0.1856, allocations: 4.861 MB / 1.481 GB, free: 1.477 MB / 0.6198 GB