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.001383/0.001383, 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.001305/0.001305, allocations: 192.2 kB / 16.14 MB, free: 6.68 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.501/1.501, allocations: 222.9 MB / 239.8 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.038/1.038, allocations: 135.6 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 71.45 kB / 0.5052 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2232, allocations: 81.02 MB / 0.5843 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.6355/0.8587, allocations: 199.7 MB / 0.7794 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03082/0.8896, allocations: 15.14 MB / 0.7941 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007323/0.8969, allocations: 83.56 kB / 0.7942 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004422/0.9014, allocations: 1.147 MB / 0.7953 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00967/0.9111, allocations: 2.422 MB / 0.7977 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007722/0.9189, allocations: 1.941 MB / 0.7996 GB, free: 240 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01266/0.9316, allocations: 7.383 MB / 0.8068 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01087/0.9425, allocations: 4.918 MB / 0.8116 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00642/0.9489, allocations: 2.195 MB / 0.8138 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006909/0.9559, allocations: 2.936 MB / 0.8166 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002347/0.9583, allocations: 316 kB / 0.8169 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006535/0.9648, allocations: 1.848 MB / 0.8187 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003248/0.9681, allocations: 1.328 MB / 0.82 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.006635/0.9748, allocations: 2.351 MB / 0.8223 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01469/0.9895, allocations: 7.474 MB / 0.8296 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.9895, allocations: 0 / 0.8296 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9896, allocations: 3.938 kB / 0.8296 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003753/0.9899, allocations: 0 / 0.8296 GB, free: 1.332 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.02047/1.01, allocations: 5.612 MB / 0.8351 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/1.011, allocations: 8.031 kB / 0.8351 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01768/1.028, allocations: 3.001 MB / 0.838 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007837/1.036, allocations: 2.687 MB / 0.8407 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004172/1.037, allocations: 312.2 kB / 0.841 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001957/1.039, allocations: 404 kB / 0.8414 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02318/1.062, allocations: 6.226 MB / 0.8474 GB, free: 14.82 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002659/1.062, allocations: 0 / 0.8474 GB, free: 14.82 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002135/1.064, allocations: 168 kB / 0.8476 GB, free: 14.66 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/1.064, allocations: 151.9 kB / 0.8477 GB, free: 14.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02461/1.089, allocations: 7.325 MB / 0.8549 GB, free: 7.156 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.4334/1.522, allocations: 18.86 MB / 0.8733 GB, free: 207.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009712/1.532, allocations: 4.815 MB / 0.878 GB, free: 206.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006109/1.538, allocations: 3.163 MB / 0.8811 GB, free: 205.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009724/1.539, allocations: 0.7002 MB / 0.8818 GB, free: 204.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006579/1.546, allocations: 2.931 MB / 0.8846 GB, free: 203.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=345): time 7.955e-06/1.546, allocations: 7.641 kB / 0.8847 GB, free: 203.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=347): time 0.05149/1.598, allocations: 16.23 MB / 0.9005 GB, free: 197.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/1.598, allocations: 221.8 kB / 0.9007 GB, free: 197.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007351/1.605, allocations: 2.905 MB / 0.9035 GB, free: 196.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001181/1.606, allocations: 90.41 kB / 0.9036 GB, free: 196.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002073/1.608, allocations: 1.677 MB / 0.9053 GB, free: 195.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002164/1.611, allocations: 1.156 MB / 0.9064 GB, free: 194.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003138/1.614, allocations: 0.5834 MB / 0.907 GB, free: 194.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.183e-05/1.614, allocations: 307.5 kB / 0.9073 GB, free: 194 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006728/1.62, allocations: 2.338 MB / 0.9095 GB, free: 193.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007671/1.628, allocations: 2.683 MB / 0.9122 GB, free: 192.3 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.3497/1.978, allocations: 86.69 MB / 0.9968 GB, free: 122.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/1.978, allocations: 0 / 0.9968 GB, free: 122.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01751/1.996, allocations: 6.201 MB / 1.003 GB, free: 116.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.908e-05/1.996, allocations: 37.69 kB / 1.003 GB, free: 116.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/1.996, allocations: 7.984 kB / 1.003 GB, free: 116.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/1.997, allocations: 0.8279 MB / 1.004 GB, free: 115.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004622/2.002, allocations: 0.8619 MB / 1.005 GB, free: 114.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009118/2.011, allocations: 6.933 MB / 1.011 GB, free: 107.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005265/2.017, allocations: 483.2 kB / 1.012 GB, free: 107 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/2.018, allocations: 131.8 kB / 1.012 GB, free: 106.9 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.003678/2.021, allocations: 1.147 MB / 1.013 GB, free: 105.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/2.023, allocations: 339.8 kB / 1.013 GB, free: 105.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01652/2.039, allocations: 6.767 MB / 1.02 GB, free: 98.59 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/2.039, allocations: 32 kB / 1.02 GB, free: 98.56 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.443e-05/2.04, allocations: 12 kB / 1.02 GB, free: 98.55 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01197/2.051, allocations: 5.917 MB / 1.026 GB, free: 92.51 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02453/2.076, allocations: 11.73 MB / 1.037 GB, free: 80.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-05/2.076, allocations: 7.938 kB / 1.037 GB, free: 80.69 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004436/2.081, allocations: 0.8507 MB / 1.038 GB, free: 79.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001648/2.082, allocations: 0.7019 MB / 1.039 GB, free: 79.13 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008186/2.083, allocations: 99.94 kB / 1.039 GB, free: 79.03 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009302/2.092, allocations: 9.184 MB / 1.048 GB, free: 69.46 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/2.092, allocations: 7.938 kB / 1.048 GB, free: 69.45 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02122/2.114, allocations: 9.796 MB / 1.057 GB, free: 59.52 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00293/2.117, allocations: 0.9144 MB / 1.058 GB, free: 58.58 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001602/2.118, allocations: 87.77 kB / 1.058 GB, free: 58.49 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004822/2.123, allocations: 467.8 kB / 1.059 GB, free: 58.04 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001067/2.124, allocations: 254.2 kB / 1.059 GB, free: 57.79 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007708/2.125, allocations: 119.9 kB / 1.059 GB, free: 57.67 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00376/2.129, allocations: 2.103 MB / 1.061 GB, free: 55.57 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.71e-07/2.129, allocations: 0 / 1.061 GB, free: 55.57 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005686/2.134, allocations: 1.107 MB / 1.062 GB, free: 54.48 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.00431/2.139, allocations: 1.074 MB / 1.063 GB, free: 53.84 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01423/2.153, allocations: 5.909 MB / 1.069 GB, free: 47.89 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/2.153, allocations: 0 / 1.069 GB, free: 47.89 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00808/2.161, allocations: 3.553 MB / 1.073 GB, free: 44.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007534/2.169, allocations: 0.9578 MB / 1.074 GB, free: 43.37 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/2.19, allocations: 11.76 MB / 1.085 GB, free: 31.54 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003837/2.194, allocations: 2.935 MB / 1.088 GB, free: 28.57 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006483/2.201, allocations: 1.266 MB / 1.089 GB, free: 27.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002289/2.203, allocations: 303.2 kB / 1.089 GB, free: 27.01 MB / 0.67 GB Notification: Performance of SimCode: time 1.383e-06/2.203, allocations: 0 / 1.089 GB, free: 27.01 MB / 0.67 GB Notification: Performance of Templates: time 0.4018/2.605, allocations: 60.62 MB / 1.149 GB, free: 200.3 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)