Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.815/2.815, allocations: 287.3 MB / 302.3 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 178.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 89.67 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004945, allocations: 15.11 kB / 0.8656 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2765, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 1.059/1.336, allocations: 135.9 MB / 1.111 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04338/1.379, allocations: 22.39 MB / 1.133 GB, free: 15.42 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004303/1.383, allocations: 60.59 kB / 1.133 GB, free: 15.4 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004026/1.388, allocations: 0.9633 MB / 1.134 GB, free: 15.23 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/1.398, allocations: 2.074 MB / 1.136 GB, free: 15.12 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008099/1.406, allocations: 1.625 MB / 1.137 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007988/1.414, allocations: 2.878 MB / 1.14 GB, free: 14.63 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006795/1.421, allocations: 2.862 MB / 1.143 GB, free: 13.5 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004194/1.425, allocations: 1.284 MB / 1.144 GB, free: 13 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004637/1.43, allocations: 1.612 MB / 1.146 GB, free: 12.26 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001275/1.431, allocations: 106.9 kB / 1.146 GB, free: 12.26 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003622/1.435, allocations: 0.5232 MB / 1.146 GB, free: 12.17 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001847/1.436, allocations: 0.7041 MB / 1.147 GB, free: 11.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001868/1.438, allocations: 0.6239 MB / 1.148 GB, free: 11.69 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008818/1.447, allocations: 4.247 MB / 1.152 GB, free: 9.184 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.447, allocations: 0 / 1.152 GB, free: 9.184 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.497e-06/1.447, allocations: 0 / 1.152 GB, free: 9.184 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002633/1.448, allocations: 0 / 1.152 GB, free: 9.184 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.01572/1.463, allocations: 3.797 MB / 1.156 GB, free: 6.879 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.463, allocations: 9.312 kB / 1.156 GB, free: 6.879 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02457/1.488, allocations: 2.697 MB / 1.158 GB, free: 5.641 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008007/1.496, allocations: 2.131 MB / 1.16 GB, free: 4.652 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003268/1.496, allocations: 240.2 kB / 1.161 GB, free: 4.543 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001641/1.498, allocations: 308.3 kB / 1.161 GB, free: 4.441 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/1.52, allocations: 4.953 MB / 1.166 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/1.52, allocations: 0 / 1.166 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001284/1.521, allocations: 137.1 kB / 1.166 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.208e-05/1.522, allocations: 77.59 kB / 1.166 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02784/1.549, allocations: 6.097 MB / 1.172 GB, free: 14.51 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.0486/1.598, allocations: 14.28 MB / 1.186 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02082/1.619, allocations: 4.589 MB / 1.19 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001622/1.621, allocations: 0.6658 MB / 1.191 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01047/1.631, allocations: 2.356 MB / 1.193 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=268): time 7.935e-06/1.631, allocations: 0 / 1.193 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=268): time 0.03554/1.667, allocations: 7.229 MB / 1.2 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/1.667, allocations: 210 kB / 1.2 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0057/1.673, allocations: 2.376 MB / 1.203 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0009653/1.674, allocations: 73.7 kB / 1.203 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001975/1.676, allocations: 1.353 MB / 1.204 GB, free: 368 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001993/1.678, allocations: 0.8819 MB / 1.205 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003513/1.678, allocations: 44 kB / 1.205 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000335/1.678, allocations: 400.6 kB / 1.205 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008563/1.687, allocations: 1.862 MB / 1.207 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009422/1.696, allocations: 2.163 MB / 1.209 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009389/1.706, allocations: 2.026 MB / 1.211 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/1.706, allocations: 0 / 1.211 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.02265/1.729, allocations: 4.727 MB / 1.216 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/1.729, allocations: 10.12 kB / 1.216 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/1.729, allocations: 4 kB / 1.216 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/1.73, allocations: 345.1 kB / 1.216 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00821/1.738, allocations: 0.7722 MB / 1.217 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009497/1.748, allocations: 4.02 MB / 1.221 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006748/1.755, allocations: 0.5013 MB / 1.221 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009853/1.756, allocations: 103.9 kB / 1.222 GB, free: 14.2 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.003818/1.76, allocations: 0.9149 MB / 1.222 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/1.761, allocations: 268.6 kB / 1.223 GB, free: 13 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02543/1.786, allocations: 5.354 MB / 1.228 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.828e-05/1.786, allocations: 32 kB / 1.228 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/1.786, allocations: 4 kB / 1.228 GB, free: 7.547 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.367e-05/1.787, allocations: 15.94 kB / 1.228 GB, free: 7.531 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03581/1.822, allocations: 9.055 MB / 1.237 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/1.822, allocations: 0 / 1.237 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007882/1.83, allocations: 0.7177 MB / 1.238 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/1.832, allocations: 390.5 kB / 1.238 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008736/1.833, allocations: 75.92 kB / 1.238 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/1.844, allocations: 5.887 MB / 1.244 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/1.844, allocations: 4 kB / 1.244 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0316/1.876, allocations: 7.606 MB / 1.251 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003418/1.879, allocations: 0.8404 MB / 1.252 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/1.88, allocations: 63.94 kB / 1.252 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006051/1.886, allocations: 387.4 kB / 1.252 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00105/1.887, allocations: 174 kB / 1.253 GB, free: 13.81 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00059/1.888, allocations: 95.92 kB / 1.253 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.004577/1.893, allocations: 1.732 MB / 1.254 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.584e-06/1.893, allocations: 0 / 1.254 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.006527/1.899, allocations: 0.9991 MB / 1.255 GB, free: 10.97 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.003924/1.903, allocations: 0.995 MB / 1.256 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.02741/1.931, allocations: 4.57 MB / 1.261 GB, free: 5.699 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.741e-05/1.931, allocations: 4 kB / 1.261 GB, free: 5.695 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.01658/1.947, allocations: 2.662 MB / 1.263 GB, free: 3.008 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008175/1.956, allocations: 0.5594 MB / 1.264 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04187/1.997, allocations: 9.024 MB / 1.273 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006568/2.004, allocations: 2.494 MB / 1.275 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.01247/2.017, allocations: 1.111 MB / 1.276 GB, free: 5.746 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004587/2.021, allocations: 259.3 kB / 1.277 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of SimCode: time 1.042e-06/2.021, allocations: 0 / 1.277 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of Templates: time 0.1217/2.143, allocations: 42.19 MB / 1.318 GB, free: 11.5 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)