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.217/2.217, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001665/0.001665, allocations: 173.6 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.304/2.304, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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.001135/0.001135, allocations: 101.7 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004856, allocations: 12.91 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2035, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2246/0.4282, allocations: 138.5 MB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003801/0.4286, allocations: 99.92 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05439/0.483, allocations: 12.94 MB / 1.047 GB, free: 9.656 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.248e-06/0.4831, allocations: 4 kB / 1.047 GB, free: 9.652 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.334e-05/0.4831, allocations: 11.94 kB / 1.047 GB, free: 9.641 MB / 0.698 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.001354/0.4845, allocations: 0.81 MB / 1.048 GB, free: 8.773 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.4846, allocations: 8.031 kB / 1.048 GB, free: 8.766 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.4847, allocations: 59.25 kB / 1.048 GB, free: 8.707 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005913/0.4853, allocations: 351.7 kB / 1.048 GB, free: 8.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.4853, allocations: 4 kB / 1.048 GB, free: 8.316 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.4854, allocations: 16 kB / 1.048 GB, free: 8.301 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.4857, allocations: 137 kB / 1.048 GB, free: 8.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4858, allocations: 0 / 1.048 GB, free: 8.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.4858, allocations: 8 kB / 1.048 GB, free: 8.152 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4858, allocations: 0 / 1.048 GB, free: 8.152 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.4861, allocations: 100.1 kB / 1.048 GB, free: 8.055 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.4872, allocations: 0.5514 MB / 1.049 GB, free: 7.453 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.4875, allocations: 114.5 kB / 1.049 GB, free: 7.332 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.948e-05/0.4876, allocations: 8.125 kB / 1.049 GB, free: 7.324 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/0.4879, allocations: 145.1 kB / 1.049 GB, free: 7.164 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.354e-06/0.4879, allocations: 4 kB / 1.049 GB, free: 7.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0008668/0.4888, allocations: 415.5 kB / 1.05 GB, free: 6.723 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.4889, allocations: 81.11 kB / 1.05 GB, free: 6.625 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.4902, allocations: 0.6752 MB / 1.05 GB, free: 5.945 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.4902, allocations: 29.7 kB / 1.05 GB, free: 5.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.4906, allocations: 280.3 kB / 1.051 GB, free: 5.629 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.4906, allocations: 23.66 kB / 1.051 GB, free: 5.605 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/0.4907, allocations: 0 / 1.051 GB, free: 5.605 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4908, allocations: 318 kB / 1.051 GB, free: 5.289 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.4909, allocations: 55.91 kB / 1.051 GB, free: 5.234 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.4911, allocations: 51.97 kB / 1.051 GB, free: 5.184 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.4913, allocations: 81.67 kB / 1.051 GB, free: 5.098 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4913, allocations: 0 / 1.051 GB, free: 5.098 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006146/0.4919, allocations: 286.4 kB / 1.051 GB, free: 4.805 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.492, allocations: 38.94 kB / 1.051 GB, free: 4.762 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.492, allocations: 0 / 1.051 GB, free: 4.762 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.492, allocations: 4 kB / 1.051 GB, free: 4.758 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.4922, allocations: 4 kB / 1.051 GB, free: 4.754 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.4922, allocations: 4 kB / 1.051 GB, free: 4.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.4924, allocations: 15.94 kB / 1.051 GB, free: 4.734 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.4925, allocations: 20.03 kB / 1.051 GB, free: 4.715 MB / 0.698 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.0004953/0.493, allocations: 331.3 kB / 1.052 GB, free: 4.375 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-05/0.4931, allocations: 63.2 kB / 1.052 GB, free: 4.312 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007535/0.4938, allocations: 320.6 kB / 1.052 GB, free: 3.984 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.4939, allocations: 3.984 kB / 1.052 GB, free: 3.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4939, allocations: 0 / 1.052 GB, free: 3.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4939, allocations: 4 kB / 1.052 GB, free: 3.977 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/0.4944, allocations: 377.3 kB / 1.052 GB, free: 3.559 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4944, allocations: 0 / 1.052 GB, free: 3.559 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.021e-05/0.4945, allocations: 8 kB / 1.053 GB, free: 3.551 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.4945, allocations: 0 / 1.053 GB, free: 3.551 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.4946, allocations: 11.89 kB / 1.053 GB, free: 3.539 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4946, allocations: 0 / 1.053 GB, free: 3.539 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4946, allocations: 3.984 kB / 1.053 GB, free: 3.535 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006538/0.4953, allocations: 326 kB / 1.053 GB, free: 3.191 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.4955, allocations: 148.3 kB / 1.053 GB, free: 3.027 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.594e-05/0.4956, allocations: 4 kB / 1.053 GB, free: 3.023 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.4958, allocations: 11.89 kB / 1.053 GB, free: 3.012 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.4959, allocations: 7.984 kB / 1.053 GB, free: 3.004 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.4959, allocations: 12 kB / 1.053 GB, free: 2.992 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00105/0.497, allocations: 0.5536 MB / 1.054 GB, free: 2.445 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/0.497, allocations: 0 / 1.054 GB, free: 2.445 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006973/0.4977, allocations: 151.9 kB / 1.054 GB, free: 2.297 MB / 0.698 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.0008059/0.4985, allocations: 360 kB / 1.054 GB, free: 1.941 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004221/0.499, allocations: 207.2 kB / 1.054 GB, free: 1.727 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.499, allocations: 4 kB / 1.054 GB, free: 1.723 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.4992, allocations: 139.4 kB / 1.054 GB, free: 1.574 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007109/0.4999, allocations: 102.9 kB / 1.054 GB, free: 1.473 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.5021, allocations: 1.09 MB / 1.056 GB, free: 360 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.577/1.079, allocations: 0.9728 MB / 1.056 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001685/1.079, allocations: 24.34 kB / 1.057 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/1.079, allocations: 15.56 kB / 1.057 GB, free: 147.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.283e-06/1.079, allocations: 0 / 1.057 GB, free: 147.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01949/1.099, allocations: 6.195 MB / 1.063 GB, free: 147.4 MB / 0.698 GB