Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.35/2.35, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001587/0.001587, allocations: 182.2 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.623/2.623, allocations: 205.4 MB / 0.5766 GB, free: 21.14 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.001729/0.001729, allocations: 92.58 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004802, allocations: 11.91 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.214, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.2173/0.4313, allocations: 136.7 MB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04538/0.4768, allocations: 22.67 MB / 1.054 GB, free: 2.207 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003354/0.4802, allocations: 67.62 kB / 1.055 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003926/0.4841, allocations: 0.9878 MB / 1.056 GB, free: 1.148 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.6632/1.147, allocations: 2.17 MB / 1.058 GB, free: 4.211 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00757/1.155, allocations: 1.679 MB / 1.059 GB, free: 4.184 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008115/1.163, allocations: 3.152 MB / 1.062 GB, free: 4.176 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00671/1.17, allocations: 3.035 MB / 1.065 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004814/1.175, allocations: 1.371 MB / 1.067 GB, free: 3.793 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005531/1.18, allocations: 1.725 MB / 1.068 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001448/1.182, allocations: 119.7 kB / 1.068 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004018/1.186, allocations: 0.5275 MB / 1.069 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002381/1.188, allocations: 0.7581 MB / 1.07 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002218/1.191, allocations: 0.6761 MB / 1.07 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009276/1.2, allocations: 4.574 MB / 1.075 GB, free: 3.465 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.2, allocations: 0 / 1.075 GB, free: 3.465 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.276e-06/1.2, allocations: 0 / 1.075 GB, free: 3.465 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002703/1.2, allocations: 0 / 1.075 GB, free: 3.465 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: 860 * Number of variables: 860 Notification: Performance of Generate backend data structure: time 0.01674/1.217, allocations: 4.009 MB / 1.079 GB, free: 1.719 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.217, allocations: 9.062 kB / 1.079 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02433/1.241, allocations: 2.723 MB / 1.081 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008247/1.25, allocations: 2.232 MB / 1.084 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003057/1.25, allocations: 252.6 kB / 1.084 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002029/1.252, allocations: 329.5 kB / 1.084 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02297/1.275, allocations: 5.199 MB / 1.089 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/1.275, allocations: 2.906 kB / 1.089 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001475/1.277, allocations: 139.2 kB / 1.089 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.241e-05/1.277, allocations: 82.22 kB / 1.089 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02717/1.304, allocations: 6.34 MB / 1.096 GB, free: 16.15 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05129/1.355, allocations: 15.48 MB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01647/1.372, allocations: 4.096 MB / 1.115 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/1.374, allocations: 0.6669 MB / 1.115 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01067/1.384, allocations: 2.456 MB / 1.118 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=286): time 8.075e-06/1.384, allocations: 5.172 kB / 1.118 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=286): time 0.04004/1.424, allocations: 8.035 MB / 1.126 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/1.425, allocations: 214.7 kB / 1.126 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006239/1.431, allocations: 2.498 MB / 1.128 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001109/1.432, allocations: 76.17 kB / 1.128 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002101/1.434, allocations: 1.42 MB / 1.13 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002242/1.436, allocations: 0.9514 MB / 1.131 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004096/1.437, allocations: 48.53 kB / 1.131 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003419/1.437, allocations: 411.4 kB / 1.131 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008635/1.446, allocations: 1.946 MB / 1.133 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009576/1.455, allocations: 2.263 MB / 1.135 GB, free: 364 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009364/1.465, allocations: 2.117 MB / 1.137 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-05/1.465, allocations: 0 / 1.137 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.02466/1.49, allocations: 5.086 MB / 1.142 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/1.49, allocations: 8 kB / 1.142 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/1.49, allocations: 6.906 kB / 1.142 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/1.492, allocations: 0.5402 MB / 1.143 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008065/1.5, allocations: 0.7415 MB / 1.144 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/1.514, allocations: 5.439 MB / 1.149 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007087/1.521, allocations: 0.5232 MB / 1.149 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.522, allocations: 113.5 kB / 1.149 GB, free: 6.504 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 271 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004492/1.526, allocations: 0.9575 MB / 1.15 GB, free: 5.875 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00161/1.528, allocations: 284.4 kB / 1.151 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02724/1.555, allocations: 5.699 MB / 1.156 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.434e-05/1.555, allocations: 28 kB / 1.156 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.469e-05/1.555, allocations: 4 kB / 1.156 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/1.556, allocations: 19.94 kB / 1.156 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03863/1.594, allocations: 9.652 MB / 1.166 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.886e-05/1.594, allocations: 0 / 1.166 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009309/1.604, allocations: 0.7075 MB / 1.166 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002661/1.606, allocations: 0.5286 MB / 1.167 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001019/1.607, allocations: 79.81 kB / 1.167 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01563/1.623, allocations: 7.122 MB / 1.174 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.623, allocations: 0 / 1.174 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03955/1.663, allocations: 8.086 MB / 1.182 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004817/1.667, allocations: 0.878 MB / 1.183 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001666/1.669, allocations: 54.06 kB / 1.183 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008675/1.678, allocations: 400.2 kB / 1.183 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001506/1.679, allocations: 187.7 kB / 1.183 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008207/1.68, allocations: 103.7 kB / 1.183 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.006161/1.687, allocations: 1.81 MB / 1.185 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.81e-07/1.687, allocations: 0 / 1.185 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.008093/1.695, allocations: 1.081 MB / 1.186 GB, free: 10.34 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 36,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005443/1.7, allocations: 1.009 MB / 1.187 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0274/1.728, allocations: 4.87 MB / 1.192 GB, free: 6.168 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.728, allocations: 4.219 kB / 1.192 GB, free: 6.168 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01159/1.739, allocations: 2.846 MB / 1.195 GB, free: 4.047 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005875/1.745, allocations: 0.6133 MB / 1.195 GB, free: 3.594 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02852/1.774, allocations: 9.549 MB / 1.205 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004445/1.778, allocations: 2.611 MB / 1.207 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.01314/1.791, allocations: 1.108 MB / 1.208 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005215/1.797, allocations: 265.6 kB / 1.209 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of SimCode: time 1.893e-06/1.797, allocations: 4 kB / 1.209 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of Templates: time 0.1328/1.93, allocations: 45.54 MB / 1.253 GB, free: 10.18 MB / 0.823 GB