Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 106.8 kB / 16.36 MB, free: 5.875 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.001102/0.001102, allocations: 199.6 kB / 17.3 MB, free: 5.516 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8372/0.8372, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 71.86 kB / 0.5067 GB, free: 7.695 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.362, allocations: 80.9 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5163/0.8783, allocations: 202.1 MB / 0.7831 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02202/0.9004, allocations: 15.13 MB / 0.7979 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004986/0.9054, allocations: 96.19 kB / 0.798 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003458/0.9089, allocations: 1.299 MB / 0.7992 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007789/0.9168, allocations: 2.648 MB / 0.8018 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006064/0.9229, allocations: 2.202 MB / 0.804 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008945/0.9318, allocations: 6.688 MB / 0.8105 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008326/0.9402, allocations: 5.525 MB / 0.8159 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005481/0.9457, allocations: 2.617 MB / 0.8185 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005717/0.9515, allocations: 3.104 MB / 0.8215 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001992/0.9535, allocations: 0.5762 MB / 0.822 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005325/0.9588, allocations: 1.943 MB / 0.8239 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002521/0.9613, allocations: 1.611 MB / 0.8255 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004808/0.9662, allocations: 2.66 MB / 0.8281 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.9768, allocations: 7.747 MB / 0.8357 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.9769, allocations: 2.781 kB / 0.8357 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9769, allocations: 0 / 0.8357 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002626/0.9772, allocations: 0 / 0.8357 GB, free: 6.508 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01558/0.9928, allocations: 5.632 MB / 0.8412 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.9928, allocations: 9.109 kB / 0.8412 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01511/1.008, allocations: 3.004 MB / 0.8441 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007385/1.015, allocations: 2.727 MB / 0.8468 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002952/1.016, allocations: 312.2 kB / 0.8471 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001418/1.017, allocations: 414.4 kB / 0.8475 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0151/1.032, allocations: 6.218 MB / 0.8536 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.251e-05/1.032, allocations: 7.938 kB / 0.8536 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000441/1.033, allocations: 172 kB / 0.8537 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001228/1.033, allocations: 148 kB / 0.8539 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/1.051, allocations: 7.322 MB / 0.861 GB, free: 13.55 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.04082/1.091, allocations: 18.75 MB / 0.8793 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/1.104, allocations: 4.809 MB / 0.884 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007384/1.111, allocations: 3.167 MB / 0.8871 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/1.112, allocations: 0.6956 MB / 0.8878 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007723/1.12, allocations: 2.924 MB / 0.8906 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=345): time 7.384e-06/1.12, allocations: 0 / 0.8906 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=347): time 0.04908/1.169, allocations: 16.25 MB / 0.9065 GB, free: 14.27 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/1.169, allocations: 218.6 kB / 0.9067 GB, free: 14.01 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00557/1.175, allocations: 2.903 MB / 0.9096 GB, free: 11.09 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001072/1.176, allocations: 89.7 kB / 0.9096 GB, free: 10.99 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002032/1.178, allocations: 1.678 MB / 0.9113 GB, free: 9.301 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001961/1.18, allocations: 1.153 MB / 0.9124 GB, free: 8.16 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00295/1.183, allocations: 0.5807 MB / 0.913 GB, free: 7.57 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.183, allocations: 305.1 kB / 0.9133 GB, free: 7.27 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006168/1.189, allocations: 2.336 MB / 0.9155 GB, free: 4.93 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006684/1.196, allocations: 2.691 MB / 0.9182 GB, free: 2.176 MB / 0.67 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.3774/1.574, allocations: 86.69 MB / 1.003 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/1.574, allocations: 3.938 kB / 1.003 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01585/1.589, allocations: 6.196 MB / 1.009 GB, free: 5.109 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/1.59, allocations: 33.7 kB / 1.009 GB, free: 5.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.59, allocations: 8.094 kB / 1.009 GB, free: 5.062 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/1.591, allocations: 0.8278 MB / 1.01 GB, free: 4.23 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004697/1.596, allocations: 0.8657 MB / 1.011 GB, free: 3.395 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/1.607, allocations: 7.504 MB / 1.018 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004693/1.612, allocations: 445.2 kB / 1.018 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008252/1.613, allocations: 131.9 kB / 1.018 GB, free: 11.22 MB / 0.7794 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.003201/1.616, allocations: 1.139 MB / 1.02 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/1.617, allocations: 343.8 kB / 1.02 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01819/1.636, allocations: 6.755 MB / 1.026 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.171e-05/1.636, allocations: 36 kB / 1.027 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.083e-05/1.636, allocations: 19.94 kB / 1.027 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01384/1.65, allocations: 5.921 MB / 1.032 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02632/1.676, allocations: 11.73 MB / 1.044 GB, free: 1.172 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.278e-05/1.676, allocations: 4 kB / 1.044 GB, free: 1.168 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004651/1.681, allocations: 0.8511 MB / 1.045 GB, free: 352 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3041/1.985, allocations: 0.6887 MB / 1.045 GB, free: 368.4 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009386/1.986, allocations: 96.28 kB / 1.045 GB, free: 368.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/1.997, allocations: 10.06 MB / 1.055 GB, free: 362.3 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.309e-05/1.998, allocations: 7.469 kB / 1.055 GB, free: 362.3 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02075/2.018, allocations: 9.803 MB / 1.065 GB, free: 359 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002816/2.021, allocations: 0.9102 MB / 1.066 GB, free: 358.6 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009271/2.022, allocations: 86.67 kB / 1.066 GB, free: 358.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003704/2.026, allocations: 427.8 kB / 1.066 GB, free: 358.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007198/2.027, allocations: 249.8 kB / 1.066 GB, free: 358.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003566/2.027, allocations: 121 kB / 1.067 GB, free: 358.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003159/2.03, allocations: 2.107 MB / 1.069 GB, free: 357.8 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/2.03, allocations: 2.953 kB / 1.069 GB, free: 357.8 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003686/2.034, allocations: 1.097 MB / 1.07 GB, free: 357.6 MB / 0.795 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.002652/2.036, allocations: 1.065 MB / 1.071 GB, free: 357.4 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01245/2.049, allocations: 5.934 MB / 1.076 GB, free: 354.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/2.049, allocations: 4 kB / 1.076 GB, free: 354.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.006841/2.056, allocations: 3.553 MB / 1.08 GB, free: 351.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005523/2.061, allocations: 1.015 MB / 1.081 GB, free: 350.3 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/2.079, allocations: 9.855 MB / 1.091 GB, free: 340.7 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003166/2.082, allocations: 2.926 MB / 1.093 GB, free: 337.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005047/2.087, allocations: 1.268 MB / 1.095 GB, free: 336.6 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00189/2.089, allocations: 306.7 kB / 1.095 GB, free: 336.3 MB / 0.795 GB Notification: Performance of SimCode: time 9.12e-07/2.089, allocations: 0 / 1.095 GB, free: 336.3 MB / 0.795 GB Notification: Performance of Templates: time 0.08906/2.178, allocations: 62.9 MB / 1.156 GB, free: 274 MB / 0.795 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)