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=336,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=336,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.008187/0.008187, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.00167/0.001671, allocations: 196.8 kB / 16.67 MB, free: 5.973 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8128/0.8128, allocations: 132.2 MB / 422.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 61.58 kB / 0.5814 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1552, allocations: 80.2 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.7227/0.8779, allocations: 202.1 MB / 0.857 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0222/0.9001, allocations: 15.13 MB / 0.8718 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005217/0.9054, allocations: 91.75 kB / 0.8719 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003711/0.9091, allocations: 1.297 MB / 0.8732 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008459/0.9176, allocations: 2.649 MB / 0.8758 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006324/0.924, allocations: 2.192 MB / 0.8779 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009601/0.9336, allocations: 6.694 MB / 0.8844 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007481/0.9411, allocations: 5.531 MB / 0.8898 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005606/0.9468, allocations: 2.612 MB / 0.8924 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005976/0.9528, allocations: 3.105 MB / 0.8954 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001549/0.9543, allocations: 0.5696 MB / 0.896 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005891/0.9602, allocations: 1.947 MB / 0.8979 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002/0.9623, allocations: 1.617 MB / 0.8995 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005978/0.9682, allocations: 2.646 MB / 0.902 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.9826, allocations: 7.791 MB / 0.9097 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.9827, allocations: 4 kB / 0.9097 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.595e-06/0.9827, allocations: 0 / 0.9097 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003308/0.983, allocations: 0 / 0.9097 GB, free: 4.844 MB / 0.6544 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.01542/0.9985, allocations: 5.774 MB / 0.9153 GB, free: 480 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.9985, allocations: 8.031 kB / 0.9153 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/1.013, allocations: 3.016 MB / 0.9182 GB, free: 13.44 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006357/1.02, allocations: 2.761 MB / 0.9209 GB, free: 10.76 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/1.02, allocations: 312.2 kB / 0.9212 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008677/1.021, allocations: 404 kB / 0.9216 GB, free: 10.05 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01386/1.035, allocations: 6.227 MB / 0.9277 GB, free: 3.73 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.263e-05/1.035, allocations: 6.578 kB / 0.9277 GB, free: 3.727 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004267/1.035, allocations: 168 kB / 0.9279 GB, free: 3.562 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/1.036, allocations: 140 kB / 0.928 GB, free: 3.422 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/1.055, allocations: 7.336 MB / 0.9352 GB, free: 12.07 MB / 0.6856 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.0406/1.095, allocations: 18.8 MB / 0.9535 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/1.106, allocations: 4.81 MB / 0.9582 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006412/1.112, allocations: 3.156 MB / 0.9613 GB, free: 0.9141 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/1.113, allocations: 0.7043 MB / 0.962 GB, free: 100 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006664/1.12, allocations: 2.921 MB / 0.9649 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=345): time 6.202e-06/1.12, allocations: 4 kB / 0.9649 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=347): time 0.04223/1.162, allocations: 16.31 MB / 0.9808 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/1.162, allocations: 218.7 kB / 0.981 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004189/1.167, allocations: 2.903 MB / 0.9838 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000663/1.167, allocations: 93.7 kB / 0.9839 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001798/1.169, allocations: 1.712 MB / 0.9856 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001528/1.171, allocations: 1.206 MB / 0.9868 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/1.172, allocations: 0.5807 MB / 0.9873 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.172, allocations: 305.1 kB / 0.9876 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005399/1.177, allocations: 2.336 MB / 0.9899 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005955/1.183, allocations: 2.684 MB / 0.9925 GB, free: 0.5156 MB / 0.7325 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.3563/1.54, allocations: 86.69 MB / 1.077 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/1.54, allocations: 4 kB / 1.077 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01755/1.557, allocations: 6.219 MB / 1.083 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.371e-05/1.557, allocations: 41.69 kB / 1.083 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.557, allocations: 0 / 1.083 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001864/1.559, allocations: 0.8279 MB / 1.084 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/1.564, allocations: 0.8617 MB / 1.085 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/1.576, allocations: 7.506 MB / 1.092 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005285/1.581, allocations: 445 kB / 1.093 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/1.582, allocations: 127.9 kB / 1.093 GB, free: 9.539 MB / 0.8419 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.003862/1.586, allocations: 1.147 MB / 1.094 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001422/1.588, allocations: 357.7 kB / 1.094 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0167/1.604, allocations: 6.775 MB / 1.101 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.184e-05/1.604, allocations: 32 kB / 1.101 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.604, allocations: 12 kB / 1.101 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01244/1.617, allocations: 5.909 MB / 1.107 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02248/1.639, allocations: 11.74 MB / 1.118 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/1.639, allocations: 0 / 1.118 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004265/1.644, allocations: 0.8521 MB / 1.119 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/1.645, allocations: 0.6981 MB / 1.12 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004661/1.646, allocations: 99.88 kB / 1.12 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/1.657, allocations: 10.05 MB / 1.13 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/1.657, allocations: 10.47 kB / 1.13 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4633/2.12, allocations: 9.826 MB / 1.139 GB, free: 370.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003278/2.124, allocations: 0.9242 MB / 1.14 GB, free: 370.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/2.125, allocations: 84.5 kB / 1.14 GB, free: 370.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004348/2.129, allocations: 430.3 kB / 1.141 GB, free: 370.4 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007567/2.13, allocations: 255.1 kB / 1.141 GB, free: 370.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003479/2.13, allocations: 120.3 kB / 1.141 GB, free: 370.4 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003665/2.134, allocations: 2.103 MB / 1.143 GB, free: 369.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.51e-07/2.134, allocations: 4.938 kB / 1.143 GB, free: 369.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004661/2.139, allocations: 1.1 MB / 1.144 GB, free: 369.5 MB / 0.8731 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.002865/2.142, allocations: 1.063 MB / 1.145 GB, free: 369.3 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01602/2.158, allocations: 5.945 MB / 1.151 GB, free: 367.4 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/2.158, allocations: 3.062 kB / 1.151 GB, free: 367.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.007454/2.165, allocations: 3.547 MB / 1.154 GB, free: 366.1 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005652/2.171, allocations: 1.025 MB / 1.155 GB, free: 365.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/2.188, allocations: 10 MB / 1.165 GB, free: 361.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002221/2.19, allocations: 2.924 MB / 1.168 GB, free: 360.7 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.004229/2.194, allocations: 1.263 MB / 1.169 GB, free: 360.4 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/2.195, allocations: 299.8 kB / 1.17 GB, free: 360.3 MB / 0.8731 GB Notification: Performance of SimCode: time 9.12e-07/2.195, allocations: 3.094 kB / 1.17 GB, free: 360.3 MB / 0.8731 GB Notification: Performance of Templates: time 0.08689/2.282, allocations: 63.84 MB / 1.232 GB, free: 297.2 MB / 0.8731 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)