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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7473/0.7473, allocations: 133.4 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 404.7 MB, free: 5.988 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 103.3 kB / 485.9 MB, free: 7.121 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 55.92 kB / 0.5636 GB, free: 69.89 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1853, allocations: 80.43 MB / 0.6421 GB, free: 5.395 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.6461/0.8314, allocations: 199.7 MB / 0.8372 GB, free: 9.305 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.8545, allocations: 15.15 MB / 0.852 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005063/0.8596, allocations: 91.5 kB / 0.8521 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.003215/0.8629, allocations: 1.139 MB / 0.8532 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.007484/0.8704, allocations: 2.424 MB / 0.8555 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.005388/0.8758, allocations: 1.94 MB / 0.8574 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.009284/0.8851, allocations: 7.416 MB / 0.8647 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008329/0.8934, allocations: 4.92 MB / 0.8695 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005361/0.8988, allocations: 2.21 MB / 0.8716 GB, free: 5.879 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005437/0.9043, allocations: 2.945 MB / 0.8745 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.00142/0.9057, allocations: 312 kB / 0.8748 GB, free: 2.621 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005063/0.9108, allocations: 1.844 MB / 0.8766 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.002192/0.913, allocations: 1.328 MB / 0.8779 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003428/0.9165, allocations: 2.362 MB / 0.8802 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.008261/0.9247, allocations: 7.466 MB / 0.8875 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9248, allocations: 0 / 0.8875 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9248, allocations: 0 / 0.8875 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001624/0.9249, allocations: 4 kB / 0.8875 GB, free: 5.57 MB / 0.6198 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.01137/0.9363, allocations: 5.614 MB / 0.893 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.9364, allocations: 12.03 kB / 0.893 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/0.9518, allocations: 2.997 MB / 0.8959 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006157/0.958, allocations: 2.686 MB / 0.8986 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/0.9582, allocations: 312.2 kB / 0.8989 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009038/0.9592, allocations: 408 kB / 0.8992 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/0.9744, allocations: 6.218 MB / 0.9053 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001295/0.9746, allocations: 7.938 kB / 0.9053 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000843/0.9755, allocations: 168 kB / 0.9055 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/0.9756, allocations: 148 kB / 0.9056 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01865/0.9943, allocations: 7.321 MB / 0.9128 GB, free: 11.39 MB / 0.6511 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.04208/1.036, allocations: 18.87 MB / 0.9312 GB, free: 7.77 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/1.047, allocations: 4.822 MB / 0.9359 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006462/1.054, allocations: 3.167 MB / 0.939 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/1.055, allocations: 0.7013 MB / 0.9397 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006798/1.062, allocations: 2.932 MB / 0.9425 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=345): time 7.163e-06/1.062, allocations: 0 / 0.9425 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=347): time 0.4223/1.484, allocations: 16.23 MB / 0.9584 GB, free: 249 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/1.484, allocations: 222.5 kB / 0.9586 GB, free: 248.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005245/1.489, allocations: 2.906 MB / 0.9614 GB, free: 247.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009378/1.49, allocations: 90.39 kB / 0.9615 GB, free: 247.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001711/1.492, allocations: 1.676 MB / 0.9632 GB, free: 246.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001746/1.494, allocations: 1.156 MB / 0.9643 GB, free: 245.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001322/1.495, allocations: 0.5837 MB / 0.9649 GB, free: 245.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.526e-05/1.495, allocations: 301.7 kB / 0.9652 GB, free: 245 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006151/1.501, allocations: 2.334 MB / 0.9674 GB, free: 244.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007457/1.509, allocations: 2.688 MB / 0.9701 GB, free: 243.4 MB / 0.6823 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.335/1.844, allocations: 86.69 MB / 1.055 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/1.844, allocations: 4 kB / 1.055 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.0136/1.857, allocations: 6.206 MB / 1.061 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.572e-05/1.858, allocations: 33.7 kB / 1.061 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/1.858, allocations: 4 kB / 1.061 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/1.859, allocations: 0.8318 MB / 1.062 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004319/1.864, allocations: 0.8619 MB / 1.062 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008117/1.872, allocations: 6.936 MB / 1.069 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005441/1.877, allocations: 483.1 kB / 1.07 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001094/1.878, allocations: 131.9 kB / 1.07 GB, free: 158.1 MB / 0.6823 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.003592/1.882, allocations: 1.142 MB / 1.071 GB, free: 157 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/1.883, allocations: 345 kB / 1.071 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/1.897, allocations: 6.77 MB / 1.078 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/1.897, allocations: 39.94 kB / 1.078 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.897, allocations: 8 kB / 1.078 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01058/1.908, allocations: 5.913 MB / 1.084 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0218/1.929, allocations: 11.73 MB / 1.095 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/1.929, allocations: 4 kB / 1.095 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004059/1.934, allocations: 0.8507 MB / 1.096 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/1.935, allocations: 0.7019 MB / 1.097 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003951/1.935, allocations: 99.92 kB / 1.097 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008546/1.944, allocations: 9.183 MB / 1.106 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.944, allocations: 7.938 kB / 1.106 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7465/2.69, allocations: 137 MB / 1.24 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003563/2.694, allocations: 0.9147 MB / 1.24 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001336/2.695, allocations: 79.88 kB / 1.241 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0047/2.7, allocations: 472.8 kB / 1.241 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009619/2.701, allocations: 255 kB / 1.241 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000414/2.702, allocations: 120.7 kB / 1.241 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004053/2.706, allocations: 2.104 MB / 1.243 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/2.706, allocations: 0 / 1.243 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008841/2.714, allocations: 1.799 MB / 1.245 GB, free: 227.6 MB / 0.6823 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.00324/2.718, allocations: 1.123 MB / 1.246 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01745/2.735, allocations: 5.913 MB / 1.252 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/2.735, allocations: 1.469 kB / 1.252 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.007272/2.743, allocations: 3.552 MB / 1.255 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005261/2.748, allocations: 0.9633 MB / 1.256 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02195/2.77, allocations: 14.71 MB / 1.271 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003479/2.773, allocations: 3.068 MB / 1.274 GB, free: 215.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.007413/2.781, allocations: 1.591 MB / 1.275 GB, free: 214.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003184/2.784, allocations: 372.2 kB / 1.276 GB, free: 214.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/2.784, allocations: 0 / 1.276 GB, free: 214.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.1455/2.93, allocations: 114.9 MB / 1.388 GB, free: 103.6 MB / 0.6823 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)