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.001304/0.001304, 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.001338/0.001338, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9321/0.9321, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 56.06 kB / 0.5053 GB, free: 5.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1917, allocations: 80.93 MB / 0.5844 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5513/0.7431, allocations: 202.1 MB / 0.7817 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02691/0.7701, allocations: 15.13 MB / 0.7965 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005439/0.7756, allocations: 99.5 kB / 0.7966 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003989/0.7796, allocations: 1.309 MB / 0.7978 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009386/0.789, allocations: 2.651 MB / 0.8004 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006548/0.7956, allocations: 2.173 MB / 0.8026 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01025/0.8059, allocations: 6.681 MB / 0.8091 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009397/0.8153, allocations: 5.519 MB / 0.8145 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005895/0.8213, allocations: 2.613 MB / 0.817 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006362/0.8277, allocations: 3.09 MB / 0.82 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00259/0.8303, allocations: 0.5742 MB / 0.8206 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005784/0.8361, allocations: 1.907 MB / 0.8225 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003169/0.8393, allocations: 1.613 MB / 0.824 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005906/0.8452, allocations: 2.659 MB / 0.8266 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01438/0.8596, allocations: 7.622 MB / 0.8341 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.8597, allocations: 0 / 0.8341 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8597, allocations: 4 kB / 0.8341 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003447/0.8601, allocations: 0 / 0.8341 GB, free: 13.12 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.02272/0.8828, allocations: 5.617 MB / 0.8396 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.8829, allocations: 15.97 kB / 0.8396 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02161/0.9045, allocations: 2.997 MB / 0.8425 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009777/0.9144, allocations: 2.675 MB / 0.8451 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000461/0.9149, allocations: 312.2 kB / 0.8454 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002308/0.9172, allocations: 411.9 kB / 0.8458 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02216/0.9394, allocations: 6.218 MB / 0.8519 GB, free: 10.61 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001651/0.9396, allocations: 4 kB / 0.8519 GB, free: 10.61 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001331/0.9409, allocations: 168 kB / 0.852 GB, free: 10.44 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001689/0.9411, allocations: 151.9 kB / 0.8522 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01986/0.961, allocations: 7.325 MB / 0.8593 GB, free: 2.941 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.3785/1.34, allocations: 18.91 MB / 0.8778 GB, free: 207.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008535/1.348, allocations: 4.807 MB / 0.8825 GB, free: 205.6 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005358/1.354, allocations: 3.164 MB / 0.8856 GB, free: 204.6 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008989/1.354, allocations: 0.7055 MB / 0.8863 GB, free: 203.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005428/1.36, allocations: 2.931 MB / 0.8891 GB, free: 203.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=345): time 5.099e-06/1.36, allocations: 0 / 0.8891 GB, free: 203.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=347): time 0.04404/1.404, allocations: 16.25 MB / 0.905 GB, free: 197.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/1.404, allocations: 218.9 kB / 0.9052 GB, free: 197.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007973/1.412, allocations: 2.901 MB / 0.908 GB, free: 196.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001345/1.413, allocations: 85.34 kB / 0.9081 GB, free: 196.1 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001924/1.415, allocations: 1.687 MB / 0.9098 GB, free: 194.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001885/1.417, allocations: 1.149 MB / 0.9109 GB, free: 193.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003018/1.42, allocations: 0.5882 MB / 0.9115 GB, free: 193.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.572e-05/1.42, allocations: 304.4 kB / 0.9118 GB, free: 193.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006879/1.427, allocations: 2.333 MB / 0.914 GB, free: 192.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007293/1.435, allocations: 2.683 MB / 0.9167 GB, free: 191.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.3766/1.811, allocations: 86.73 MB / 1.001 GB, free: 119 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/1.811, allocations: 0 / 1.001 GB, free: 119 MB / 0.67 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.02675/1.838, allocations: 6.202 MB / 1.007 GB, free: 112.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.976e-05/1.838, allocations: 33.7 kB / 1.007 GB, free: 112.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/1.838, allocations: 4 kB / 1.007 GB, free: 112.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002956/1.841, allocations: 0.8357 MB / 1.008 GB, free: 111.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008413/1.85, allocations: 0.8619 MB / 1.009 GB, free: 111 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0164/1.866, allocations: 7.504 MB / 1.016 GB, free: 103.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008409/1.874, allocations: 441.9 kB / 1.017 GB, free: 103 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/1.876, allocations: 127.9 kB / 1.017 GB, free: 102.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.00435/1.88, allocations: 1.14 MB / 1.018 GB, free: 101.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001892/1.882, allocations: 343.7 kB / 1.018 GB, free: 101.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02706/1.909, allocations: 6.771 MB / 1.025 GB, free: 94.53 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.57e-05/1.909, allocations: 36 kB / 1.025 GB, free: 94.49 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/1.909, allocations: 8 kB / 1.025 GB, free: 94.48 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02034/1.929, allocations: 5.922 MB / 1.031 GB, free: 88.44 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03686/1.966, allocations: 11.73 MB / 1.042 GB, free: 76.63 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/1.966, allocations: 4 kB / 1.042 GB, free: 76.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007643/1.974, allocations: 0.8505 MB / 1.043 GB, free: 75.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002543/1.977, allocations: 0.7059 MB / 1.044 GB, free: 75.06 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006193/1.977, allocations: 99.86 kB / 1.044 GB, free: 74.96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01529/1.993, allocations: 10.05 MB / 1.054 GB, free: 64.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.993, allocations: 11.88 kB / 1.054 GB, free: 64.49 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01777/2.01, allocations: 9.8 MB / 1.063 GB, free: 54.56 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/2.012, allocations: 0.9105 MB / 1.064 GB, free: 53.62 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007952/2.013, allocations: 79.84 kB / 1.064 GB, free: 53.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003567/2.017, allocations: 431.4 kB / 1.065 GB, free: 53.12 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005174/2.017, allocations: 250.4 kB / 1.065 GB, free: 52.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002669/2.017, allocations: 116.1 kB / 1.065 GB, free: 52.77 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00247/2.02, allocations: 2.111 MB / 1.067 GB, free: 50.66 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/2.02, allocations: 4 kB / 1.067 GB, free: 50.66 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002962/2.023, allocations: 1.102 MB / 1.068 GB, free: 49.57 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.002304/2.025, allocations: 1.075 MB / 1.069 GB, free: 48.92 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02182/2.047, allocations: 10.36 MB / 1.079 GB, free: 38.55 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/2.047, allocations: 0 / 1.079 GB, free: 38.55 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006497/2.053, allocations: 3.556 MB / 1.083 GB, free: 34.96 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005026/2.059, allocations: 1.036 MB / 1.084 GB, free: 33.97 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/2.074, allocations: 9.951 MB / 1.094 GB, free: 23.96 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002739/2.076, allocations: 2.928 MB / 1.096 GB, free: 21.01 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005431/2.082, allocations: 1.266 MB / 1.098 GB, free: 19.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/2.083, allocations: 299.3 kB / 1.098 GB, free: 19.44 MB / 0.67 GB Notification: Performance of SimCode: time 6.62e-07/2.083, allocations: 0 / 1.098 GB, free: 19.44 MB / 0.67 GB Notification: Performance of Templates: time 0.3219/2.405, allocations: 62.94 MB / 1.159 GB, free: 193.8 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)