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.001474/0.001474, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001684/0.001684, allocations: 194.4 kB / 16.14 MB, free: 6.691 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9501/0.9501, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 60.59 kB / 0.5047 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2168, allocations: 80.92 MB / 0.5837 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5704/0.7873, allocations: 199.7 MB / 0.7787 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02667/0.814, allocations: 15.14 MB / 0.7935 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005477/0.8195, allocations: 87.5 kB / 0.7936 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004343/0.8239, allocations: 1.139 MB / 0.7947 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009312/0.8333, allocations: 2.427 MB / 0.7971 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006664/0.84, allocations: 1.937 MB / 0.799 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01115/0.8511, allocations: 7.377 MB / 0.8062 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008669/0.8598, allocations: 4.912 MB / 0.811 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005205/0.8651, allocations: 2.195 MB / 0.8131 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005571/0.8707, allocations: 2.945 MB / 0.816 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001764/0.8725, allocations: 316 kB / 0.8163 GB, free: 15 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005597/0.8781, allocations: 1.84 MB / 0.8181 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00241/0.8805, allocations: 1.335 MB / 0.8194 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00502/0.8855, allocations: 2.362 MB / 0.8217 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.9002, allocations: 7.462 MB / 0.829 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.9002, allocations: 0 / 0.829 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9003, allocations: 0 / 0.829 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000366/0.9006, allocations: 0 / 0.829 GB, free: 1.953 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.02062/0.9213, allocations: 5.623 MB / 0.8345 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.9213, allocations: 8.031 kB / 0.8345 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0165/0.9378, allocations: 2.997 MB / 0.8374 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0073/0.9452, allocations: 2.683 MB / 0.84 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003459/0.9456, allocations: 316.2 kB / 0.8404 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001858/0.9474, allocations: 407.9 kB / 0.8407 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02007/0.9675, allocations: 6.218 MB / 0.8468 GB, free: 15.43 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001896/0.9678, allocations: 0 / 0.8468 GB, free: 15.43 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001606/0.9694, allocations: 172 kB / 0.847 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001792/0.9696, allocations: 148 kB / 0.8471 GB, free: 15.12 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02111/0.9907, allocations: 7.325 MB / 0.8543 GB, free: 7.773 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.4315/1.422, allocations: 18.86 MB / 0.8727 GB, free: 207.9 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009958/1.432, allocations: 4.814 MB / 0.8774 GB, free: 206.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005914/1.438, allocations: 3.166 MB / 0.8805 GB, free: 205.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009746/1.439, allocations: 0.6984 MB / 0.8812 GB, free: 204.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006344/1.446, allocations: 2.926 MB / 0.884 GB, free: 203.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=345): time 6.011e-06/1.446, allocations: 0 / 0.884 GB, free: 203.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=347): time 0.04858/1.494, allocations: 16.25 MB / 0.8999 GB, free: 198.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/1.494, allocations: 218.5 kB / 0.9001 GB, free: 198.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007289/1.502, allocations: 2.901 MB / 0.9029 GB, free: 197.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.00109/1.503, allocations: 89.39 kB / 0.903 GB, free: 197 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002033/1.505, allocations: 1.68 MB / 0.9047 GB, free: 195.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002131/1.507, allocations: 1.156 MB / 0.9058 GB, free: 194.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003219/1.51, allocations: 0.5852 MB / 0.9064 GB, free: 194.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.521e-05/1.51, allocations: 305.1 kB / 0.9066 GB, free: 194.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0072/1.518, allocations: 2.333 MB / 0.9089 GB, free: 193.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01034/1.528, allocations: 2.688 MB / 0.9116 GB, free: 192.7 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.3451/1.873, allocations: 86.7 MB / 0.9962 GB, free: 123.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/1.873, allocations: 0 / 0.9962 GB, free: 123.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01651/1.89, allocations: 6.202 MB / 1.002 GB, free: 117.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/1.89, allocations: 36.89 kB / 1.002 GB, free: 117.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/1.89, allocations: 4 kB / 1.002 GB, free: 117.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/1.892, allocations: 0.8318 MB / 1.003 GB, free: 116.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0047/1.896, allocations: 0.8616 MB / 1.004 GB, free: 115.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009256/1.906, allocations: 6.936 MB / 1.011 GB, free: 108.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005431/1.911, allocations: 487.2 kB / 1.011 GB, free: 107.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/1.912, allocations: 127.9 kB / 1.011 GB, free: 107.8 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.004008/1.916, allocations: 1.135 MB / 1.012 GB, free: 106.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001649/1.918, allocations: 351.7 kB / 1.013 GB, free: 106.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01664/1.934, allocations: 6.771 MB / 1.019 GB, free: 99.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-05/1.935, allocations: 36 kB / 1.019 GB, free: 99.46 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.22e-05/1.935, allocations: 12 kB / 1.019 GB, free: 99.45 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01194/1.946, allocations: 5.913 MB / 1.025 GB, free: 93.41 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02594/1.972, allocations: 11.73 MB / 1.037 GB, free: 81.61 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.23e-05/1.973, allocations: 7.984 kB / 1.037 GB, free: 81.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004323/1.977, allocations: 0.8429 MB / 1.037 GB, free: 80.76 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/1.978, allocations: 0.698 MB / 1.038 GB, free: 80.05 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006056/1.979, allocations: 99.92 kB / 1.038 GB, free: 79.96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009091/1.988, allocations: 9.184 MB / 1.047 GB, free: 70.38 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.988, allocations: 11.88 kB / 1.047 GB, free: 70.37 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02112/2.009, allocations: 9.806 MB / 1.057 GB, free: 60.43 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002971/2.012, allocations: 0.9219 MB / 1.058 GB, free: 59.49 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001609/2.014, allocations: 75.89 kB / 1.058 GB, free: 59.41 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004663/2.019, allocations: 467.2 kB / 1.058 GB, free: 58.96 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009704/2.02, allocations: 258.4 kB / 1.058 GB, free: 58.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006029/2.02, allocations: 116.1 kB / 1.059 GB, free: 58.59 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003852/2.024, allocations: 2.107 MB / 1.061 GB, free: 56.48 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/2.024, allocations: 0 / 1.061 GB, free: 56.48 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005675/2.03, allocations: 1.113 MB / 1.062 GB, free: 55.39 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.003346/2.033, allocations: 1.059 MB / 1.063 GB, free: 54.77 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01343/2.047, allocations: 5.911 MB / 1.069 GB, free: 48.81 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/2.047, allocations: 4 kB / 1.069 GB, free: 48.81 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007531/2.054, allocations: 3.537 MB / 1.072 GB, free: 45.23 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006919/2.061, allocations: 0.9681 MB / 1.073 GB, free: 44.29 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/2.083, allocations: 11.77 MB / 1.084 GB, free: 32.45 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003951/2.087, allocations: 2.935 MB / 1.087 GB, free: 29.49 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006479/2.093, allocations: 1.266 MB / 1.089 GB, free: 28.22 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002229/2.095, allocations: 303.2 kB / 1.089 GB, free: 27.93 MB / 0.67 GB Notification: Performance of SimCode: time 1.573e-06/2.095, allocations: 0 / 1.089 GB, free: 27.93 MB / 0.67 GB Notification: Performance of Templates: time 0.4333/2.529, allocations: 60.62 MB / 1.148 GB, free: 199.6 MB / 0.67 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 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)