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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009385/0.0009386, allocations: 108 kB / 15.61 MB, free: 152 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.001033/0.001033, allocations: 192.8 kB / 16.53 MB, free: 6.699 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7234/0.7234, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 76.2 kB / 0.5018 GB, free: 8.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1808, allocations: 80.19 MB / 0.5801 GB, free: 8.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5552/0.7361, allocations: 202.1 MB / 0.7774 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02487/0.761, allocations: 15.14 MB / 0.7922 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005217/0.7663, allocations: 91.56 kB / 0.7923 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003918/0.7702, allocations: 1.309 MB / 0.7936 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009088/0.7794, allocations: 2.643 MB / 0.7962 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006215/0.7856, allocations: 2.191 MB / 0.7983 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009537/0.7952, allocations: 6.665 MB / 0.8048 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00758/0.8028, allocations: 5.526 MB / 0.8102 GB, free: 7 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004894/0.8077, allocations: 2.601 MB / 0.8127 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005803/0.8135, allocations: 3.096 MB / 0.8158 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001982/0.8155, allocations: 0.5703 MB / 0.8163 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005941/0.8215, allocations: 1.923 MB / 0.8182 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002933/0.8244, allocations: 1.609 MB / 0.8198 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005615/0.8301, allocations: 2.647 MB / 0.8224 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.8409, allocations: 7.63 MB / 0.8298 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.8409, allocations: 0 / 0.8298 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.374e-06/0.8409, allocations: 0 / 0.8298 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002311/0.8411, allocations: 0 / 0.8298 GB, free: 2.867 MB / 0.6387 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.01266/0.8538, allocations: 5.622 MB / 0.8353 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.8539, allocations: 8.031 kB / 0.8353 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01505/0.8689, allocations: 3.005 MB / 0.8382 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005443/0.8744, allocations: 2.679 MB / 0.8409 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.8747, allocations: 312.2 kB / 0.8412 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009083/0.8756, allocations: 404 kB / 0.8415 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/0.8886, allocations: 6.218 MB / 0.8476 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.486e-05/0.8887, allocations: 3.938 kB / 0.8476 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004344/0.8892, allocations: 172 kB / 0.8478 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.8893, allocations: 152 kB / 0.8479 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/0.9054, allocations: 7.325 MB / 0.8551 GB, free: 8.684 MB / 0.67 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.3362/1.242, allocations: 18.9 MB / 0.8735 GB, free: 211.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/1.252, allocations: 4.815 MB / 0.8782 GB, free: 209.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00626/1.258, allocations: 3.164 MB / 0.8813 GB, free: 208.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009778/1.259, allocations: 0.6964 MB / 0.882 GB, free: 208.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006155/1.265, allocations: 2.939 MB / 0.8849 GB, free: 207.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=345): time 6.292e-06/1.266, allocations: 0 / 0.8849 GB, free: 207.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=347): time 0.04232/1.308, allocations: 16.24 MB / 0.9007 GB, free: 201.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/1.308, allocations: 218.1 kB / 0.9009 GB, free: 201.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005083/1.313, allocations: 2.906 MB / 0.9038 GB, free: 200.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001033/1.314, allocations: 92.98 kB / 0.9039 GB, free: 200.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001588/1.316, allocations: 1.672 MB / 0.9055 GB, free: 199.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001708/1.317, allocations: 1.152 MB / 0.9066 GB, free: 198.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/1.319, allocations: 0.5873 MB / 0.9072 GB, free: 198.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.016e-05/1.319, allocations: 309.1 kB / 0.9075 GB, free: 197.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005794/1.325, allocations: 2.337 MB / 0.9098 GB, free: 197.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006826/1.331, allocations: 2.683 MB / 0.9124 GB, free: 196.2 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.336/1.668, allocations: 86.73 MB / 0.9971 GB, free: 127.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/1.668, allocations: 0 / 0.9971 GB, free: 127.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01394/1.682, allocations: 6.199 MB / 1.003 GB, free: 121 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/1.682, allocations: 33.7 kB / 1.003 GB, free: 121 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/1.682, allocations: 4.875 kB / 1.003 GB, free: 121 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/1.683, allocations: 0.8395 MB / 1.004 GB, free: 120.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004142/1.687, allocations: 0.8638 MB / 1.005 GB, free: 119.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008441/1.696, allocations: 7.5 MB / 1.012 GB, free: 111.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00417/1.7, allocations: 452.9 kB / 1.013 GB, free: 111.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004871/1.7, allocations: 135.3 kB / 1.013 GB, free: 111.1 MB / 0.67 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.002297/1.703, allocations: 1.138 MB / 1.014 GB, free: 110 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007919/1.704, allocations: 343.7 kB / 1.014 GB, free: 109.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/1.716, allocations: 6.76 MB / 1.021 GB, free: 102.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/1.716, allocations: 39.94 kB / 1.021 GB, free: 102.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/1.716, allocations: 8 kB / 1.021 GB, free: 102.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01017/1.726, allocations: 5.913 MB / 1.027 GB, free: 96.72 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01876/1.745, allocations: 11.72 MB / 1.038 GB, free: 84.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/1.745, allocations: 8.469 kB / 1.038 GB, free: 84.92 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003737/1.749, allocations: 0.858 MB / 1.039 GB, free: 84.06 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/1.75, allocations: 0.6981 MB / 1.04 GB, free: 83.36 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002366/1.751, allocations: 103.9 kB / 1.04 GB, free: 83.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008231/1.759, allocations: 10.06 MB / 1.049 GB, free: 72.79 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.759, allocations: 4.125 kB / 1.049 GB, free: 72.78 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01759/1.776, allocations: 9.796 MB / 1.059 GB, free: 62.85 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002603/1.779, allocations: 0.9144 MB / 1.06 GB, free: 61.91 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/1.78, allocations: 87.83 kB / 1.06 GB, free: 61.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003743/1.784, allocations: 427.4 kB / 1.06 GB, free: 61.41 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005901/1.785, allocations: 254.2 kB / 1.061 GB, free: 61.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003162/1.785, allocations: 119.8 kB / 1.061 GB, free: 61.04 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002938/1.788, allocations: 2.107 MB / 1.063 GB, free: 58.94 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.788, allocations: 0 / 1.063 GB, free: 58.94 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003563/1.791, allocations: 1.099 MB / 1.064 GB, free: 57.86 MB / 0.67 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.002294/1.794, allocations: 1.059 MB / 1.065 GB, free: 57.26 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02279/1.816, allocations: 10.37 MB / 1.075 GB, free: 46.88 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.817, allocations: 0.5 kB / 1.075 GB, free: 46.88 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007308/1.824, allocations: 3.545 MB / 1.079 GB, free: 43.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006601/1.83, allocations: 1.026 MB / 1.08 GB, free: 42.35 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/1.848, allocations: 9.973 MB / 1.089 GB, free: 32.32 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002881/1.851, allocations: 2.924 MB / 1.092 GB, free: 29.38 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004612/1.856, allocations: 1.274 MB / 1.093 GB, free: 28.09 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/1.857, allocations: 299.3 kB / 1.094 GB, free: 27.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.042e-06/1.857, allocations: 3.938 kB / 1.094 GB, free: 27.8 MB / 0.67 GB Notification: Performance of Templates: time 0.3545/2.211, allocations: 62.9 MB / 1.155 GB, free: 203.7 MB / 0.67 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)