Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_master_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.491/2.491, allocations: 287.9 MB / 302.9 MB, free: 8.246 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.001484/0.001484, allocations: 179.1 kB / 371.4 MB, free: 10.66 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 2.024/2.024, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001044/0.001044, allocations: 100.2 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007844/0.0007848, allocations: 10.78 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1658, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.8266/0.9924, allocations: 137.7 MB / 1.113 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03514/1.028, allocations: 23.08 MB / 1.136 GB, free: 15.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004233/1.032, allocations: 67.91 kB / 1.136 GB, free: 15.55 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003368/1.035, allocations: 1.043 MB / 1.137 GB, free: 15.36 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008809/1.044, allocations: 2.291 MB / 1.139 GB, free: 15.19 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007141/1.051, allocations: 1.814 MB / 1.141 GB, free: 14.63 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00765/1.059, allocations: 3.593 MB / 1.144 GB, free: 13.29 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006/1.065, allocations: 3.274 MB / 1.148 GB, free: 11.99 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00351/1.069, allocations: 1.494 MB / 1.149 GB, free: 11.42 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004928/1.074, allocations: 1.896 MB / 1.151 GB, free: 10.47 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001063/1.075, allocations: 138.1 kB / 1.151 GB, free: 10.47 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/1.078, allocations: 0.5553 MB / 1.152 GB, free: 10.29 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001679/1.079, allocations: 0.8324 MB / 1.152 GB, free: 9.727 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001625/1.081, allocations: 0.7388 MB / 1.153 GB, free: 9.27 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008393/1.089, allocations: 4.997 MB / 1.158 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.571e-06/1.09, allocations: 0 / 1.158 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.508e-06/1.09, allocations: 1.75 kB / 1.158 GB, free: 5.707 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001968/1.09, allocations: 0 / 1.158 GB, free: 5.707 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01226/1.102, allocations: 4.312 MB / 1.162 GB, free: 2.848 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.102, allocations: 8.688 kB / 1.162 GB, free: 2.848 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02579/1.128, allocations: 2.755 MB / 1.165 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009711/1.138, allocations: 2.385 MB / 1.167 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/1.138, allocations: 275.4 kB / 1.167 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001041/1.139, allocations: 357.9 kB / 1.168 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01636/1.155, allocations: 5.535 MB / 1.173 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/1.156, allocations: 2.375 kB / 1.173 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000611/1.156, allocations: 151.8 kB / 1.173 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.938e-05/1.156, allocations: 94.47 kB / 1.173 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02118/1.177, allocations: 6.658 MB / 1.18 GB, free: 9.137 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.04159/1.219, allocations: 17.16 MB / 1.197 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/1.233, allocations: 4.496 MB / 1.201 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/1.234, allocations: 0.666 MB / 1.202 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00798/1.242, allocations: 2.608 MB / 1.204 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=313): time 8.04e-06/1.242, allocations: 4 kB / 1.204 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of matching and sorting (n=313): time 0.03461/1.276, allocations: 9.348 MB / 1.213 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/1.277, allocations: 214.4 kB / 1.214 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005293/1.282, allocations: 2.637 MB / 1.216 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0007226/1.283, allocations: 81.7 kB / 1.216 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001994/1.285, allocations: 1.532 MB / 1.218 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001801/1.287, allocations: 1.039 MB / 1.219 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/1.287, allocations: 56 kB / 1.219 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000333/1.287, allocations: 423.4 kB / 1.219 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006743/1.294, allocations: 2.066 MB / 1.221 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00948/1.304, allocations: 2.423 MB / 1.224 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/1.316, allocations: 2.253 MB / 1.226 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/1.316, allocations: 0 / 1.226 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.03222/1.348, allocations: 5.564 MB / 1.231 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/1.348, allocations: 4 kB / 1.231 GB, free: 4.543 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.277e-05/1.348, allocations: 8 kB / 1.231 GB, free: 4.535 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004855/1.353, allocations: 0.8435 MB / 1.232 GB, free: 3.688 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009982/1.363, allocations: 0.7566 MB / 1.233 GB, free: 2.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0298/1.393, allocations: 7.2 MB / 1.24 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008869/1.402, allocations: 0.5571 MB / 1.24 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008637/1.403, allocations: 111.9 kB / 1.241 GB, free: 10.93 MB / 0.7761 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 (281): * Single equations (assignments): 280 * 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 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005321/1.408, allocations: 1.013 MB / 1.242 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000983/1.409, allocations: 300.2 kB / 1.242 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01934/1.428, allocations: 6.191 MB / 1.248 GB, free: 3.355 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-05/1.429, allocations: 35.95 kB / 1.248 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-05/1.429, allocations: 8 kB / 1.248 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.104e-05/1.429, allocations: 19.94 kB / 1.248 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02988/1.459, allocations: 10.47 MB / 1.258 GB, free: 8.695 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/1.459, allocations: 0 / 1.258 GB, free: 8.695 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007333/1.466, allocations: 0.7255 MB / 1.259 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00282/1.469, allocations: 0.7457 MB / 1.26 GB, free: 7.211 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007396/1.47, allocations: 83.94 kB / 1.26 GB, free: 7.129 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01727/1.487, allocations: 9.999 MB / 1.269 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.083e-06/1.487, allocations: 3.953 kB / 1.269 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03322/1.52, allocations: 8.75 MB / 1.278 GB, free: 3.859 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003099/1.523, allocations: 0.9335 MB / 1.279 GB, free: 2.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009271/1.524, allocations: 63.95 kB / 1.279 GB, free: 2.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004099/1.528, allocations: 407.3 kB / 1.279 GB, free: 2.441 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006692/1.529, allocations: 214.3 kB / 1.28 GB, free: 2.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004279/1.529, allocations: 99.94 kB / 1.28 GB, free: 2.133 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.004012/1.533, allocations: 1.911 MB / 1.282 GB, free: 220 kB / 0.8073 GB Notification: Performance of sort global known variables: time 1.2e-06/1.534, allocations: 3.938 kB / 1.282 GB, free: 216 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.005016/1.539, allocations: 1.192 MB / 1.283 GB, free: 15.02 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (267): * Single equations (assignments): 259 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 49,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003818/1.542, allocations: 1.003 MB / 1.284 GB, free: 14.29 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01619/1.559, allocations: 5.286 MB / 1.289 GB, free: 8.969 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.702e-06/1.559, allocations: 4 kB / 1.289 GB, free: 8.965 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.009335/1.568, allocations: 3.223 MB / 1.292 GB, free: 5.695 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004265/1.572, allocations: 0.6546 MB / 1.293 GB, free: 5.047 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02475/1.597, allocations: 10.3 MB / 1.303 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00397/1.601, allocations: 2.756 MB / 1.305 GB, free: 7.922 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.006466/1.608, allocations: 1.141 MB / 1.306 GB, free: 6.777 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001793/1.609, allocations: 267.3 kB / 1.307 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of SimCode: time 1.676e-06/1.609, allocations: 0 / 1.307 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of Templates: time 0.1312/1.741, allocations: 49.94 MB / 1.356 GB, free: 4.785 MB / 0.8855 GB