Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.82/2.82, allocations: 285 MB / 292.5 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 180.9 kB / 360.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.95/1.95, allocations: 205.3 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001083, allocations: 98.98 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.384e-05/2.386e-05, allocations: 4 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8125/0.8125, allocations: 115.2 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.904/6.716, allocations: 2.085 GB / 3.049 GB, free: 33.08 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004121/6.717, allocations: 90.41 kB / 3.049 GB, free: 33.04 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.561/12.28, allocations: 1.025 GB / 4.074 GB, free: 106.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.545e-06/12.28, allocations: 0 / 4.074 GB, free: 106.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003333/12.28, allocations: 47.75 kB / 4.074 GB, free: 106.4 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.007727/12.29, allocations: 2.06 MB / 4.076 GB, free: 104.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/12.29, allocations: 8.031 kB / 4.076 GB, free: 104.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006756/12.29, allocations: 0.6337 MB / 4.077 GB, free: 103.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005563/12.3, allocations: 1.435 MB / 4.078 GB, free: 102.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006531/12.3, allocations: 118.2 kB / 4.078 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005599/12.3, allocations: 75.91 kB / 4.078 GB, free: 102 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003228/12.3, allocations: 0.9808 MB / 4.079 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003309/12.31, allocations: 1.184 MB / 4.081 GB, free: 99.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.643e-05/12.31, allocations: 7.953 kB / 4.081 GB, free: 99.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/12.31, allocations: 0 / 4.081 GB, free: 99.79 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.275e-05/12.31, allocations: 46.2 kB / 4.081 GB, free: 99.74 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01295/12.32, allocations: 5.625 MB / 4.086 GB, free: 93.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/12.32, allocations: 0.9512 MB / 4.087 GB, free: 92.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009486/12.32, allocations: 456.5 kB / 4.087 GB, free: 92.44 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000767/12.32, allocations: 316 kB / 4.088 GB, free: 92.08 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/12.32, allocations: 0.5058 MB / 4.088 GB, free: 91.55 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 3.948e-06/12.32, allocations: 0 / 4.088 GB, free: 91.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.01221/12.34, allocations: 2.986 MB / 4.091 GB, free: 88.51 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/12.34, allocations: 196.7 kB / 4.091 GB, free: 88.28 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/12.34, allocations: 0.9055 MB / 4.092 GB, free: 87.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003483/12.34, allocations: 29.7 kB / 4.092 GB, free: 87.33 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007842/12.34, allocations: 0.7359 MB / 4.093 GB, free: 86.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004571/12.34, allocations: 315.3 kB / 4.093 GB, free: 86.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/12.34, allocations: 0 / 4.093 GB, free: 86.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/12.34, allocations: 345.9 kB / 4.094 GB, free: 85.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008457/12.34, allocations: 370.5 kB / 4.094 GB, free: 85.57 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/12.34, allocations: 0.5879 MB / 4.095 GB, free: 84.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006534/12.35, allocations: 1.347 MB / 4.096 GB, free: 83.53 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.299e-06/12.35, allocations: 0 / 4.096 GB, free: 83.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006626/12.36, allocations: 1.613 MB / 4.097 GB, free: 81.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002934/12.36, allocations: 1.289 MB / 4.099 GB, free: 80.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/12.36, allocations: 4 kB / 4.099 GB, free: 80.53 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/12.36, allocations: 403.1 kB / 4.099 GB, free: 80.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/12.36, allocations: 179.8 kB / 4.099 GB, free: 79.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009281/12.37, allocations: 6.529 MB / 4.106 GB, free: 73.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/12.37, allocations: 123.8 kB / 4.106 GB, free: 72.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/12.37, allocations: 39.98 kB / 4.106 GB, free: 72.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/12.37, allocations: 4 kB / 4.106 GB, free: 72.88 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0057/12.38, allocations: 1.428 MB / 4.107 GB, free: 71.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/12.38, allocations: 4 kB / 4.107 GB, free: 71.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/12.38, allocations: 418.1 kB / 4.108 GB, free: 71.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/12.38, allocations: 168 kB / 4.108 GB, free: 70.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/12.39, allocations: 7.473 MB / 4.115 GB, free: 62.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/12.39, allocations: 120 kB / 4.115 GB, free: 62.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/12.39, allocations: 39.98 kB / 4.115 GB, free: 62.74 MB / 0.948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00045/12.39, allocations: 171.7 kB / 4.115 GB, free: 62.56 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003889/12.39, allocations: 154.2 kB / 4.116 GB, free: 62.41 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00541/12.4, allocations: 1.403 MB / 4.117 GB, free: 60.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/12.4, allocations: 8 kB / 4.117 GB, free: 60.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/12.4, allocations: 0 / 4.117 GB, free: 60.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004664/12.4, allocations: 1.27 MB / 4.118 GB, free: 59.67 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/12.41, allocations: 3.153 MB / 4.121 GB, free: 56.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/12.41, allocations: 4 kB / 4.121 GB, free: 56.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/12.42, allocations: 188 kB / 4.121 GB, free: 56.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007008/12.42, allocations: 193.6 kB / 4.122 GB, free: 56.01 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002312/12.42, allocations: 19.98 kB / 4.122 GB, free: 55.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003795/12.42, allocations: 2.425 MB / 4.124 GB, free: 53.42 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/12.42, allocations: 12.11 kB / 4.124 GB, free: 53.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006775/12.43, allocations: 2.327 MB / 4.126 GB, free: 50.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/12.43, allocations: 343.2 kB / 4.127 GB, free: 50.53 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003848/12.43, allocations: 16 kB / 4.127 GB, free: 50.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002613/12.43, allocations: 131.7 kB / 4.127 GB, free: 50.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/12.43, allocations: 64.64 kB / 4.127 GB, free: 50.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/12.43, allocations: 39.98 kB / 4.127 GB, free: 50.28 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001471/12.43, allocations: 0.6951 MB / 4.128 GB, free: 49.59 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.61e-07/12.43, allocations: 4 kB / 4.128 GB, free: 49.58 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00649/12.44, allocations: 0.9686 MB / 4.128 GB, free: 48.61 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004585/12.45, allocations: 2.635 MB / 4.131 GB, free: 45.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005152/12.45, allocations: 2.56 MB / 4.134 GB, free: 43.14 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/12.45, allocations: 4 kB / 4.134 GB, free: 43.14 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/12.45, allocations: 0.6716 MB / 4.134 GB, free: 42.45 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006515/12.46, allocations: 0.7319 MB / 4.135 GB, free: 41.72 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008355/12.47, allocations: 2.521 MB / 4.137 GB, free: 39.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/12.47, allocations: 1.401 MB / 4.139 GB, free: 37.68 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003363/12.47, allocations: 423.4 kB / 4.139 GB, free: 37.26 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/12.47, allocations: 83.42 kB / 4.139 GB, free: 37.18 MB / 0.948 GB Notification: Performance of SimCode: time 1.684e-06/12.47, allocations: 0 / 4.139 GB, free: 37.18 MB / 0.948 GB Notification: Performance of Templates: time 0.1115/12.58, allocations: 46.56 MB / 4.185 GB, free: 6.789 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)