Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.856/3.856, allocations: 433.4 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.595e-05/2.604e-05, allocations: 11.94 kB / 0.5325 GB, free: 1.906 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4945/0.4945, allocations: 98.7 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.6944, allocations: 130.5 MB / 0.7564 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.6948, allocations: 99.92 kB / 0.7565 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05018/0.745, allocations: 12.64 MB / 0.7688 GB, free: 220 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.974e-06/0.745, allocations: 0 / 0.7688 GB, free: 220 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.099e-05/0.7451, allocations: 8 kB / 0.7688 GB, free: 212 kB / 0.6355 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.00108/0.7462, allocations: 0.6898 MB / 0.7695 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.7462, allocations: 12.02 kB / 0.7695 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.7464, allocations: 67.25 kB / 0.7696 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.7469, allocations: 335.7 kB / 0.7699 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.747, allocations: 4 kB / 0.7699 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.747, allocations: 4 kB / 0.7699 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002488/0.7473, allocations: 88.14 kB / 0.77 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.7475, allocations: 116.6 kB / 0.7701 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.234e-06/0.7476, allocations: 0 / 0.7701 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.7476, allocations: 4 kB / 0.7701 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.012e-06/0.7476, allocations: 3.938 kB / 0.7701 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.7487, allocations: 0.5049 MB / 0.7706 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.7489, allocations: 106.5 kB / 0.7707 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.7491, allocations: 60.92 kB / 0.7707 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-05/0.7491, allocations: 8 kB / 0.7707 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.7494, allocations: 133 kB / 0.7709 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 3.23e-06/0.7494, allocations: 0 / 0.7709 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0005463/0.7499, allocations: 196.9 kB / 0.7711 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.75, allocations: 81.09 kB / 0.7711 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.7511, allocations: 0.6011 MB / 0.7717 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.7511, allocations: 33.64 kB / 0.7718 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.7515, allocations: 283.9 kB / 0.772 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.7515, allocations: 19.66 kB / 0.772 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.052e-06/0.7516, allocations: 0 / 0.772 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000259/0.7518, allocations: 378.8 kB / 0.7724 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.7519, allocations: 47.97 kB / 0.7725 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.386e-05/0.7521, allocations: 41.02 kB / 0.7725 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.7523, allocations: 51.95 kB / 0.7725 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.7523, allocations: 3.938 kB / 0.7725 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004648/0.7528, allocations: 201 kB / 0.7727 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.205e-05/0.7528, allocations: 47.66 kB / 0.7728 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.7528, allocations: 0 / 0.7728 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.7529, allocations: 0 / 0.7728 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.753, allocations: 11.94 kB / 0.7728 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.301e-06/0.753, allocations: 0 / 0.7728 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.7532, allocations: 15.89 kB / 0.7728 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.7532, allocations: 4 kB / 0.7728 GB, free: 11.88 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 () * 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.0001525/0.7534, allocations: 149.5 kB / 0.773 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.7535, allocations: 55.34 kB / 0.773 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000593/0.7541, allocations: 226.9 kB / 0.7732 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.124e-06/0.7541, allocations: 0 / 0.7732 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.37e-06/0.7541, allocations: 0 / 0.7732 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.93e-06/0.7541, allocations: 3.984 kB / 0.7732 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/0.7547, allocations: 349.8 kB / 0.7736 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-06/0.7547, allocations: 0 / 0.7736 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.7548, allocations: 7.938 kB / 0.7736 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.897e-06/0.7548, allocations: 3.938 kB / 0.7736 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.7548, allocations: 4.25 kB / 0.7736 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.946e-06/0.7549, allocations: 4 kB / 0.7736 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.836e-06/0.7549, allocations: 8 kB / 0.7736 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005217/0.7554, allocations: 232.4 kB / 0.7738 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.7556, allocations: 140.3 kB / 0.7739 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.7557, allocations: 4 kB / 0.774 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.7559, allocations: 12 kB / 0.774 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.7559, allocations: 3.984 kB / 0.774 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.756, allocations: 8 kB / 0.774 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000811/0.7568, allocations: 0.499 MB / 0.7745 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.26e-07/0.7568, allocations: 0 / 0.7745 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006262/0.7575, allocations: 143.8 kB / 0.7746 GB, free: 9.957 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) * 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.000785/0.7583, allocations: 372.5 kB / 0.775 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.7586, allocations: 187.4 kB / 0.7751 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.068e-06/0.7586, allocations: 0 / 0.7751 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.7588, allocations: 139.4 kB / 0.7753 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006127/0.7595, allocations: 95.19 kB / 0.7754 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.7611, allocations: 0.7773 MB / 0.7761 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008417/0.762, allocations: 0.9738 MB / 0.7771 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.7621, allocations: 25.19 kB / 0.7771 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.7622, allocations: 15.44 kB / 0.7771 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of SimCode: time 1.703e-06/0.7622, allocations: 0 / 0.7771 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of Templates: time 0.01534/0.7775, allocations: 4.98 MB / 0.782 GB, free: 2.406 MB / 0.6511 GB