Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 289.7 MB / 302.2 MB, free: 2.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 184.4 kB / 371.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.2 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009658/0.0009659, allocations: 95.98 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.623e-05/4.626e-05, allocations: 8 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3628, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.07/2.433, allocations: 448.9 MB / 1.418 GB, free: 288.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/2.433, allocations: 90.42 kB / 1.418 GB, free: 288.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.564/6.998, allocations: 1.133 GB / 2.552 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.423e-06/6.998, allocations: 0 / 2.552 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002619/6.998, allocations: 64.16 kB / 2.552 GB, free: 125.1 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.00517/7.003, allocations: 2.177 MB / 2.554 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/7.003, allocations: 10.88 kB / 2.554 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/7.005, allocations: 376.1 kB / 2.554 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005894/7.011, allocations: 2.461 MB / 2.557 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.522e-05/7.011, allocations: 96.33 kB / 2.557 GB, free: 123.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/7.011, allocations: 139.6 kB / 2.557 GB, free: 123.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/7.014, allocations: 1.364 MB / 2.558 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/7.014, allocations: 5.719 kB / 2.558 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/7.014, allocations: 51.22 kB / 2.558 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/7.014, allocations: 37.38 kB / 2.558 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/7.015, allocations: 0.9167 MB / 2.559 GB, free: 123.4 MB / 0.9636 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.008989/7.024, allocations: 7.158 MB / 2.566 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/7.026, allocations: 1.185 MB / 2.567 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/7.026, allocations: 348.1 kB / 2.568 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003467/7.03, allocations: 2.267 MB / 2.57 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006172/7.03, allocations: 399.8 kB / 2.57 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000714/7.031, allocations: 91.48 kB / 2.57 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=68): time 3.216e-06/7.031, allocations: 0 / 2.57 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=68): time 0.001325/7.032, allocations: 0.7381 MB / 2.571 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/7.032, allocations: 169.6 kB / 2.571 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/7.034, allocations: 1.289 MB / 2.573 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.51e-05/7.034, allocations: 46.58 kB / 2.573 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007271/7.035, allocations: 0.8985 MB / 2.573 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/7.035, allocations: 243.5 kB / 2.574 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/7.035, allocations: 23.16 kB / 2.574 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.45e-05/7.036, allocations: 345.1 kB / 2.574 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004363/7.036, allocations: 291 kB / 2.574 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/7.037, allocations: 0.6732 MB / 2.575 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005758/7.037, allocations: 410.6 kB / 2.575 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/7.037, allocations: 1.906 kB / 2.575 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001713/7.039, allocations: 1.122 MB / 2.576 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007739/7.04, allocations: 3.737 MB / 2.58 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/7.04, allocations: 9.844 kB / 2.58 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-05/7.04, allocations: 16.53 kB / 2.58 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009337/7.041, allocations: 254.6 kB / 2.58 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.809e-05/7.041, allocations: 21.53 kB / 2.58 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/7.042, allocations: 132.2 kB / 2.581 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/7.042, allocations: 55.95 kB / 2.581 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/7.042, allocations: 4.188 kB / 2.581 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001417/7.044, allocations: 0.9426 MB / 2.581 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/7.044, allocations: 12.31 kB / 2.581 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/7.044, allocations: 15.5 kB / 2.582 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008515/7.045, allocations: 251.4 kB / 2.582 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/7.045, allocations: 19.78 kB / 2.582 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/7.046, allocations: 126.9 kB / 2.582 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.194e-05/7.046, allocations: 49.23 kB / 2.582 GB, free: 111.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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.0002787/7.046, allocations: 181.8 kB / 2.582 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/7.047, allocations: 172.8 kB / 2.582 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/7.049, allocations: 0.9755 MB / 2.583 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/7.049, allocations: 17.53 kB / 2.583 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/7.049, allocations: 0 / 2.583 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009657/7.05, allocations: 0.6846 MB / 2.584 GB, free: 111.1 MB / 0.9636 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.003796/7.053, allocations: 2.294 MB / 2.586 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/7.053, allocations: 5.25 kB / 2.586 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007186/7.054, allocations: 159.7 kB / 2.586 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/7.054, allocations: 24.91 kB / 2.586 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.802e-05/7.054, allocations: 26.73 kB / 2.586 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008454/7.055, allocations: 1.302 MB / 2.588 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/7.055, allocations: 1.531 kB / 2.588 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/7.057, allocations: 1.396 MB / 2.589 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008059/7.058, allocations: 342.8 kB / 2.589 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/7.058, allocations: 19.86 kB / 2.589 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009808/7.059, allocations: 114.4 kB / 2.589 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/7.059, allocations: 54.66 kB / 2.59 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.714e-05/7.059, allocations: 32.56 kB / 2.59 GB, free: 109 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001696/7.061, allocations: 0.9932 MB / 2.591 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.71e-07/7.061, allocations: 0 / 2.591 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004094/7.065, allocations: 1.14 MB / 2.592 GB, free: 108.7 MB / 0.9636 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.vol.dynBal.U) * 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 (76): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002266/7.068, allocations: 1.186 MB / 2.593 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002382/7.07, allocations: 1.499 MB / 2.594 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/7.07, allocations: 6.906 kB / 2.594 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008546/7.071, allocations: 490.1 kB / 2.595 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004017/7.075, allocations: 0.7651 MB / 2.595 GB, free: 108 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00553/7.08, allocations: 2.37 MB / 2.598 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/7.082, allocations: 1.453 MB / 2.599 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003063/7.085, allocations: 0.5581 MB / 2.6 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/7.085, allocations: 112 kB / 2.6 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of SimCode: time 1.733e-06/7.085, allocations: 0 / 2.6 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of Templates: time 0.08599/7.171, allocations: 41.6 MB / 2.64 GB, free: 104.8 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)