Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008826/0.0008826, allocations: 97.2 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.0009312/0.0009312, allocations: 176.3 kB / 16.57 MB, free: 6.398 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.301/1.301, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6497/0.6497, allocations: 113.8 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005135/0.0005136, allocations: 8.812 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1533, allocations: 77.15 MB / 0.5568 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.3996/0.5529, allocations: 138.1 MB / 0.6917 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03149/0.5845, allocations: 23.64 MB / 0.7148 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003073/0.5876, allocations: 71.62 kB / 0.7148 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002924/0.5905, allocations: 1.05 MB / 0.7159 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00744/0.598, allocations: 2.416 MB / 0.7182 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005336/0.6033, allocations: 1.895 MB / 0.7201 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006487/0.6098, allocations: 3.8 MB / 0.7238 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004539/0.6144, allocations: 3.462 MB / 0.7272 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.6172, allocations: 1.603 MB / 0.7287 GB, free: 9.414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003084/0.6203, allocations: 2.011 MB / 0.7307 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006985/0.621, allocations: 148 kB / 0.7308 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.6229, allocations: 0.6165 MB / 0.7314 GB, free: 6.633 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000856/0.6238, allocations: 0.8833 MB / 0.7323 GB, free: 5.746 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.6248, allocations: 0.7883 MB / 0.7331 GB, free: 4.949 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005495/0.6303, allocations: 5.362 MB / 0.7383 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6304, allocations: 4 kB / 0.7383 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6304, allocations: 0 / 0.7383 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001855/0.6306, allocations: 0 / 0.7383 GB, free: 15.57 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 989 * Number of variables: 989 Notification: Performance of Generate backend data structure: time 0.01046/0.641, allocations: 4.624 MB / 0.7428 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.6411, allocations: 8.031 kB / 0.7428 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/0.6549, allocations: 2.97 MB / 0.7457 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005533/0.6605, allocations: 2.504 MB / 0.7482 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.6607, allocations: 291.8 kB / 0.7485 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009426/0.6617, allocations: 379.9 kB / 0.7488 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0133/0.675, allocations: 5.918 MB / 0.7546 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.179e-05/0.6751, allocations: 0 / 0.7546 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004392/0.6756, allocations: 163.9 kB / 0.7548 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.419e-05/0.6756, allocations: 99.98 kB / 0.7549 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01703/0.6927, allocations: 7.097 MB / 0.7618 GB, free: 7.305 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.03527/0.728, allocations: 17.93 MB / 0.7793 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.7388, allocations: 4.787 MB / 0.784 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.7398, allocations: 0.6778 MB / 0.7846 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006879/0.7467, allocations: 2.958 MB / 0.7875 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=336): time 7.223e-06/0.7468, allocations: 0 / 0.7875 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=336): time 0.02763/0.7744, allocations: 10.07 MB / 0.7974 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.7746, allocations: 222.5 kB / 0.7976 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003959/0.7785, allocations: 2.794 MB / 0.8003 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0006068/0.7792, allocations: 89.69 kB / 0.8004 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.7805, allocations: 1.594 MB / 0.8019 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00135/0.7818, allocations: 1.101 MB / 0.803 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004441/0.7823, allocations: 63.94 kB / 0.8031 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002374/0.7826, allocations: 420.1 kB / 0.8035 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006384/0.7889, allocations: 2.293 MB / 0.8057 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006123/0.7951, allocations: 2.648 MB / 0.8083 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006593/0.8017, allocations: 2.451 MB / 0.8107 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.8017, allocations: 7.875 kB / 0.8107 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01471/0.8165, allocations: 6.022 MB / 0.8166 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.8165, allocations: 12 kB / 0.8166 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.8165, allocations: 4 kB / 0.8166 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.8185, allocations: 0.8121 MB / 0.8174 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005122/0.8236, allocations: 0.8385 MB / 0.8182 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.8345, allocations: 7.235 MB / 0.8253 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004543/0.8391, allocations: 0.6391 MB / 0.8259 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007237/0.8398, allocations: 119.9 kB / 0.826 GB, free: 4.074 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 (311): * Single equations (assignments): 310 * 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.002846/0.8427, allocations: 1.083 MB / 0.8271 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/0.8437, allocations: 331.9 kB / 0.8274 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2611/1.105, allocations: 6.762 MB / 0.834 GB, free: 224.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.368e-05/1.105, allocations: 33.19 kB / 0.834 GB, free: 224.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/1.105, allocations: 10.3 kB / 0.834 GB, free: 224.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.463e-05/1.105, allocations: 16.69 kB / 0.8341 GB, free: 224.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006971/1.112, allocations: 4.393 MB / 0.8383 GB, free: 223.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-05/1.112, allocations: 2.766 kB / 0.8384 GB, free: 223.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00426/1.116, allocations: 0.7904 MB / 0.8391 GB, free: 223.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/1.118, allocations: 0.7422 MB / 0.8398 GB, free: 223.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004482/1.119, allocations: 92.47 kB / 0.8399 GB, free: 223 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/1.129, allocations: 10 MB / 0.8497 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.129, allocations: 3.953 kB / 0.8497 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.021/1.15, allocations: 9.559 MB / 0.859 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003187/1.153, allocations: 1.008 MB / 0.86 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009694/1.154, allocations: 74.28 kB / 0.8601 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003817/1.158, allocations: 486 kB / 0.8606 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007066/1.159, allocations: 244.2 kB / 0.8608 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004106/1.159, allocations: 124.5 kB / 0.8609 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003162/1.163, allocations: 2.029 MB / 0.8629 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.21e-07/1.163, allocations: 0 / 0.8629 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003919/1.167, allocations: 1.281 MB / 0.8641 GB, free: 211.2 MB / 0.6387 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: 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 (295): * Single equations (assignments): 280 * 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: 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.002335/1.169, allocations: 1.061 MB / 0.8652 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01225/1.181, allocations: 5.771 MB / 0.8708 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.181, allocations: 7.094 kB / 0.8708 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006906/1.188, allocations: 3.481 MB / 0.8742 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/1.192, allocations: 0.6657 MB / 0.8749 GB, free: 206.2 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.01605/1.208, allocations: 10.9 MB / 0.8855 GB, free: 195.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001822/1.21, allocations: 2.869 MB / 0.8883 GB, free: 192.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004402/1.214, allocations: 1.203 MB / 0.8895 GB, free: 191.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/1.215, allocations: 303.2 kB / 0.8898 GB, free: 191.4 MB / 0.6387 GB Notification: Performance of SimCode: time 9.02e-07/1.215, allocations: 0 / 0.8898 GB, free: 191.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.07221/1.287, allocations: 53.59 MB / 0.9421 GB, free: 138.3 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)