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.001188/0.001188, allocations: 104 kB / 16.94 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.333/1.333, allocations: 222.9 MB / 241.6 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7984/0.7984, allocations: 122.9 MB / 414.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 67.91 kB / 0.4917 GB, free: 7.465 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4603, allocations: 77.92 MB / 0.5678 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.2002/0.6606, allocations: 165 MB / 0.7289 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5939/1.254, allocations: 27.79 MB / 0.7561 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005172/1.26, allocations: 88.34 kB / 0.7562 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003654/1.263, allocations: 1.198 MB / 0.7573 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007573/1.271, allocations: 2.071 MB / 0.7593 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006033/1.277, allocations: 2.06 MB / 0.7614 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01049/1.288, allocations: 6.569 MB / 0.7678 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00825/1.296, allocations: 4.918 MB / 0.7726 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005976/1.302, allocations: 2.475 MB / 0.775 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005269/1.307, allocations: 3.011 MB / 0.7779 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001962/1.309, allocations: 0.554 MB / 0.7785 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004022/1.313, allocations: 1.143 MB / 0.7796 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00222/1.315, allocations: 1.427 MB / 0.781 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004787/1.32, allocations: 2.593 MB / 0.7835 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0088/1.329, allocations: 7.109 MB / 0.7905 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.329, allocations: 0 / 0.7905 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.943e-06/1.329, allocations: 0.9375 kB / 0.7905 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002476/1.329, allocations: 0 / 0.7905 GB, free: 15.21 MB / 0.5919 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.0152/1.345, allocations: 5.445 MB / 0.7958 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.345, allocations: 9.656 kB / 0.7958 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/1.359, allocations: 2.856 MB / 0.7986 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006336/1.365, allocations: 2.624 MB / 0.8011 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002689/1.365, allocations: 289.2 kB / 0.8014 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001358/1.367, allocations: 381.2 kB / 0.8018 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/1.381, allocations: 5.928 MB / 0.8076 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.281e-05/1.381, allocations: 4.5 kB / 0.8076 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000538/1.381, allocations: 161.7 kB / 0.8077 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/1.381, allocations: 101.2 kB / 0.8078 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01804/1.399, allocations: 7.046 MB / 0.8147 GB, free: 7.867 MB / 0.5919 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.03864/1.438, allocations: 18.68 MB / 0.8329 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/1.449, allocations: 4.8 MB / 0.8376 GB, free: 232 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006652/1.456, allocations: 3.069 MB / 0.8406 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/1.457, allocations: 0.6741 MB / 0.8413 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007188/1.464, allocations: 2.976 MB / 0.8442 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=336): time 6.161e-06/1.464, allocations: 0 / 0.8442 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of matching and sorting (n=336): time 0.02998/1.494, allocations: 10.17 MB / 0.8541 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/1.495, allocations: 214.6 kB / 0.8543 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004981/1.499, allocations: 2.798 MB / 0.8571 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0009208/1.5, allocations: 92.89 kB / 0.8571 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001704/1.502, allocations: 1.596 MB / 0.8587 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001838/1.504, allocations: 1.101 MB / 0.8598 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002424/1.506, allocations: 0.5766 MB / 0.8603 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001066/1.507, allocations: 309.7 kB / 0.8606 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005755/1.512, allocations: 2.316 MB / 0.8629 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006434/1.519, allocations: 2.672 MB / 0.8655 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/1.531, allocations: 4.922 MB / 0.8703 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.786e-05/1.531, allocations: 4 kB / 0.8703 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01706/1.548, allocations: 6.103 MB / 0.8763 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/1.548, allocations: 4 kB / 0.8763 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/1.548, allocations: 4 kB / 0.8763 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/1.55, allocations: 0.8318 MB / 0.8771 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004728/1.555, allocations: 0.8423 MB / 0.8779 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/1.566, allocations: 7.587 MB / 0.8853 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004993/1.571, allocations: 0.6137 MB / 0.8859 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009516/1.572, allocations: 127.9 kB / 0.8861 GB, free: 14.09 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 318 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003495/1.575, allocations: 1.083 MB / 0.8871 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001473/1.577, allocations: 324 kB / 0.8874 GB, free: 12.71 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01792/1.595, allocations: 6.756 MB / 0.894 GB, free: 5.93 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/1.595, allocations: 32 kB / 0.8941 GB, free: 5.898 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.619e-05/1.595, allocations: 15.94 kB / 0.8941 GB, free: 5.883 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.82e-05/1.595, allocations: 15.94 kB / 0.8941 GB, free: 5.867 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00832/1.603, allocations: 4.406 MB / 0.8984 GB, free: 1.461 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.567e-05/1.603, allocations: 0 / 0.8984 GB, free: 1.461 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004476/1.608, allocations: 0.7924 MB / 0.8992 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/1.61, allocations: 0.7424 MB / 0.8999 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008169/1.611, allocations: 91.91 kB / 0.9 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/1.623, allocations: 10.66 MB / 0.9104 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.623, allocations: 0 / 0.9104 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02363/1.647, allocations: 9.578 MB / 0.9197 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002751/1.649, allocations: 0.9607 MB / 0.9207 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001346/1.651, allocations: 75.89 kB / 0.9207 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004341/1.655, allocations: 437.7 kB / 0.9212 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009017/1.656, allocations: 249.5 kB / 0.9214 GB, free: 9.445 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006112/1.657, allocations: 119.9 kB / 0.9215 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003619/1.66, allocations: 2.025 MB / 0.9235 GB, free: 7.301 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.41e-07/1.66, allocations: 0 / 0.9235 GB, free: 7.301 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004968/1.665, allocations: 1.321 MB / 0.9248 GB, free: 5.977 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003082/1.668, allocations: 1.065 MB / 0.9258 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.02621/1.695, allocations: 10.14 MB / 0.9357 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.695, allocations: 4 kB / 0.9357 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008465/1.703, allocations: 3.467 MB / 0.9391 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007788/1.711, allocations: 0.8361 MB / 0.9399 GB, free: 6.988 MB / 0.7169 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02272/1.734, allocations: 9.444 MB / 0.9492 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003714/1.737, allocations: 2.695 MB / 0.9518 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003822/1.741, allocations: 343.2 kB / 0.9521 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of SimCode: time 1.653e-06/1.741, allocations: 0 / 0.9521 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.4616/2.203, allocations: 107.9 MB / 1.058 GB, free: 356.1 MB / 0.795 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)