Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.814/2.814, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001458/0.001458, allocations: 169.1 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.143/2.143, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001197/0.001196, allocations: 82.92 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004802, allocations: 11.12 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.9487/1.17, allocations: 136.7 MB / 1.112 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04232/1.213, allocations: 22.65 MB / 1.134 GB, free: 15.31 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00473/1.217, allocations: 63.38 kB / 1.134 GB, free: 15.29 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004212/1.222, allocations: 0.9939 MB / 1.135 GB, free: 15.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01013/1.232, allocations: 2.163 MB / 1.137 GB, free: 14.99 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007999/1.24, allocations: 1.697 MB / 1.139 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008768/1.249, allocations: 3.154 MB / 1.142 GB, free: 14.1 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00674/1.255, allocations: 3.025 MB / 1.145 GB, free: 12.91 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004312/1.26, allocations: 1.381 MB / 1.146 GB, free: 12.38 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004858/1.265, allocations: 1.73 MB / 1.148 GB, free: 11.59 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.00127/1.266, allocations: 120.2 kB / 1.148 GB, free: 11.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003694/1.27, allocations: 0.5313 MB / 1.148 GB, free: 11.5 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001871/1.272, allocations: 0.7532 MB / 1.149 GB, free: 11.16 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001921/1.274, allocations: 0.6738 MB / 1.15 GB, free: 10.99 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00926/1.283, allocations: 4.569 MB / 1.154 GB, free: 8.285 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.283, allocations: 0 / 1.154 GB, free: 8.285 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.976e-06/1.283, allocations: 0 / 1.154 GB, free: 8.285 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002707/1.283, allocations: 0 / 1.154 GB, free: 8.285 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.01662/1.3, allocations: 4.013 MB / 1.158 GB, free: 5.637 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/1.3, allocations: 9.188 kB / 1.158 GB, free: 5.637 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02474/1.325, allocations: 2.722 MB / 1.161 GB, free: 4.379 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008235/1.333, allocations: 2.234 MB / 1.163 GB, free: 2.824 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/1.333, allocations: 259.7 kB / 1.163 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001734/1.335, allocations: 329.5 kB / 1.163 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02302/1.358, allocations: 5.191 MB / 1.169 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/1.358, allocations: 6.781 kB / 1.169 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001085/1.359, allocations: 136 kB / 1.169 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/1.36, allocations: 84.92 kB / 1.169 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02822/1.388, allocations: 6.336 MB / 1.175 GB, free: 12.41 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.05138/1.439, allocations: 15.48 MB / 1.19 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01754/1.457, allocations: 4.097 MB / 1.194 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001973/1.459, allocations: 0.6697 MB / 1.195 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01189/1.471, allocations: 2.456 MB / 1.197 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=286): time 7.254e-06/1.471, allocations: 0 / 1.197 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of matching and sorting (n=286): time 0.04247/1.513, allocations: 8.038 MB / 1.205 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/1.514, allocations: 222.1 kB / 1.205 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006199/1.52, allocations: 2.496 MB / 1.208 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001081/1.521, allocations: 73.7 kB / 1.208 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002191/1.523, allocations: 1.42 MB / 1.209 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002221/1.525, allocations: 0.9509 MB / 1.21 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003798/1.526, allocations: 52 kB / 1.21 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003166/1.526, allocations: 407 kB / 1.21 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008923/1.535, allocations: 1.945 MB / 1.212 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009805/1.545, allocations: 2.259 MB / 1.215 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00983/1.555, allocations: 2.122 MB / 1.217 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/1.555, allocations: 5.859 kB / 1.217 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.02397/1.579, allocations: 5.079 MB / 1.222 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/1.579, allocations: 8.406 kB / 1.222 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/1.579, allocations: 8 kB / 1.222 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002285/1.581, allocations: 0.5376 MB / 1.222 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007935/1.589, allocations: 0.741 MB / 1.223 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/1.603, allocations: 5.458 MB / 1.228 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00702/1.61, allocations: 0.5206 MB / 1.229 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/1.611, allocations: 104 kB / 1.229 GB, free: 6.82 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 (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.004174/1.616, allocations: 0.9676 MB / 1.23 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/1.617, allocations: 276.5 kB / 1.23 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02797/1.645, allocations: 5.694 MB / 1.236 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.317e-05/1.645, allocations: 35.95 kB / 1.236 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/1.645, allocations: 4 kB / 1.236 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.971e-05/1.645, allocations: 11.95 kB / 1.236 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03859/1.684, allocations: 9.654 MB / 1.245 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-05/1.684, allocations: 0 / 1.245 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007711/1.692, allocations: 0.7078 MB / 1.246 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002644/1.694, allocations: 0.5219 MB / 1.246 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009993/1.695, allocations: 79.94 kB / 1.246 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/1.71, allocations: 7.123 MB / 1.253 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.71, allocations: 0 / 1.253 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03412/1.744, allocations: 8.076 MB / 1.261 GB, free: 5.098 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004049/1.748, allocations: 0.887 MB / 1.262 GB, free: 4.188 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00167/1.75, allocations: 52 kB / 1.262 GB, free: 4.137 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006968/1.757, allocations: 407.1 kB / 1.262 GB, free: 3.738 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00127/1.758, allocations: 186.1 kB / 1.263 GB, free: 3.555 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006518/1.759, allocations: 103.9 kB / 1.263 GB, free: 3.453 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.005008/1.764, allocations: 1.814 MB / 1.264 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.51e-07/1.764, allocations: 0 / 1.264 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.006518/1.771, allocations: 1.081 MB / 1.266 GB, free: 0.5469 MB / 0.7917 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.004022/1.775, allocations: 1 MB / 1.267 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02134/1.796, allocations: 4.862 MB / 1.271 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.796, allocations: 0 / 1.271 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01188/1.808, allocations: 2.85 MB / 1.274 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006156/1.814, allocations: 0.6018 MB / 1.275 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03038/1.845, allocations: 9.572 MB / 1.284 GB, free: 13.89 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00537/1.85, allocations: 2.6 MB / 1.287 GB, free: 11.26 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.009035/1.859, allocations: 1.1 MB / 1.288 GB, free: 10.16 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002844/1.862, allocations: 271.2 kB / 1.288 GB, free: 9.895 MB / 0.823 GB Notification: Performance of SimCode: time 1.553e-06/1.862, allocations: 0 / 1.288 GB, free: 9.895 MB / 0.823 GB Notification: Performance of Templates: time 0.1326/1.995, allocations: 45.55 MB / 1.332 GB, free: 12.58 MB / 0.8698 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)