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.932/4.932, allocations: 0.5623 GB / 0.5775 GB, free: 3.348 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.002547/0.002547, allocations: 361.1 kB / 0.6446 GB, free: 185.7 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 4.396/4.396, allocations: 410.7 MB / 1.113 GB, free: 5.906 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001982/0.001982, allocations: 194.8 kB / 1.226 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007601/0.0007606, allocations: 12 kB / 1.349 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8558/0.8566, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2374/1.094, allocations: 144.8 MB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004561/1.095, allocations: 105.9 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.084/1.179, allocations: 12.93 MB / 1.616 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.206e-06/1.179, allocations: 1.156 kB / 1.616 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.499e-05/1.179, allocations: 8 kB / 1.616 GB, free: 126.6 MB / 0.8542 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.001926/1.181, allocations: 0.811 MB / 1.616 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/1.181, allocations: 14.5 kB / 1.616 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/1.181, allocations: 63.25 kB / 1.616 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008798/1.182, allocations: 352.5 kB / 1.617 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/1.182, allocations: 4 kB / 1.617 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/1.182, allocations: 15.94 kB / 1.617 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/1.183, allocations: 130.2 kB / 1.617 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/1.183, allocations: 4.688 kB / 1.617 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/1.183, allocations: 0 / 1.617 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/1.183, allocations: 2.703 kB / 1.617 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/1.183, allocations: 108.1 kB / 1.617 GB, free: 125 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/1.185, allocations: 0.5514 MB / 1.618 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/1.185, allocations: 119.1 kB / 1.618 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/1.185, allocations: 68.95 kB / 1.618 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.656e-05/1.186, allocations: 7.953 kB / 1.618 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003482/1.186, allocations: 142.8 kB / 1.618 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 4.058e-06/1.186, allocations: 3.938 kB / 1.618 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.00112/1.187, allocations: 333.8 kB / 1.618 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/1.187, allocations: 87.27 kB / 1.618 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/1.189, allocations: 0.7581 MB / 1.619 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/1.189, allocations: 25.7 kB / 1.619 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/1.19, allocations: 276.2 kB / 1.619 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.617e-05/1.19, allocations: 24.36 kB / 1.619 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/1.19, allocations: 0 / 1.619 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.047e-05/1.19, allocations: 311 kB / 1.62 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/1.19, allocations: 55.95 kB / 1.62 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/1.19, allocations: 60.7 kB / 1.62 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/1.191, allocations: 81.67 kB / 1.62 GB, free: 122 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.191, allocations: 1.156 kB / 1.62 GB, free: 122 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0008558/1.192, allocations: 284.1 kB / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.054e-05/1.192, allocations: 37.69 kB / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.192, allocations: 1.5 kB / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/1.192, allocations: 0 / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/1.192, allocations: 11.94 kB / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.192, allocations: 0 / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/1.192, allocations: 20.7 kB / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/1.192, allocations: 12.53 kB / 1.62 GB, free: 121.7 MB / 0.8542 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,booleanToInteger.u,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.0007549/1.193, allocations: 329.2 kB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/1.193, allocations: 68.7 kB / 1.621 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/1.195, allocations: 320.6 kB / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.195, allocations: 0 / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.195, allocations: 3.312 kB / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.195, allocations: 3.938 kB / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007797/1.195, allocations: 369.5 kB / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.195, allocations: 0 / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/1.196, allocations: 11.98 kB / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/1.196, allocations: 0 / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/1.196, allocations: 7.953 kB / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.196, allocations: 0 / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.196, allocations: 0 / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009427/1.197, allocations: 333.4 kB / 1.622 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/1.197, allocations: 148.5 kB / 1.622 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/1.197, allocations: 4.625 kB / 1.622 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/1.197, allocations: 17.88 kB / 1.622 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/1.198, allocations: 8 kB / 1.622 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/1.198, allocations: 4 kB / 1.622 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00156/1.199, allocations: 0.5653 MB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.233e-06/1.199, allocations: 1.281 kB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001093/1.2, allocations: 147.8 kB / 1.622 GB, free: 119.2 MB / 0.8542 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,booleanToInteger.u,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.0012/1.202, allocations: 358.2 kB / 1.623 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005841/1.202, allocations: 203.3 kB / 1.623 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.202, allocations: 4 kB / 1.623 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002706/1.203, allocations: 151.3 kB / 1.623 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/1.204, allocations: 95.72 kB / 1.623 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/1.207, allocations: 1.095 MB / 1.624 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008951/1.208, allocations: 0.9759 MB / 1.625 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002325/1.209, allocations: 23.14 kB / 1.625 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/1.209, allocations: 15.44 kB / 1.625 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.543e-06/1.209, allocations: 3.938 kB / 1.625 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.02697/1.236, allocations: 6.261 MB / 1.631 GB, free: 110.2 MB / 0.8542 GB