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.005011/0.005011, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001079/0.001079, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7796/0.7796, allocations: 132.2 MB / 422.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 65.25 kB / 0.5814 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2034, allocations: 80.21 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.652/0.8554, allocations: 202.1 MB / 0.857 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02228/0.8778, allocations: 15.13 MB / 0.8718 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006125/0.8839, allocations: 95.59 kB / 0.8719 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004888/0.8888, allocations: 1.326 MB / 0.8732 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00942/0.8984, allocations: 2.723 MB / 0.8759 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006329/0.9047, allocations: 2.201 MB / 0.878 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00941/0.9141, allocations: 6.696 MB / 0.8845 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009047/0.9232, allocations: 5.534 MB / 0.8899 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006903/0.9301, allocations: 2.657 MB / 0.8925 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006617/0.9368, allocations: 3.099 MB / 0.8956 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002213/0.939, allocations: 0.571 MB / 0.8961 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008209/0.9473, allocations: 1.951 MB / 0.898 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003797/0.9511, allocations: 1.619 MB / 0.8996 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007375/0.9585, allocations: 2.646 MB / 0.9022 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01665/0.9751, allocations: 7.759 MB / 0.9098 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.9752, allocations: 4 kB / 0.9098 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9752, allocations: 0 / 0.9098 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004369/0.9756, allocations: 0 / 0.9098 GB, free: 4.637 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.01798/0.9936, allocations: 5.621 MB / 0.9153 GB, free: 300 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.9937, allocations: 12.03 kB / 0.9153 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01515/1.009, allocations: 2.993 MB / 0.9182 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006417/1.015, allocations: 2.742 MB / 0.9209 GB, free: 10.62 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/1.016, allocations: 311.6 kB / 0.9212 GB, free: 10.31 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009634/1.017, allocations: 407.9 kB / 0.9216 GB, free: 9.914 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/1.031, allocations: 6.22 MB / 0.9276 GB, free: 3.594 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.779e-05/1.031, allocations: 3.984 kB / 0.9276 GB, free: 3.59 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004466/1.031, allocations: 168 kB / 0.9278 GB, free: 3.426 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/1.031, allocations: 144 kB / 0.9279 GB, free: 3.281 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01883/1.05, allocations: 7.332 MB / 0.9351 GB, free: 11.93 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.03592/1.086, allocations: 18.77 MB / 0.9534 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/1.096, allocations: 4.794 MB / 0.9581 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006352/1.103, allocations: 3.171 MB / 0.9612 GB, free: 0.8125 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/1.104, allocations: 0.6984 MB / 0.9619 GB, free: 4 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00643/1.11, allocations: 2.932 MB / 0.9648 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=345): time 5.551e-06/1.11, allocations: 4 kB / 0.9648 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of matching and sorting (n=347): time 0.04134/1.152, allocations: 16.24 MB / 0.9806 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/1.152, allocations: 218.6 kB / 0.9808 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004032/1.156, allocations: 2.899 MB / 0.9837 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004877/1.157, allocations: 85.7 kB / 0.9837 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001468/1.158, allocations: 1.684 MB / 0.9854 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001213/1.159, allocations: 1.148 MB / 0.9865 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/1.16, allocations: 0.5884 MB / 0.9871 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/1.161, allocations: 305.1 kB / 0.9874 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005085/1.166, allocations: 2.332 MB / 0.9896 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005644/1.171, allocations: 2.684 MB / 0.9923 GB, free: 0.5508 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.3551/1.526, allocations: 86.69 MB / 1.077 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/1.526, allocations: 0 / 1.077 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01289/1.539, allocations: 6.205 MB / 1.083 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/1.539, allocations: 33.7 kB / 1.083 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.539, allocations: 4 kB / 1.083 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/1.541, allocations: 0.8279 MB / 1.084 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003961/1.545, allocations: 0.8617 MB / 1.085 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/1.555, allocations: 7.493 MB / 1.092 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004173/1.559, allocations: 438.5 kB / 1.092 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004069/1.56, allocations: 127.9 kB / 1.093 GB, free: 9.609 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.002527/1.562, allocations: 1.139 MB / 1.094 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007869/1.563, allocations: 355.7 kB / 1.094 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/1.578, allocations: 6.763 MB / 1.101 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/1.578, allocations: 36 kB / 1.101 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/1.578, allocations: 8 kB / 1.101 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01198/1.59, allocations: 5.917 MB / 1.106 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02301/1.613, allocations: 11.72 MB / 1.118 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/1.613, allocations: 7.984 kB / 1.118 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00432/1.617, allocations: 0.8506 MB / 1.119 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/1.619, allocations: 0.6942 MB / 1.119 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004486/1.619, allocations: 99.86 kB / 1.119 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01218/1.632, allocations: 10.05 MB / 1.129 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.632, allocations: 10.62 kB / 1.129 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3885/2.02, allocations: 9.807 MB / 1.139 GB, free: 370.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003014/2.023, allocations: 0.91 MB / 1.14 GB, free: 370.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006775/2.024, allocations: 82.14 kB / 1.14 GB, free: 370.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003459/2.027, allocations: 429.6 kB / 1.14 GB, free: 370.4 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000664/2.028, allocations: 247 kB / 1.14 GB, free: 370.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003154/2.028, allocations: 120.1 kB / 1.141 GB, free: 370.4 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003265/2.032, allocations: 2.105 MB / 1.143 GB, free: 369.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/2.032, allocations: 0 / 1.143 GB, free: 369.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004032/2.036, allocations: 1.1 MB / 1.144 GB, free: 369.6 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.002567/2.038, allocations: 1.066 MB / 1.145 GB, free: 369.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01235/2.051, allocations: 5.93 MB / 1.151 GB, free: 367.5 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/2.051, allocations: 3.375 kB / 1.151 GB, free: 367.5 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.007808/2.059, allocations: 3.549 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.007347/2.066, allocations: 1.028 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.01961/2.086, allocations: 9.854 MB / 1.165 GB, free: 361.9 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002492/2.088, allocations: 2.922 MB / 1.168 GB, free: 360.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003998/2.092, allocations: 1.28 MB / 1.169 GB, free: 360.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/2.093, allocations: 303.1 kB / 1.169 GB, free: 360.4 MB / 0.8731 GB Notification: Performance of SimCode: time 1.172e-06/2.093, allocations: 0 / 1.169 GB, free: 360.4 MB / 0.8731 GB Notification: Performance of Templates: time 0.08973/2.183, allocations: 63.83 MB / 1.231 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)