Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009275/0.0009275, allocations: 96.27 kB / 15.69 MB, free: 480 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.0009511/0.0009512, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.281/1.281, 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.6616/0.6616, allocations: 113.8 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002955/0.0002956, allocations: 8 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1223, allocations: 77.15 MB / 0.5568 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.3866/0.5089, allocations: 135.7 MB / 0.6894 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02655/0.5355, allocations: 22.74 MB / 0.7116 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.538, allocations: 63.62 kB / 0.7116 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.5406, allocations: 0.9451 MB / 0.7126 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006544/0.5472, allocations: 2.141 MB / 0.7147 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004739/0.5519, allocations: 1.672 MB / 0.7163 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004981/0.5569, allocations: 2.894 MB / 0.7191 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004253/0.5612, allocations: 2.924 MB / 0.722 GB, free: 364 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.5635, allocations: 1.335 MB / 0.7233 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.566, allocations: 1.646 MB / 0.7249 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006701/0.5667, allocations: 108 kB / 0.725 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.5686, allocations: 0.5736 MB / 0.7255 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008104/0.5695, allocations: 0.7121 MB / 0.7262 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007223/0.5702, allocations: 0.6325 MB / 0.7269 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004022/0.5742, allocations: 4.368 MB / 0.7311 GB, free: 6.949 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.5743, allocations: 0 / 0.7311 GB, free: 6.949 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5743, allocations: 3.938 kB / 0.7311 GB, free: 6.945 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001012/0.5744, allocations: 4 kB / 0.7311 GB, free: 6.941 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: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.008229/0.5826, allocations: 3.943 MB / 0.735 GB, free: 2.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.5827, allocations: 8.031 kB / 0.735 GB, free: 2.902 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.596, allocations: 2.889 MB / 0.7378 GB, free: 4 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004652/0.6007, allocations: 2.183 MB / 0.7399 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.6009, allocations: 238.4 kB / 0.7402 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006389/0.6015, allocations: 312 kB / 0.7405 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/0.6127, allocations: 5.154 MB / 0.7455 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-05/0.6127, allocations: 4 kB / 0.7455 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003553/0.6131, allocations: 136 kB / 0.7456 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.456e-05/0.6132, allocations: 76 kB / 0.7457 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.6277, allocations: 6.354 MB / 0.7519 GB, free: 1.395 MB / 0.5606 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.02543/0.6531, allocations: 14.16 MB / 0.7657 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/0.6644, allocations: 4.754 MB / 0.7704 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000924/0.6654, allocations: 0.6696 MB / 0.771 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005753/0.6712, allocations: 2.62 MB / 0.7736 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=278): time 5.751e-06/0.6712, allocations: 0 / 0.7736 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=278): time 0.0181/0.6893, allocations: 7.407 MB / 0.7808 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.6895, allocations: 214.1 kB / 0.781 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003435/0.6929, allocations: 2.434 MB / 0.7834 GB, free: 344 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004733/0.6934, allocations: 81.7 kB / 0.7835 GB, free: 256 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.6945, allocations: 1.349 MB / 0.7848 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/0.6956, allocations: 0.901 MB / 0.7857 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003238/0.696, allocations: 52 kB / 0.7857 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.6962, allocations: 398.9 kB / 0.7861 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004806/0.701, allocations: 2.007 MB / 0.7881 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005145/0.7062, allocations: 2.32 MB / 0.7903 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005084/0.7113, allocations: 2.129 MB / 0.7924 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.7113, allocations: 3.953 kB / 0.7924 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.01219/0.7235, allocations: 4.937 MB / 0.7972 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.7235, allocations: 11.98 kB / 0.7973 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.7236, allocations: 4 kB / 0.7973 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006313/0.7242, allocations: 225.4 kB / 0.7975 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004517/0.7287, allocations: 0.8426 MB / 0.7983 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004299/0.7331, allocations: 3.188 MB / 0.8014 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004583/0.7377, allocations: 0.5752 MB / 0.802 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007342/0.7384, allocations: 111.9 kB / 0.8021 GB, free: 12.88 MB / 0.6231 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 (292): * Single equations (assignments): 291 * 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 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003038/0.7415, allocations: 0.9461 MB / 0.803 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/0.7427, allocations: 276.6 kB / 0.8033 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01564/0.7584, allocations: 5.646 MB / 0.8088 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/0.7584, allocations: 28 kB / 0.8088 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.7585, allocations: 4 kB / 0.8088 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-05/0.7585, allocations: 15.94 kB / 0.8088 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005955/0.7645, allocations: 3.707 MB / 0.8124 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.901e-05/0.7645, allocations: 3.984 kB / 0.8124 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004302/0.7688, allocations: 0.7762 MB / 0.8132 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008712/0.7697, allocations: 258.4 kB / 0.8135 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005321/0.7703, allocations: 83.92 kB / 0.8135 GB, free: 1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004714/0.775, allocations: 4.873 MB / 0.8183 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.775, allocations: 0 / 0.8183 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01898/0.794, allocations: 8.026 MB / 0.8261 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002408/0.7965, allocations: 0.8793 MB / 0.827 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009295/0.7974, allocations: 63.98 kB / 0.827 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003675/0.8011, allocations: 447.3 kB / 0.8275 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005949/0.8017, allocations: 206 kB / 0.8277 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004491/0.8022, allocations: 111.9 kB / 0.8278 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002768/0.805, allocations: 1.777 MB / 0.8295 GB, free: 220 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.805, allocations: 0 / 0.8295 GB, free: 220 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.2693/1.074, allocations: 1.026 MB / 0.8305 GB, free: 226.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (276): * Single equations (assignments): 262 * 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 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002835/1.077, allocations: 1.035 MB / 0.8315 GB, free: 226.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01304/1.09, allocations: 4.85 MB / 0.8363 GB, free: 226.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.09, allocations: 0 / 0.8363 GB, free: 226.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.007242/1.097, allocations: 2.773 MB / 0.839 GB, free: 225.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003407/1.101, allocations: 0.5486 MB / 0.8395 GB, free: 225.1 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.0182/1.119, allocations: 9.202 MB / 0.8485 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003217/1.122, allocations: 2.516 MB / 0.8509 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00566/1.128, allocations: 1.143 MB / 0.8521 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001956/1.13, allocations: 285.6 kB / 0.8523 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of SimCode: time 1.413e-06/1.13, allocations: 0 / 0.8523 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.05967/1.19, allocations: 43.4 MB / 0.8947 GB, free: 187.4 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)