Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.545/2.545, allocations: 285 MB / 292.5 MB, free: 10.45 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.001478/0.001478, allocations: 176.9 kB / 360.7 MB, free: 7.227 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.932/1.932, allocations: 205.2 MB / 0.6192 GB, free: 12.11 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.001096/0.001095, allocations: 80.3 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.473e-05/2.482e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8138/0.8138, allocations: 115.2 MB / 0.9634 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.327/2.141, allocations: 453.7 MB / 1.406 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/2.142, allocations: 93.02 kB / 1.407 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.891/8.033, allocations: 1.162 GB / 2.568 GB, free: 123.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.024e-06/8.033, allocations: 3.062 kB / 2.568 GB, free: 123.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003537/8.033, allocations: 54.5 kB / 2.568 GB, free: 123.8 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006527/8.04, allocations: 2.08 MB / 2.57 GB, free: 121.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/8.04, allocations: 8.031 kB / 2.57 GB, free: 121.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003875/8.044, allocations: 458 kB / 2.571 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009568/8.054, allocations: 2.291 MB / 2.573 GB, free: 119 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.262e-05/8.054, allocations: 36.86 kB / 2.573 GB, free: 119 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004657/8.054, allocations: 75.98 kB / 2.573 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002286/8.056, allocations: 0.7852 MB / 2.574 GB, free: 118.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/8.059, allocations: 1.089 MB / 2.575 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.6e-05/8.059, allocations: 0 / 2.575 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/8.059, allocations: 6.031 kB / 2.575 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/8.059, allocations: 28 kB / 2.575 GB, free: 116.9 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.01205/8.071, allocations: 6.687 MB / 2.582 GB, free: 109.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/8.073, allocations: 1.141 MB / 2.583 GB, free: 108.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006839/8.074, allocations: 298 kB / 2.583 GB, free: 108.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006445/8.08, allocations: 2.887 MB / 2.586 GB, free: 105 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007293/8.081, allocations: 336.4 kB / 2.586 GB, free: 104.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000906/8.082, allocations: 78.3 kB / 2.586 GB, free: 104.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 4.789e-06/8.082, allocations: 0 / 2.586 GB, free: 104.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.009039/8.091, allocations: 1.285 MB / 2.587 GB, free: 103.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/8.091, allocations: 168.6 kB / 2.588 GB, free: 103.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/8.094, allocations: 1.244 MB / 2.589 GB, free: 101.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002559/8.094, allocations: 25.7 kB / 2.589 GB, free: 101.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008818/8.095, allocations: 0.8875 MB / 2.59 GB, free: 101 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/8.095, allocations: 203.2 kB / 2.59 GB, free: 100.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/8.096, allocations: 0 / 2.59 GB, free: 100.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.655e-05/8.096, allocations: 345.9 kB / 2.59 GB, free: 100.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/8.096, allocations: 258.6 kB / 2.59 GB, free: 100.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000828/8.097, allocations: 0.6965 MB / 2.591 GB, free: 99.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007896/8.105, allocations: 0.9922 MB / 2.592 GB, free: 98.36 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.729e-05/8.105, allocations: 0 / 2.592 GB, free: 98.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009809/8.115, allocations: 1.637 MB / 2.594 GB, free: 96.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00096/8.116, allocations: 4.543 MB / 2.598 GB, free: 91.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.054e-05/8.116, allocations: 16 kB / 2.598 GB, free: 91.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.606e-05/8.116, allocations: 16 kB / 2.598 GB, free: 91.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/8.118, allocations: 251.6 kB / 2.598 GB, free: 91.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.158e-05/8.118, allocations: 23.89 kB / 2.598 GB, free: 91.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/8.12, allocations: 103.7 kB / 2.598 GB, free: 91.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/8.12, allocations: 63.91 kB / 2.599 GB, free: 91.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/8.12, allocations: 4 kB / 2.599 GB, free: 91.36 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009085/8.13, allocations: 1.416 MB / 2.6 GB, free: 89.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/8.13, allocations: 12 kB / 2.6 GB, free: 89.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/8.13, allocations: 20 kB / 2.6 GB, free: 89.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/8.131, allocations: 248.2 kB / 2.6 GB, free: 89.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/8.131, allocations: 23.88 kB / 2.6 GB, free: 89.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/8.133, allocations: 91.84 kB / 2.6 GB, free: 89.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/8.134, allocations: 55.73 kB / 2.6 GB, free: 89.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003244/8.134, allocations: 152.3 kB / 2.601 GB, free: 89.34 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/8.134, allocations: 169.7 kB / 2.601 GB, free: 89.18 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009248/8.144, allocations: 1.484 MB / 2.602 GB, free: 87.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/8.144, allocations: 11.66 kB / 2.602 GB, free: 87.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/8.144, allocations: 0 / 2.602 GB, free: 87.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008142/8.152, allocations: 1.342 MB / 2.603 GB, free: 86.29 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 postOpt removeSimpleEquations (simulation): time 0.01146/8.163, allocations: 2.559 MB / 2.606 GB, free: 83.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/8.163, allocations: 4 kB / 2.606 GB, free: 83.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/8.165, allocations: 131.9 kB / 2.606 GB, free: 83.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/8.165, allocations: 32.73 kB / 2.606 GB, free: 83.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-05/8.165, allocations: 19.97 kB / 2.606 GB, free: 83.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009823/8.166, allocations: 1.271 MB / 2.607 GB, free: 82.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/8.166, allocations: 0 / 2.607 GB, free: 82.12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009316/8.175, allocations: 1.865 MB / 2.609 GB, free: 80.22 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008595/8.176, allocations: 330.8 kB / 2.61 GB, free: 79.88 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/8.176, allocations: 8 kB / 2.61 GB, free: 79.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/8.178, allocations: 75.86 kB / 2.61 GB, free: 79.79 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/8.178, allocations: 48.48 kB / 2.61 GB, free: 79.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.572e-05/8.178, allocations: 39.91 kB / 2.61 GB, free: 79.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00171/8.18, allocations: 0.9195 MB / 2.611 GB, free: 78.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.11e-07/8.18, allocations: 0 / 2.611 GB, free: 78.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004982/8.185, allocations: 1.005 MB / 2.612 GB, free: 77.79 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003138/8.188, allocations: 1.253 MB / 2.613 GB, free: 76.79 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002808/8.191, allocations: 1.365 MB / 2.614 GB, free: 75.39 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/8.191, allocations: 0 / 2.614 GB, free: 75.39 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009186/8.192, allocations: 438.2 kB / 2.615 GB, free: 74.95 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004775/8.197, allocations: 0.6323 MB / 2.615 GB, free: 74.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/8.203, allocations: 2.291 MB / 2.617 GB, free: 72.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/8.204, allocations: 1.406 MB / 2.619 GB, free: 70.59 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004004/8.208, allocations: 0.5925 MB / 2.619 GB, free: 70.04 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003771/8.208, allocations: 107.4 kB / 2.619 GB, free: 69.94 MB / 0.948 GB Notification: Performance of SimCode: time 1.402e-06/8.208, allocations: 0 / 2.619 GB, free: 69.94 MB / 0.948 GB Notification: Performance of Templates: time 0.08189/8.29, allocations: 32.85 MB / 2.652 GB, free: 37.64 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)