Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7182/0.7183, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 403.3 MB, free: 7.055 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 97.62 kB / 484.4 MB, free: 8.66 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 51.92 kB / 0.5618 GB, free: 71.01 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1527, allocations: 80.2 MB / 0.6402 GB, free: 6.742 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.6197/0.7724, allocations: 199.7 MB / 0.8352 GB, free: 11.27 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02592/0.7984, allocations: 15.15 MB / 0.85 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005622/0.8041, allocations: 87.5 kB / 0.8501 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.003865/0.808, allocations: 1.143 MB / 0.8512 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.008218/0.8163, allocations: 2.423 MB / 0.8536 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.006118/0.8224, allocations: 1.94 MB / 0.8555 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.01049/0.8329, allocations: 7.413 MB / 0.8627 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009311/0.8422, allocations: 4.92 MB / 0.8675 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005702/0.848, allocations: 2.21 MB / 0.8697 GB, free: 7.848 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005593/0.8536, allocations: 2.937 MB / 0.8725 GB, free: 4.902 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001505/0.8551, allocations: 312 kB / 0.8728 GB, free: 4.598 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005145/0.8603, allocations: 1.844 MB / 0.8746 GB, free: 2.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001977/0.8623, allocations: 1.339 MB / 0.8759 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.004067/0.8664, allocations: 2.358 MB / 0.8782 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.009702/0.8761, allocations: 7.462 MB / 0.8855 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.333e-05/0.8762, allocations: 0 / 0.8855 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8762, allocations: 4 kB / 0.8855 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002564/0.8765, allocations: 4 kB / 0.8855 GB, free: 7.539 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01488/0.8914, allocations: 5.617 MB / 0.891 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.8914, allocations: 12.03 kB / 0.891 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/0.9061, allocations: 2.997 MB / 0.894 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006618/0.9128, allocations: 2.679 MB / 0.8966 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/0.9131, allocations: 316.2 kB / 0.8969 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/0.9144, allocations: 400 kB / 0.8973 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.9306, allocations: 6.226 MB / 0.9033 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/0.9307, allocations: 4 kB / 0.9033 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005087/0.9312, allocations: 172 kB / 0.9035 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.9314, allocations: 148 kB / 0.9037 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/0.9501, allocations: 7.321 MB / 0.9108 GB, free: 13.36 MB / 0.6511 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.03679/0.9869, allocations: 18.87 MB / 0.9292 GB, free: 9.73 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.9972, allocations: 4.815 MB / 0.9339 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006308/1.004, allocations: 3.16 MB / 0.937 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/1.005, allocations: 0.7014 MB / 0.9377 GB, free: 0.9062 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006525/1.011, allocations: 2.936 MB / 0.9406 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=345): time 7.294e-06/1.011, allocations: 3.938 kB / 0.9406 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=347): time 0.3829/1.394, allocations: 16.23 MB / 0.9564 GB, free: 250.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/1.394, allocations: 221.5 kB / 0.9566 GB, free: 250.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005675/1.4, allocations: 2.901 MB / 0.9595 GB, free: 249.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001037/1.401, allocations: 90 kB / 0.9596 GB, free: 249.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001809/1.403, allocations: 1.678 MB / 0.9612 GB, free: 248.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001687/1.405, allocations: 1.157 MB / 0.9623 GB, free: 247.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/1.406, allocations: 0.5838 MB / 0.9629 GB, free: 247.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.862e-05/1.406, allocations: 301.6 kB / 0.9632 GB, free: 247.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005739/1.412, allocations: 2.335 MB / 0.9655 GB, free: 246.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006529/1.418, allocations: 2.686 MB / 0.9681 GB, free: 245.5 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start (sinAir.p = thermalZoneFourElements.volAir.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.3384/1.757, allocations: 86.7 MB / 1.053 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/1.757, allocations: 7.938 kB / 1.053 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01202/1.769, allocations: 6.194 MB / 1.059 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/1.769, allocations: 41.69 kB / 1.059 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/1.769, allocations: 4 kB / 1.059 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/1.77, allocations: 0.824 MB / 1.06 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00398/1.774, allocations: 0.8697 MB / 1.061 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00787/1.782, allocations: 6.926 MB / 1.067 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004644/1.787, allocations: 487.1 kB / 1.068 GB, free: 161 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000479/1.787, allocations: 131.9 kB / 1.068 GB, free: 160.9 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.intGai.nextTimeEvent,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,$PRE.traSub.count,$PRE.traSub.T_start,traSub.count,traSub.T_start,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 1 * 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.002088/1.79, allocations: 1.133 MB / 1.069 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006486/1.79, allocations: 347.7 kB / 1.069 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/1.803, allocations: 6.769 MB / 1.076 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/1.804, allocations: 39 kB / 1.076 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/1.804, allocations: 12 kB / 1.076 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01132/1.815, allocations: 5.913 MB / 1.082 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02081/1.836, allocations: 11.74 MB / 1.093 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/1.836, allocations: 4.469 kB / 1.093 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004146/1.84, allocations: 0.8542 MB / 1.094 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/1.841, allocations: 0.6947 MB / 1.095 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003861/1.842, allocations: 95.36 kB / 1.095 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008296/1.85, allocations: 9.196 MB / 1.104 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.85, allocations: 4 kB / 1.104 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6583/2.508, allocations: 137 MB / 1.238 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002576/2.511, allocations: 0.912 MB / 1.238 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005155/2.512, allocations: 87.45 kB / 1.239 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003434/2.515, allocations: 466.6 kB / 1.239 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006238/2.516, allocations: 252.3 kB / 1.239 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002888/2.516, allocations: 121.1 kB / 1.239 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002905/2.519, allocations: 2.104 MB / 1.241 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/2.519, allocations: 0 / 1.241 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006384/2.525, allocations: 1.803 MB / 1.243 GB, free: 229.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.mXi[1],thermalZoneFourElements.volAir.dynBal.mC[1],thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled,traSub.T_start,traSub.count) * Number of discrete states: 5 (intGai.nextTimeEvent,traSub.count,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002609/2.528, allocations: 1.105 MB / 1.244 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01337/2.541, allocations: 5.914 MB / 1.25 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/2.541, allocations: 1.969 kB / 1.25 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.007406/2.549, allocations: 3.554 MB / 1.253 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005128/2.554, allocations: 0.9792 MB / 1.254 GB, free: 225.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/2.575, allocations: 14.69 MB / 1.269 GB, free: 218.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002904/2.578, allocations: 3.072 MB / 1.272 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.007807/2.586, allocations: 1.589 MB / 1.273 GB, free: 217 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003071/2.589, allocations: 366.7 kB / 1.274 GB, free: 217 MB / 0.6823 GB Notification: Performance of SimCode: time 1.694e-06/2.589, allocations: 0 / 1.274 GB, free: 217 MB / 0.6823 GB Notification: Performance of Templates: time 0.1375/2.727, allocations: 114.9 MB / 1.386 GB, free: 106.7 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)