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.001359/0.001359, allocations: 117 kB / 17.09 MB, free: 5.938 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.001384/0.001384, allocations: 198.9 kB / 18.02 MB, free: 5.023 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.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7778/0.7778, allocations: 115.3 MB / 407.2 MB, free: 6.238 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 66.27 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1436, allocations: 76.18 MB / 0.6327 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5052/0.6488, allocations: 161.9 MB / 0.7909 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02915/0.678, allocations: 26.94 MB / 0.8172 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003371/0.6814, allocations: 71.09 kB / 0.8172 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.684, allocations: 1.052 MB / 0.8183 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005535/0.6896, allocations: 1.814 MB / 0.82 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00471/0.6943, allocations: 1.733 MB / 0.8217 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006732/0.7011, allocations: 5.302 MB / 0.8269 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005669/0.7068, allocations: 4.169 MB / 0.831 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003945/0.7107, allocations: 2.137 MB / 0.8331 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003943/0.7147, allocations: 2.528 MB / 0.8355 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001218/0.7159, allocations: 462.8 kB / 0.836 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.7189, allocations: 1.056 MB / 0.837 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001763/0.7207, allocations: 1.177 MB / 0.8382 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003638/0.7243, allocations: 2.127 MB / 0.8402 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007765/0.7321, allocations: 5.975 MB / 0.8461 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.7322, allocations: 0 / 0.8461 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.547e-06/0.7322, allocations: 0 / 0.8461 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001753/0.7324, allocations: 7.875 kB / 0.8461 GB, free: 6.867 MB / 0.6075 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.01061/0.743, allocations: 4.636 MB / 0.8506 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.743, allocations: 8.031 kB / 0.8506 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/0.7568, allocations: 2.773 MB / 0.8533 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00464/0.7615, allocations: 2.317 MB / 0.8556 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.7617, allocations: 242.4 kB / 0.8558 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007556/0.7624, allocations: 308 kB / 0.8561 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/0.7746, allocations: 5.166 MB / 0.8612 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.95e-05/0.7747, allocations: 0 / 0.8612 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003951/0.7751, allocations: 132 kB / 0.8613 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.999e-05/0.7752, allocations: 83.94 kB / 0.8614 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/0.7907, allocations: 6.291 MB / 0.8675 GB, free: 0.7109 MB / 0.6231 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.02625/0.817, allocations: 14.79 MB / 0.8819 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.8275, allocations: 4.709 MB / 0.8865 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005273/0.8329, allocations: 2.448 MB / 0.8889 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008781/0.8338, allocations: 0.6677 MB / 0.8896 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005602/0.8394, allocations: 2.628 MB / 0.8922 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=278): time 4.608e-06/0.8394, allocations: 0 / 0.8922 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of matching and sorting (n=278): time 0.01753/0.8569, allocations: 7.4 MB / 0.8994 GB, free: 15.29 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.8571, allocations: 218.1 kB / 0.8996 GB, free: 15.03 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003247/0.8603, allocations: 2.434 MB / 0.902 GB, free: 12.57 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004977/0.8609, allocations: 81.64 kB / 0.902 GB, free: 12.48 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001168/0.862, allocations: 1.336 MB / 0.9034 GB, free: 11.13 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001128/0.8632, allocations: 0.9081 MB / 0.9042 GB, free: 10.23 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009649/0.8641, allocations: 0.5047 MB / 0.9047 GB, free: 9.719 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.8642, allocations: 309.1 kB / 0.905 GB, free: 9.414 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004758/0.869, allocations: 2.031 MB / 0.907 GB, free: 7.379 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005219/0.8742, allocations: 2.337 MB / 0.9093 GB, free: 4.969 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.8844, allocations: 4.277 MB / 0.9135 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.8844, allocations: 4 kB / 0.9135 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01233/0.8968, allocations: 4.991 MB / 0.9183 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.8968, allocations: 5.406 kB / 0.9183 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.8968, allocations: 4.078 kB / 0.9184 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006495/0.8975, allocations: 246.4 kB / 0.9186 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004235/0.9017, allocations: 0.8034 MB / 0.9194 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004191/0.906, allocations: 3.376 MB / 0.9227 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00415/0.9101, allocations: 0.5596 MB / 0.9232 GB, free: 6.441 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006676/0.9108, allocations: 119.8 kB / 0.9233 GB, free: 6.324 MB / 0.6856 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 (300): * Single equations (assignments): 299 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002301/0.9131, allocations: 0.9499 MB / 0.9243 GB, free: 5.363 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008143/0.914, allocations: 272.6 kB / 0.9245 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.9275, allocations: 5.623 MB / 0.93 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/0.9275, allocations: 32 kB / 0.93 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.9276, allocations: 4 kB / 0.93 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.655e-05/0.9276, allocations: 15.94 kB / 0.9301 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005152/0.9328, allocations: 3.694 MB / 0.9337 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.9328, allocations: 3.938 kB / 0.9337 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003882/0.9367, allocations: 0.7372 MB / 0.9344 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008312/0.9375, allocations: 272.1 kB / 0.9346 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003636/0.9379, allocations: 79.92 kB / 0.9347 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004979/0.9429, allocations: 5.226 MB / 0.9398 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9429, allocations: 0 / 0.9398 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01834/0.9613, allocations: 8.03 MB / 0.9477 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/0.9633, allocations: 0.8288 MB / 0.9485 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006598/0.964, allocations: 71.83 kB / 0.9485 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003397/0.9674, allocations: 418 kB / 0.9489 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004743/0.9679, allocations: 206 kB / 0.9491 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002693/0.9682, allocations: 107.9 kB / 0.9492 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002527/0.9707, allocations: 1.781 MB / 0.951 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9707, allocations: 0 / 0.951 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00297/0.9737, allocations: 1.06 MB / 0.952 GB, free: 8.441 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,16,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.003069/0.9768, allocations: 1.064 MB / 0.9531 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01199/0.9888, allocations: 4.905 MB / 0.9579 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.9889, allocations: 0.6875 kB / 0.9579 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006674/0.9955, allocations: 2.778 MB / 0.9606 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003662/0.9992, allocations: 0.6947 MB / 0.9612 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/1.015, allocations: 7.876 MB / 0.9689 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002163/1.017, allocations: 2.377 MB / 0.9713 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002039/1.019, allocations: 323.2 kB / 0.9716 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/1.019, allocations: 0 / 0.9716 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of Templates: time 0.4106/1.43, allocations: 85.08 MB / 1.055 GB, free: 332.1 MB / 0.8106 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)