Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.192/2.192, allocations: 252.6 MB / 265.2 MB, free: 5.699 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 189.2 kB / 324.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.4 MB / 0.5753 GB, free: 10.48 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 98.62 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.759e-05/3.775e-05, allocations: 8 kB / 0.7912 GB, free: 96.56 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2064, allocations: 106.2 MB / 0.8949 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8574/1.064, allocations: 138.4 MB / 1.03 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/1.064, allocations: 98.59 kB / 1.03 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.057/1.121, allocations: 12.93 MB / 1.043 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.764e-06/1.121, allocations: 0 / 1.043 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.715e-05/1.121, allocations: 8 kB / 1.043 GB, free: 0.9141 MB / 0.6511 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.001234/1.123, allocations: 0.7081 MB / 1.044 GB, free: 188 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.123, allocations: 8.031 kB / 1.044 GB, free: 180 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/1.123, allocations: 63.25 kB / 1.044 GB, free: 116 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007281/1.124, allocations: 337.7 kB / 1.044 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/1.124, allocations: 7.188 kB / 1.044 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/1.124, allocations: 8 kB / 1.044 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/1.124, allocations: 131.1 kB / 1.044 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/1.124, allocations: 0 / 1.044 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/1.124, allocations: 7.75 kB / 1.044 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/1.124, allocations: 3.984 kB / 1.044 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/1.125, allocations: 100.8 kB / 1.044 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/1.126, allocations: 0.552 MB / 1.045 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/1.126, allocations: 122.4 kB / 1.045 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/1.127, allocations: 73.41 kB / 1.045 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.723e-05/1.127, allocations: 4 kB / 1.045 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/1.127, allocations: 145.3 kB / 1.045 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=11): time 2.735e-06/1.127, allocations: 0 / 1.045 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.0007354/1.128, allocations: 270 kB / 1.045 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/1.128, allocations: 89.03 kB / 1.045 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/1.129, allocations: 0.663 MB / 1.046 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/1.129, allocations: 29.7 kB / 1.046 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/1.13, allocations: 281.5 kB / 1.046 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/1.13, allocations: 27.44 kB / 1.046 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/1.13, allocations: 7.938 kB / 1.046 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.13, allocations: 306 kB / 1.047 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/1.13, allocations: 56.41 kB / 1.047 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/1.13, allocations: 53.97 kB / 1.047 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/1.13, allocations: 86.47 kB / 1.047 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.13, allocations: 0 / 1.047 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006201/1.131, allocations: 284.6 kB / 1.047 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/1.131, allocations: 38.27 kB / 1.047 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.131, allocations: 0 / 1.047 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.131, allocations: 0 / 1.047 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/1.131, allocations: 11.98 kB / 1.047 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/1.131, allocations: 0 / 1.047 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/1.132, allocations: 15.84 kB / 1.047 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/1.132, allocations: 4 kB / 1.047 GB, free: 12.85 MB / 0.6667 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 () * 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.0001403/1.132, allocations: 157.5 kB / 1.047 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.802e-05/1.132, allocations: 63.2 kB / 1.047 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000826/1.133, allocations: 320.7 kB / 1.048 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/1.133, allocations: 0 / 1.048 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.133, allocations: 0 / 1.048 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.133, allocations: 3.984 kB / 1.048 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006087/1.133, allocations: 370.9 kB / 1.048 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.133, allocations: 128 / 1.048 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/1.134, allocations: 8 kB / 1.048 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.134, allocations: 4 kB / 1.048 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/1.134, allocations: 11.95 kB / 1.048 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.134, allocations: 0 / 1.048 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/1.134, allocations: 0 / 1.048 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/1.134, allocations: 332.1 kB / 1.048 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/1.135, allocations: 143.6 kB / 1.048 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.622e-05/1.135, allocations: 7.188 kB / 1.049 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/1.135, allocations: 7.953 kB / 1.049 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/1.135, allocations: 15.17 kB / 1.049 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/1.135, allocations: 4 kB / 1.049 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00107/1.136, allocations: 0.5508 MB / 1.049 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.21e-07/1.136, allocations: 0 / 1.049 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007486/1.137, allocations: 158.5 kB / 1.049 GB, free: 10.92 MB / 0.6667 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) * 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.0009014/1.138, allocations: 358.8 kB / 1.05 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004286/1.138, allocations: 201.8 kB / 1.05 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.138, allocations: 0 / 1.05 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/1.138, allocations: 146.5 kB / 1.05 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007939/1.139, allocations: 95.73 kB / 1.05 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/1.141, allocations: 0.7877 MB / 1.051 GB, free: 9.52 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.142, allocations: 0.9851 MB / 1.052 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002058/1.143, allocations: 17.56 kB / 1.052 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.592e-05/1.143, allocations: 15.44 kB / 1.052 GB, free: 8.535 MB / 0.6667 GB Notification: Performance of SimCode: time 4.078e-06/1.143, allocations: 3.938 kB / 1.052 GB, free: 8.531 MB / 0.6667 GB Notification: Performance of Templates: time 0.02816/1.171, allocations: 6.494 MB / 1.058 GB, free: 2.086 MB / 0.6667 GB