Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001454, allocations: 177.1 kB / 16.57 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6594/0.6594, allocations: 113.8 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002891, allocations: 8 kB / 493 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1246, allocations: 77.14 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.3833/0.5079, allocations: 137 MB / 0.6906 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02749/0.5354, allocations: 23.21 MB / 0.7133 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002622/0.5381, allocations: 79.5 kB / 0.7133 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.5404, allocations: 0.9955 MB / 0.7143 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006121/0.5466, allocations: 2.284 MB / 0.7166 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004665/0.5512, allocations: 1.779 MB / 0.7183 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005334/0.5566, allocations: 3.347 MB / 0.7216 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003911/0.5605, allocations: 3.232 MB / 0.7247 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.5627, allocations: 1.483 MB / 0.7262 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/0.5651, allocations: 1.836 MB / 0.728 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004053/0.5656, allocations: 128 kB / 0.7281 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.5671, allocations: 0.6009 MB / 0.7287 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006939/0.5678, allocations: 0.8016 MB / 0.7294 GB, free: 8.617 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008108/0.5686, allocations: 0.7143 MB / 0.7301 GB, free: 7.895 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004496/0.5731, allocations: 4.929 MB / 0.735 GB, free: 2.953 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.5732, allocations: 0 / 0.735 GB, free: 2.953 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5732, allocations: 0 / 0.735 GB, free: 2.953 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001296/0.5733, allocations: 0 / 0.735 GB, free: 2.953 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.008867/0.5822, allocations: 4.311 MB / 0.7392 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.5822, allocations: 8.031 kB / 0.7392 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/0.5957, allocations: 2.928 MB / 0.742 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005129/0.6008, allocations: 2.369 MB / 0.7443 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.6011, allocations: 275.1 kB / 0.7446 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007446/0.6018, allocations: 344 kB / 0.7449 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/0.6143, allocations: 5.568 MB / 0.7504 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-05/0.6144, allocations: 11.92 kB / 0.7504 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004066/0.6148, allocations: 148 kB / 0.7505 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.577e-05/0.6148, allocations: 88 kB / 0.7506 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01653/0.6314, allocations: 6.778 MB / 0.7572 GB, free: 11.89 MB / 0.5762 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.03106/0.6625, allocations: 16.25 MB / 0.7731 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009647/0.6721, allocations: 4.376 MB / 0.7774 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009969/0.6732, allocations: 0.6737 MB / 0.778 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006513/0.6797, allocations: 2.803 MB / 0.7808 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=309): time 5.891e-06/0.6797, allocations: 0 / 0.7808 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of matching and sorting (n=309): time 0.02588/0.7056, allocations: 8.808 MB / 0.7894 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.7058, allocations: 214.3 kB / 0.7896 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004424/0.7102, allocations: 2.644 MB / 0.7922 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0008784/0.7111, allocations: 85.7 kB / 0.7922 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.7126, allocations: 1.483 MB / 0.7937 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001576/0.7142, allocations: 1.013 MB / 0.7947 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006228/0.7149, allocations: 51.94 kB / 0.7947 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002792/0.7152, allocations: 415.5 kB / 0.7951 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005374/0.7205, allocations: 2.171 MB / 0.7972 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005701/0.7263, allocations: 2.491 MB / 0.7997 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005726/0.732, allocations: 2.315 MB / 0.8019 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-05/0.7321, allocations: 4 kB / 0.8019 GB, free: 13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01456/0.7466, allocations: 5.545 MB / 0.8074 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.7467, allocations: 11.95 kB / 0.8074 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.7467, allocations: 4 kB / 0.8074 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.748, allocations: 0.5417 MB / 0.8079 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004536/0.7526, allocations: 0.8307 MB / 0.8087 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007602/0.7602, allocations: 5.461 MB / 0.814 GB, free: 436 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004807/0.765, allocations: 0.6102 MB / 0.8146 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/0.7663, allocations: 115.9 kB / 0.8148 GB, free: 15.7 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[2].incAng.decAng.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 (302): * Single equations (assignments): 301 * 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.003877/0.7701, allocations: 1.024 MB / 0.8158 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/0.7714, allocations: 308.2 kB / 0.816 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/0.7884, allocations: 6.269 MB / 0.8222 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.458e-05/0.7885, allocations: 32 kB / 0.8222 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/0.7885, allocations: 4 kB / 0.8222 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.893e-05/0.7886, allocations: 19.94 kB / 0.8222 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007287/0.7958, allocations: 4.109 MB / 0.8262 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.643e-05/0.7959, allocations: 3.938 kB / 0.8262 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004302/0.8002, allocations: 0.7761 MB / 0.827 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001614/0.8019, allocations: 0.5225 MB / 0.8275 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006376/0.8025, allocations: 87.92 kB / 0.8276 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2687/1.071, allocations: 7.094 MB / 0.8345 GB, free: 224.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.071, allocations: 1.609 kB / 0.8345 GB, free: 224.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02062/1.092, allocations: 8.882 MB / 0.8432 GB, free: 221.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002531/1.094, allocations: 0.9522 MB / 0.8441 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006779/1.095, allocations: 69.92 kB / 0.8442 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003606/1.099, allocations: 471.7 kB / 0.8446 GB, free: 220.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006294/1.099, allocations: 231.6 kB / 0.8449 GB, free: 220.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003865/1.1, allocations: 115.8 kB / 0.845 GB, free: 220.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003105/1.103, allocations: 1.917 MB / 0.8468 GB, free: 220 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.91e-07/1.103, allocations: 0 / 0.8468 GB, free: 220 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003434/1.106, allocations: 1.163 MB / 0.848 GB, free: 219.8 MB / 0.6387 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: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.002445/1.109, allocations: 1.053 MB / 0.849 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01171/1.121, allocations: 5.369 MB / 0.8543 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.121, allocations: 1.375 kB / 0.8543 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006387/1.127, allocations: 3.113 MB / 0.8573 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/1.13, allocations: 0.621 MB / 0.8579 GB, free: 216.5 MB / 0.6387 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/1.144, allocations: 10.14 MB / 0.8678 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/1.146, allocations: 2.712 MB / 0.8704 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004382/1.15, allocations: 1.184 MB / 0.8716 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/1.151, allocations: 291.3 kB / 0.8719 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/1.151, allocations: 0 / 0.8719 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.06567/1.217, allocations: 49.16 MB / 0.9199 GB, free: 161.3 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)