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.SpeedSelect.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.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.165/2.165, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001574/0.001574, allocations: 178.5 kB / 325.6 MB, free: 2.812 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.368/2.368, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001665/0.001665, allocations: 92.42 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004622, allocations: 13.75 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2104, allocations: 106.3 MB / 0.8989 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.235/0.4454, allocations: 139.5 MB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003986/0.4459, allocations: 95.94 kB / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05253/0.4984, allocations: 12.72 MB / 1.048 GB, free: 8.844 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.474e-06/0.4985, allocations: 0 / 1.048 GB, free: 8.844 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.352e-05/0.4986, allocations: 8 kB / 1.048 GB, free: 8.836 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001537/0.5001, allocations: 0.8604 MB / 1.048 GB, free: 7.918 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.5002, allocations: 8.031 kB / 1.048 GB, free: 7.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.5003, allocations: 63.25 kB / 1.049 GB, free: 7.848 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.5013, allocations: 475.4 kB / 1.049 GB, free: 7.344 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.5014, allocations: 4 kB / 1.049 GB, free: 7.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.5014, allocations: 4 kB / 1.049 GB, free: 7.336 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.5017, allocations: 108.2 kB / 1.049 GB, free: 7.215 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5018, allocations: 0 / 1.049 GB, free: 7.215 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.5018, allocations: 4 kB / 1.049 GB, free: 7.211 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5018, allocations: 0 / 1.049 GB, free: 7.211 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.502, allocations: 43.97 kB / 1.049 GB, free: 7.168 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.5031, allocations: 0.5356 MB / 1.05 GB, free: 6.582 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.5037, allocations: 110.6 kB / 1.05 GB, free: 6.465 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.5037, allocations: 96 / 1.05 GB, free: 6.465 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.504, allocations: 87.42 kB / 1.05 GB, free: 6.367 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.504, allocations: 4 kB / 1.05 GB, free: 6.363 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000646/0.5047, allocations: 196.8 kB / 1.05 GB, free: 6.164 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/0.5048, allocations: 106.8 kB / 1.05 GB, free: 6.035 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.5063, allocations: 0.7927 MB / 1.051 GB, free: 5.238 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.5064, allocations: 29.7 kB / 1.051 GB, free: 5.203 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.5068, allocations: 304 kB / 1.051 GB, free: 4.902 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.5069, allocations: 27.64 kB / 1.051 GB, free: 4.875 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.5069, allocations: 0 / 1.051 GB, free: 4.875 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.507, allocations: 306 kB / 1.052 GB, free: 4.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.5072, allocations: 35.97 kB / 1.052 GB, free: 4.535 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.5074, allocations: 80.27 kB / 1.052 GB, free: 4.441 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.5075, allocations: 31.98 kB / 1.052 GB, free: 4.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5076, allocations: 0 / 1.052 GB, free: 4.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004595/0.508, allocations: 160.9 kB / 1.052 GB, free: 4.246 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.5081, allocations: 8 kB / 1.052 GB, free: 4.238 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5081, allocations: 0 / 1.052 GB, free: 4.238 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.5081, allocations: 4.031 kB / 1.052 GB, free: 4.234 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.5083, allocations: 15.98 kB / 1.052 GB, free: 4.219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.5083, allocations: 3.953 kB / 1.052 GB, free: 4.215 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.5085, allocations: 19.83 kB / 1.052 GB, free: 4.195 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.5086, allocations: 4 kB / 1.052 GB, free: 4.191 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,speSel.stage,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0006136/0.5092, allocations: 315.6 kB / 1.052 GB, free: 3.875 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.5093, allocations: 63.25 kB / 1.052 GB, free: 3.812 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000581/0.5099, allocations: 191.6 kB / 1.052 GB, free: 3.617 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5099, allocations: 0 / 1.052 GB, free: 3.617 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.51, allocations: 4 kB / 1.052 GB, free: 3.613 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.51, allocations: 3.953 kB / 1.052 GB, free: 3.609 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005854/0.5106, allocations: 393.3 kB / 1.053 GB, free: 3.176 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.5106, allocations: 4 kB / 1.053 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.5107, allocations: 11.92 kB / 1.053 GB, free: 3.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.5107, allocations: 0 / 1.053 GB, free: 3.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.5107, allocations: 4 kB / 1.053 GB, free: 3.156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.5107, allocations: 0 / 1.053 GB, free: 3.156 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5108, allocations: 48 / 1.053 GB, free: 3.156 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.5112, allocations: 204.8 kB / 1.053 GB, free: 2.938 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.5114, allocations: 140.2 kB / 1.053 GB, free: 2.781 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.229e-05/0.5116, allocations: 15.94 kB / 1.053 GB, free: 2.766 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.5118, allocations: 7.984 kB / 1.053 GB, free: 2.758 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.5119, allocations: 11.98 kB / 1.053 GB, free: 2.746 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.5119, allocations: 4.188 kB / 1.053 GB, free: 2.742 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001376/0.5133, allocations: 0.6473 MB / 1.054 GB, free: 2.098 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.81e-07/0.5133, allocations: 7.938 kB / 1.054 GB, free: 2.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006147/0.514, allocations: 83.92 kB / 1.054 GB, free: 2.008 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: 4 ($whenCondition1,speSel.stage,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001741/0.5157, allocations: 0.5844 MB / 1.055 GB, free: 1.582 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004897/0.5162, allocations: 91.92 kB / 1.055 GB, free: 1.492 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5163, allocations: 0 / 1.055 GB, free: 1.492 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.5164, allocations: 47.91 kB / 1.055 GB, free: 1.445 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.5176, allocations: 142.8 kB / 1.055 GB, free: 1.305 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.5202, allocations: 1.173 MB / 1.056 GB, free: 100 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5575/1.078, allocations: 0.9859 MB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003161/1.078, allocations: 44.08 kB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/1.078, allocations: 25.36 kB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.162e-06/1.078, allocations: 0 / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of Templates: time 0.02208/1.1, allocations: 6.859 MB / 1.064 GB, free: 146.4 MB / 0.698 GB