Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009002/0.009002, allocations: 110.6 kB / 15.05 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001074/0.001074, allocations: 184.1 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.978/1.978, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.211/2.211, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008374/0.0008376, allocations: 16 kB / 0.587 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6109/0.6118, allocations: 98.7 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.8043, allocations: 131.2 MB / 0.8115 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.8047, allocations: 103.9 kB / 0.8116 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0509/0.8556, allocations: 12.8 MB / 0.8241 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.994e-06/0.8556, allocations: 4 kB / 0.8241 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.747e-05/0.8557, allocations: 7.938 kB / 0.8241 GB, free: 14.03 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.00122/0.8569, allocations: 0.81 MB / 0.8249 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.857, allocations: 12.03 kB / 0.8249 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.8571, allocations: 59.25 kB / 0.825 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/0.8576, allocations: 343.8 kB / 0.8253 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.8577, allocations: 4 kB / 0.8253 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.8577, allocations: 12 kB / 0.8253 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.858, allocations: 126.7 kB / 0.8255 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.469e-06/0.8581, allocations: 0 / 0.8255 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.8581, allocations: 4 kB / 0.8255 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.867e-06/0.8581, allocations: 4 kB / 0.8255 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.8584, allocations: 96.12 kB / 0.8256 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.8594, allocations: 0.5552 MB / 0.8261 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.8597, allocations: 122.4 kB / 0.8262 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.8597, allocations: 8.062 kB / 0.8262 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.86, allocations: 129.1 kB / 0.8263 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 2.587e-06/0.86, allocations: 0 / 0.8263 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0006754/0.8607, allocations: 367.9 kB / 0.8267 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.8608, allocations: 81.11 kB / 0.8268 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.862, allocations: 0.6752 MB / 0.8274 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.862, allocations: 33.7 kB / 0.8275 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.8623, allocations: 268.3 kB / 0.8277 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.8624, allocations: 31.62 kB / 0.8277 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.172e-06/0.8624, allocations: 4 kB / 0.8278 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.8626, allocations: 310 kB / 0.828 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.8627, allocations: 47.97 kB / 0.8281 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.8628, allocations: 47.97 kB / 0.8281 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.863, allocations: 78.7 kB / 0.8282 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.578e-06/0.863, allocations: 0 / 0.8282 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004534/0.8635, allocations: 238.5 kB / 0.8284 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.45e-05/0.8635, allocations: 41.69 kB / 0.8285 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.713e-06/0.8636, allocations: 0 / 0.8285 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.8636, allocations: 0 / 0.8285 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.8637, allocations: 7.938 kB / 0.8285 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.069e-06/0.8637, allocations: 7.984 kB / 0.8285 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.8639, allocations: 7.906 kB / 0.8285 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.8639, allocations: 8 kB / 0.8285 GB, free: 9.258 MB / 0.6511 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 (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 prepare postOptimizeDAE: time 0.0004935/0.8644, allocations: 339.3 kB / 0.8288 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-05/0.8645, allocations: 63.25 kB / 0.8289 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/0.8651, allocations: 260.7 kB / 0.8291 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.287e-06/0.8652, allocations: 4 kB / 0.8291 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.977e-06/0.8652, allocations: 0 / 0.8291 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.093e-06/0.8652, allocations: 3.938 kB / 0.8292 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005632/0.8658, allocations: 377.3 kB / 0.8295 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.995e-06/0.8658, allocations: 0 / 0.8295 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.8658, allocations: 7.938 kB / 0.8295 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.495e-06/0.8659, allocations: 0 / 0.8295 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.8659, allocations: 4 kB / 0.8295 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.838e-06/0.8659, allocations: 4 kB / 0.8295 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8659, allocations: 0 / 0.8295 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.8664, allocations: 282 kB / 0.8298 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.8666, allocations: 144.3 kB / 0.8299 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.227e-05/0.8667, allocations: 4 kB / 0.8299 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.8669, allocations: 7.984 kB / 0.8299 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.867, allocations: 11.94 kB / 0.83 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.867, allocations: 12 kB / 0.83 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009445/0.868, allocations: 0.5536 MB / 0.8305 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.02e-07/0.868, allocations: 3.938 kB / 0.8305 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000652/0.8686, allocations: 151.8 kB / 0.8307 GB, free: 6.938 MB / 0.6511 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 (5): * Single equations (assignments): 4 * 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.0007363/0.8694, allocations: 362.1 kB / 0.831 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000395/0.8698, allocations: 195.7 kB / 0.8312 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.161e-06/0.8698, allocations: 0 / 0.8312 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.87, allocations: 147.4 kB / 0.8313 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.8707, allocations: 106.9 kB / 0.8314 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.8727, allocations: 1.083 MB / 0.8325 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000811/0.8736, allocations: 0.9741 MB / 0.8334 GB, free: 3.996 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.8737, allocations: 21.55 kB / 0.8335 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.8738, allocations: 11.44 kB / 0.8335 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of SimCode: time 1.717e-06/0.8738, allocations: 0 / 0.8335 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of Templates: time 0.01755/0.8913, allocations: 6.036 MB / 0.8394 GB, free: 14 MB / 0.6667 GB