Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_master_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.663/2.663, allocations: 287.9 MB / 302.9 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001438, allocations: 175.4 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 90.88 kB / 0.7434 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004654, allocations: 12.16 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1591, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.7213/0.8804, allocations: 135.9 MB / 1.111 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03499/0.9155, allocations: 22.38 MB / 1.133 GB, free: 15.43 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003807/0.9193, allocations: 61.88 kB / 1.133 GB, free: 15.4 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003095/0.9224, allocations: 0.9607 MB / 1.134 GB, free: 15.24 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008135/0.9306, allocations: 2.087 MB / 1.136 GB, free: 15.11 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00625/0.9369, allocations: 1.621 MB / 1.138 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006127/0.9431, allocations: 2.887 MB / 1.141 GB, free: 14.6 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004957/0.9481, allocations: 2.852 MB / 1.144 GB, free: 13.47 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/0.9511, allocations: 1.284 MB / 1.145 GB, free: 12.97 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003497/0.9547, allocations: 1.618 MB / 1.146 GB, free: 12.23 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007613/0.9555, allocations: 105.8 kB / 1.146 GB, free: 12.23 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.9582, allocations: 0.5184 MB / 1.147 GB, free: 12.14 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.9595, allocations: 0.7064 MB / 1.148 GB, free: 11.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.9606, allocations: 0.6248 MB / 1.148 GB, free: 11.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007031/0.9677, allocations: 4.243 MB / 1.152 GB, free: 9.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.975e-06/0.9677, allocations: 2.812 kB / 1.152 GB, free: 9.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.339e-06/0.9677, allocations: 0 / 1.152 GB, free: 9.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001769/0.9679, allocations: 0 / 1.152 GB, free: 9.16 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: 804 * Number of variables: 804 Notification: Performance of Generate backend data structure: time 0.01091/0.9788, allocations: 3.794 MB / 1.156 GB, free: 6.855 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.9789, allocations: 10.52 kB / 1.156 GB, free: 6.855 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01618/0.9951, allocations: 2.699 MB / 1.159 GB, free: 5.617 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006226/1.001, allocations: 2.133 MB / 1.161 GB, free: 4.465 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/1.002, allocations: 241.2 kB / 1.161 GB, free: 4.352 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/1.003, allocations: 304.8 kB / 1.161 GB, free: 4.254 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/1.02, allocations: 4.95 MB / 1.166 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/1.02, allocations: 4 kB / 1.166 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008262/1.021, allocations: 133.2 kB / 1.166 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.137e-05/1.021, allocations: 77.38 kB / 1.166 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02087/1.042, allocations: 6.096 MB / 1.172 GB, free: 14.32 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.03817/1.08, allocations: 14.3 MB / 1.186 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01561/1.095, allocations: 4.583 MB / 1.191 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/1.097, allocations: 0.6659 MB / 1.191 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008089/1.105, allocations: 2.352 MB / 1.194 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=268): time 9.222e-06/1.105, allocations: 4 kB / 1.194 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=268): time 0.0277/1.133, allocations: 7.221 MB / 1.201 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/1.133, allocations: 210 kB / 1.201 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004992/1.138, allocations: 2.388 MB / 1.203 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006883/1.139, allocations: 69.7 kB / 1.203 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001727/1.14, allocations: 1.357 MB / 1.205 GB, free: 104 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001621/1.142, allocations: 0.8817 MB / 1.206 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/1.142, allocations: 48 kB / 1.206 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003103/1.143, allocations: 402.6 kB / 1.206 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006452/1.149, allocations: 1.858 MB / 1.208 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007193/1.156, allocations: 2.162 MB / 1.21 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007043/1.163, allocations: 2.015 MB / 1.212 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-05/1.164, allocations: 7.938 kB / 1.212 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.01665/1.18, allocations: 4.719 MB / 1.217 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/1.18, allocations: 9.859 kB / 1.217 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/1.18, allocations: 4 kB / 1.217 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/1.182, allocations: 341.1 kB / 1.217 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005441/1.187, allocations: 0.7761 MB / 1.218 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008244/1.195, allocations: 4.024 MB / 1.222 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00458/1.2, allocations: 0.4988 MB / 1.222 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008043/1.201, allocations: 103.9 kB / 1.222 GB, free: 13.94 MB / 0.7605 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 (268): * Single equations (assignments): 267 * 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 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003263/1.204, allocations: 0.9149 MB / 1.223 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009319/1.205, allocations: 266.6 kB / 1.223 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01911/1.224, allocations: 5.359 MB / 1.229 GB, free: 7.328 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-05/1.224, allocations: 31.94 kB / 1.229 GB, free: 7.297 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.872e-05/1.224, allocations: 4 kB / 1.229 GB, free: 7.293 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.976e-05/1.224, allocations: 19.94 kB / 1.229 GB, free: 7.273 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02803/1.252, allocations: 9.034 MB / 1.237 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.83e-05/1.252, allocations: 4 kB / 1.237 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005197/1.258, allocations: 0.735 MB / 1.238 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/1.259, allocations: 378.3 kB / 1.238 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007339/1.26, allocations: 75.94 kB / 1.239 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009962/1.27, allocations: 5.905 MB / 1.244 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/1.27, allocations: 4 kB / 1.244 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02485/1.295, allocations: 7.598 MB / 1.252 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002914/1.298, allocations: 0.8443 MB / 1.253 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/1.299, allocations: 55.94 kB / 1.253 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00422/1.303, allocations: 387.3 kB / 1.253 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008099/1.304, allocations: 170 kB / 1.253 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005383/1.305, allocations: 99.92 kB / 1.253 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003986/1.309, allocations: 1.729 MB / 1.255 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.004e-06/1.309, allocations: 0 / 1.255 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004817/1.314, allocations: 0.999 MB / 1.256 GB, free: 10.73 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (251): * Single equations (assignments): 244 * 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 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003998/1.318, allocations: 0.9906 MB / 1.257 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01514/1.333, allocations: 4.568 MB / 1.261 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.618e-06/1.333, allocations: 4.188 kB / 1.261 GB, free: 5.398 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00849/1.341, allocations: 2.658 MB / 1.264 GB, free: 2.715 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003883/1.345, allocations: 0.5691 MB / 1.265 GB, free: 2.152 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02244/1.368, allocations: 9.017 MB / 1.273 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003891/1.372, allocations: 2.498 MB / 1.276 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.006597/1.378, allocations: 1.119 MB / 1.277 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001869/1.38, allocations: 264.9 kB / 1.277 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of SimCode: time 1.633e-06/1.38, allocations: 0 / 1.277 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of Templates: time 0.1288/1.509, allocations: 42.19 MB / 1.318 GB, free: 11.16 MB / 0.8542 GB