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.001172/0.001172, allocations: 114.3 kB / 16.37 MB, free: 6.016 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.001029/0.001029, allocations: 195.4 kB / 17.3 MB, free: 5.613 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.778/0.778, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.89 kB / 0.5068 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3815, allocations: 80.9 MB / 0.5858 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5885/0.97, allocations: 202.1 MB / 0.7831 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0274/0.9974, allocations: 15.12 MB / 0.7979 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007311/1.005, allocations: 93.03 kB / 0.798 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003787/1.009, allocations: 1.302 MB / 0.7992 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00845/1.017, allocations: 2.652 MB / 0.8018 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005683/1.023, allocations: 2.198 MB / 0.804 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008765/1.032, allocations: 6.691 MB / 0.8105 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00714/1.039, allocations: 5.529 MB / 0.8159 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005212/1.044, allocations: 2.615 MB / 0.8185 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006117/1.05, allocations: 3.104 MB / 0.8215 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001652/1.052, allocations: 0.5691 MB / 0.8221 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004768/1.057, allocations: 1.941 MB / 0.824 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001687/1.058, allocations: 1.618 MB / 0.8255 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003448/1.062, allocations: 2.659 MB / 0.8281 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009149/1.071, allocations: 7.748 MB / 0.8357 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.071, allocations: 0 / 0.8357 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.314e-06/1.071, allocations: 0 / 0.8357 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001858/1.071, allocations: 2.531 kB / 0.8357 GB, free: 6.527 MB / 0.5919 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.01159/1.083, allocations: 5.633 MB / 0.8412 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.083, allocations: 9.109 kB / 0.8412 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/1.096, allocations: 2.997 MB / 0.8441 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005681/1.102, allocations: 2.731 MB / 0.8468 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/1.102, allocations: 308.2 kB / 0.8471 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006924/1.103, allocations: 411.9 kB / 0.8475 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01336/1.116, allocations: 6.225 MB / 0.8536 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.651e-05/1.116, allocations: 3.938 kB / 0.8536 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004098/1.117, allocations: 172 kB / 0.8537 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/1.117, allocations: 142.6 kB / 0.8539 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01552/1.133, allocations: 7.33 MB / 0.861 GB, free: 13.57 MB / 0.6231 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.03179/1.164, allocations: 18.74 MB / 0.8793 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00925/1.174, allocations: 4.811 MB / 0.884 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005971/1.18, allocations: 3.164 MB / 0.8871 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/1.181, allocations: 0.6983 MB / 0.8878 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006257/1.187, allocations: 2.941 MB / 0.8907 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=345): time 6.332e-06/1.187, allocations: 0 / 0.8907 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=347): time 0.03886/1.226, allocations: 16.23 MB / 0.9065 GB, free: 14.29 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/1.226, allocations: 225.8 kB / 0.9067 GB, free: 14.02 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004188/1.23, allocations: 2.903 MB / 0.9096 GB, free: 11.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0009593/1.231, allocations: 89.69 kB / 0.9097 GB, free: 11.01 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001869/1.233, allocations: 1.676 MB / 0.9113 GB, free: 9.316 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001763/1.235, allocations: 1.152 MB / 0.9124 GB, free: 8.176 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001217/1.236, allocations: 0.5846 MB / 0.913 GB, free: 7.582 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.236, allocations: 307.8 kB / 0.9133 GB, free: 7.281 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005252/1.241, allocations: 2.332 MB / 0.9156 GB, free: 4.945 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006357/1.248, allocations: 2.681 MB / 0.9182 GB, free: 2.199 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.3441/1.592, allocations: 86.69 MB / 1.003 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/1.592, allocations: 7.938 kB / 1.003 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01466/1.607, allocations: 6.203 MB / 1.009 GB, free: 5.121 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 8.512e-05/1.607, allocations: 37.7 kB / 1.009 GB, free: 5.078 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/1.607, allocations: 0 / 1.009 GB, free: 5.078 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/1.609, allocations: 0.8317 MB / 1.01 GB, free: 4.242 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004674/1.613, allocations: 0.8664 MB / 1.011 GB, free: 3.41 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/1.624, allocations: 7.492 MB / 1.018 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004682/1.629, allocations: 443.3 kB / 1.018 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/1.63, allocations: 131.9 kB / 1.018 GB, free: 11.23 MB / 0.7794 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.003531/1.634, allocations: 1.138 MB / 1.02 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.635, allocations: 339.8 kB / 1.02 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01551/1.65, allocations: 6.767 MB / 1.027 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.908e-05/1.65, allocations: 32 kB / 1.027 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.92e-05/1.65, allocations: 12 kB / 1.027 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01392/1.664, allocations: 5.92 MB / 1.032 GB, free: 12.94 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02603/1.69, allocations: 11.73 MB / 1.044 GB, free: 1.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/1.69, allocations: 3.938 kB / 1.044 GB, free: 1.176 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004731/1.695, allocations: 0.8475 MB / 1.045 GB, free: 364 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3312/2.026, allocations: 0.6951 MB / 1.045 GB, free: 225.7 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008399/2.027, allocations: 99.7 kB / 1.045 GB, free: 225.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009298/2.036, allocations: 10.05 MB / 1.055 GB, free: 221.2 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/2.036, allocations: 4.562 kB / 1.055 GB, free: 221.2 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02/2.056, allocations: 9.81 MB / 1.065 GB, free: 220.7 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/2.059, allocations: 0.907 MB / 1.066 GB, free: 220.6 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006908/2.06, allocations: 83.22 kB / 1.066 GB, free: 220.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003306/2.063, allocations: 429 kB / 1.066 GB, free: 220.6 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005617/2.063, allocations: 257.3 kB / 1.066 GB, free: 220.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000284/2.064, allocations: 122.1 kB / 1.067 GB, free: 220.6 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002509/2.066, allocations: 2.106 MB / 1.069 GB, free: 220.5 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.8e-07/2.066, allocations: 0 / 1.069 GB, free: 220.5 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003165/2.069, allocations: 1.101 MB / 1.07 GB, free: 220.5 MB / 0.795 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.002473/2.072, allocations: 1.062 MB / 1.071 GB, free: 220.3 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01132/2.083, allocations: 5.934 MB / 1.076 GB, free: 220 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/2.083, allocations: 2.812 kB / 1.076 GB, free: 220 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.006428/2.09, allocations: 3.547 MB / 1.08 GB, free: 219.6 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004411/2.094, allocations: 1.022 MB / 1.081 GB, free: 219.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/2.11, allocations: 9.855 MB / 1.091 GB, free: 216.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00266/2.113, allocations: 2.923 MB / 1.093 GB, free: 216.1 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004331/2.117, allocations: 1.268 MB / 1.095 GB, free: 215.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/2.119, allocations: 302.7 kB / 1.095 GB, free: 215.8 MB / 0.795 GB Notification: Performance of SimCode: time 1.803e-06/2.119, allocations: 0 / 1.095 GB, free: 215.8 MB / 0.795 GB Notification: Performance of Templates: time 0.08205/2.201, allocations: 62.91 MB / 1.156 GB, free: 162.4 MB / 0.795 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)