Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.512/2.512, allocations: 287.5 MB / 303.2 MB, free: 8.246 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.00132/0.00132, allocations: 174.7 kB / 371.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009586/0.0009585, allocations: 97.72 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004914, allocations: 12.38 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2026, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/1.503, allocations: 448 MB / 1.417 GB, free: 14.57 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/1.503, allocations: 103.4 kB / 1.417 GB, free: 14.52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.332/7.835, allocations: 1.128 GB / 2.545 GB, free: 137.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.985e-06/7.835, allocations: 2.25 kB / 2.545 GB, free: 137.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004086/7.835, allocations: 56.08 kB / 2.545 GB, free: 137.6 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.01087/7.846, allocations: 2.655 MB / 2.547 GB, free: 136.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/7.846, allocations: 13.22 kB / 2.547 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/7.849, allocations: 375.5 kB / 2.548 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009202/7.858, allocations: 2.435 MB / 2.55 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/7.858, allocations: 102.3 kB / 2.55 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003824/7.859, allocations: 140.6 kB / 2.55 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004108/7.863, allocations: 1.433 MB / 2.552 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.786e-05/7.863, allocations: 10.94 kB / 2.552 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/7.863, allocations: 50.84 kB / 2.552 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.513e-05/7.863, allocations: 32.06 kB / 2.552 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003701/7.867, allocations: 1.038 MB / 2.553 GB, free: 136 MB / 0.948 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.01339/7.88, allocations: 7.093 MB / 2.56 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/7.884, allocations: 1.296 MB / 2.561 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/7.885, allocations: 400.2 kB / 2.561 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005229/7.89, allocations: 2.231 MB / 2.564 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001319/7.892, allocations: 440.1 kB / 2.564 GB, free: 130 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001129/7.893, allocations: 82.27 kB / 2.564 GB, free: 130 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 1.582e-05/7.893, allocations: 0 / 2.564 GB, free: 130 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.004349/7.897, allocations: 1.285 MB / 2.565 GB, free: 129.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/7.897, allocations: 167.6 kB / 2.566 GB, free: 129.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/7.9, allocations: 1.439 MB / 2.567 GB, free: 129.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002702/7.9, allocations: 46.78 kB / 2.567 GB, free: 129.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000925/7.901, allocations: 0.893 MB / 2.568 GB, free: 129 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/7.902, allocations: 241.9 kB / 2.568 GB, free: 128.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/7.902, allocations: 21.03 kB / 2.568 GB, free: 128.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.5e-05/7.902, allocations: 343.5 kB / 2.568 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/7.903, allocations: 346.4 kB / 2.569 GB, free: 128.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/7.904, allocations: 0.7322 MB / 2.569 GB, free: 128.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002561/7.907, allocations: 1.035 MB / 2.57 GB, free: 127.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/7.907, allocations: 3.219 kB / 2.57 GB, free: 127.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0037/7.911, allocations: 1.23 MB / 2.572 GB, free: 127.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002186/7.911, allocations: 393.5 kB / 2.572 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/7.911, allocations: 13.31 kB / 2.572 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.776e-05/7.911, allocations: 12.78 kB / 2.572 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/7.913, allocations: 250.7 kB / 2.572 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-05/7.913, allocations: 20.22 kB / 2.572 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/7.915, allocations: 128.9 kB / 2.572 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/7.915, allocations: 53.64 kB / 2.573 GB, free: 127.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/7.915, allocations: 6.062 kB / 2.573 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003278/7.919, allocations: 1.053 MB / 2.574 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.358e-05/7.919, allocations: 17.16 kB / 2.574 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/7.919, allocations: 15.44 kB / 2.574 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/7.92, allocations: 240 kB / 2.574 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.409e-05/7.92, allocations: 27.64 kB / 2.574 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/7.923, allocations: 127.1 kB / 2.574 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/7.923, allocations: 53.53 kB / 2.574 GB, free: 127.1 MB / 0.948 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 () * Number of clocked 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.001299/7.924, allocations: 0.4883 MB / 2.574 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004606/7.925, allocations: 171.3 kB / 2.575 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003555/7.928, allocations: 1.165 MB / 2.576 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/7.928, allocations: 6.75 kB / 2.576 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/7.928, allocations: 0 / 2.576 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002425/7.931, allocations: 0.8651 MB / 2.577 GB, free: 126.5 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.006856/7.938, allocations: 2.448 MB / 2.579 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/7.938, allocations: 1.031 kB / 2.579 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/7.939, allocations: 159.9 kB / 2.579 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001862/7.939, allocations: 24.11 kB / 2.579 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-05/7.939, allocations: 23.11 kB / 2.579 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/7.94, allocations: 1.299 MB / 2.58 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/7.94, allocations: 0.5156 kB / 2.58 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004864/7.945, allocations: 1.592 MB / 2.582 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/7.946, allocations: 333 kB / 2.582 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003384/7.947, allocations: 19.88 kB / 2.582 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/7.949, allocations: 113.2 kB / 2.582 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/7.949, allocations: 59.8 kB / 2.583 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/7.949, allocations: 35.73 kB / 2.583 GB, free: 124.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002314/7.951, allocations: 0.9537 MB / 2.584 GB, free: 124.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.51e-07/7.951, allocations: 0 / 2.584 GB, free: 124.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005229/7.957, allocations: 1.102 MB / 2.585 GB, free: 123.9 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.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * 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.00325/7.96, allocations: 1.132 MB / 2.586 GB, free: 123.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00521/7.965, allocations: 1.591 MB / 2.587 GB, free: 123.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/7.965, allocations: 1.031 kB / 2.587 GB, free: 123.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001794/7.967, allocations: 0.5297 MB / 2.588 GB, free: 123.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006968/7.974, allocations: 0.7687 MB / 2.589 GB, free: 123.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009357/7.983, allocations: 3.832 MB / 2.592 GB, free: 121.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/7.985, allocations: 1.408 MB / 2.594 GB, free: 120.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003338/7.988, allocations: 425.8 kB / 2.594 GB, free: 120.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006472/7.989, allocations: 134.3 kB / 2.594 GB, free: 120.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.663e-06/7.989, allocations: 0 / 2.594 GB, free: 120.8 MB / 0.948 GB Notification: Performance of Templates: time 0.09509/8.084, allocations: 36 MB / 2.629 GB, free: 119.5 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)