Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 288.4 MB / 304.3 MB, free: 8.188 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.001036/0.001036, allocations: 180.5 kB / 372.9 MB, free: 10.14 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.416/1.416, allocations: 205.4 MB / 0.6317 GB, free: 9.867 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.0008687/0.0008687, allocations: 92.2 kB / 0.745 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004525/0.0004526, allocations: 17.03 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2257, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9141/1.14, allocations: 448.2 MB / 1.418 GB, free: 13.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.14, allocations: 105.1 kB / 1.419 GB, free: 13.04 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.851/4.991, allocations: 1.128 GB / 2.546 GB, free: 138.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.743e-06/4.991, allocations: 0 / 2.546 GB, free: 138.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002363/4.991, allocations: 58.56 kB / 2.546 GB, free: 138.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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.006813/4.998, allocations: 2.655 MB / 2.549 GB, free: 138.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/4.998, allocations: 9.844 kB / 2.549 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/5, allocations: 374 kB / 2.549 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005578/5.006, allocations: 2.432 MB / 2.552 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.132e-05/5.006, allocations: 103.8 kB / 2.552 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/5.006, allocations: 136.4 kB / 2.552 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/5.009, allocations: 1.432 MB / 2.553 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/5.009, allocations: 7.75 kB / 2.553 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/5.009, allocations: 55.59 kB / 2.553 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-05/5.009, allocations: 35.12 kB / 2.553 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/5.011, allocations: 1.032 MB / 2.554 GB, free: 137.2 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.008197/5.019, allocations: 7.101 MB / 2.561 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/5.021, allocations: 1.287 MB / 2.563 GB, free: 132.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006872/5.021, allocations: 402.6 kB / 2.563 GB, free: 132.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003088/5.024, allocations: 2.228 MB / 2.565 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007506/5.025, allocations: 447.5 kB / 2.566 GB, free: 131.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006674/5.026, allocations: 83.89 kB / 2.566 GB, free: 131.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 3.677e-06/5.026, allocations: 0 / 2.566 GB, free: 131.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.002469/5.028, allocations: 1.285 MB / 2.567 GB, free: 130.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/5.028, allocations: 161.9 kB / 2.567 GB, free: 130.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/5.03, allocations: 1.438 MB / 2.569 GB, free: 130.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-05/5.031, allocations: 47.3 kB / 2.569 GB, free: 130.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006966/5.031, allocations: 0.8906 MB / 2.569 GB, free: 130.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/5.031, allocations: 238.5 kB / 2.57 GB, free: 130.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/5.031, allocations: 20.06 kB / 2.57 GB, free: 130.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.426e-05/5.032, allocations: 347.1 kB / 2.57 GB, free: 129.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007562/5.032, allocations: 346.5 kB / 2.57 GB, free: 129.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009108/5.033, allocations: 0.7347 MB / 2.571 GB, free: 129.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/5.035, allocations: 1.027 MB / 2.572 GB, free: 129 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/5.035, allocations: 2.719 kB / 2.572 GB, free: 129 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002296/5.037, allocations: 1.233 MB / 2.573 GB, free: 128.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00019/5.037, allocations: 400.4 kB / 2.574 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/5.037, allocations: 15.03 kB / 2.574 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.031e-05/5.037, allocations: 14.34 kB / 2.574 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008627/5.038, allocations: 244.8 kB / 2.574 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/5.038, allocations: 23.98 kB / 2.574 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/5.04, allocations: 131 kB / 2.574 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/5.04, allocations: 55.84 kB / 2.574 GB, free: 128.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/5.04, allocations: 12.41 kB / 2.574 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00188/5.042, allocations: 1.046 MB / 2.575 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/5.042, allocations: 13.14 kB / 2.575 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/5.042, allocations: 16.09 kB / 2.575 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/5.043, allocations: 245.5 kB / 2.575 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/5.043, allocations: 20.83 kB / 2.575 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/5.044, allocations: 133 kB / 2.576 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.963e-05/5.044, allocations: 52.61 kB / 2.576 GB, free: 128.3 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.001038/5.045, allocations: 0.4962 MB / 2.576 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/5.046, allocations: 168.4 kB / 2.576 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/5.048, allocations: 1.152 MB / 2.577 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/5.048, allocations: 8.859 kB / 2.577 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/5.048, allocations: 0.7031 kB / 2.577 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001526/5.05, allocations: 0.8661 MB / 2.578 GB, free: 127.7 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.005147/5.055, allocations: 2.442 MB / 2.581 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/5.055, allocations: 0.9375 kB / 2.581 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008018/5.056, allocations: 152.2 kB / 2.581 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001647/5.056, allocations: 28.61 kB / 2.581 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.032e-05/5.056, allocations: 29.08 kB / 2.581 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000884/5.057, allocations: 1.294 MB / 2.582 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/5.057, allocations: 1.781 kB / 2.582 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003207/5.06, allocations: 1.598 MB / 2.584 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009263/5.061, allocations: 332.2 kB / 2.584 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/5.061, allocations: 19.83 kB / 2.584 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009603/5.062, allocations: 109.8 kB / 2.584 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/5.062, allocations: 65.97 kB / 2.584 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.996e-05/5.062, allocations: 36.78 kB / 2.584 GB, free: 125.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001572/5.064, allocations: 0.9505 MB / 2.585 GB, free: 125.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/5.064, allocations: 0 / 2.585 GB, free: 125.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003671/5.068, allocations: 1.09 MB / 2.586 GB, free: 125.1 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.002238/5.07, allocations: 1.149 MB / 2.587 GB, free: 124.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003439/5.073, allocations: 1.588 MB / 2.589 GB, free: 124.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/5.073, allocations: 6.359 kB / 2.589 GB, free: 124.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/5.074, allocations: 0.5326 MB / 2.589 GB, free: 124.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00477/5.079, allocations: 0.7597 MB / 2.59 GB, free: 124.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007564/5.087, allocations: 3.83 MB / 2.594 GB, free: 122.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/5.088, allocations: 1.413 MB / 2.595 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002237/5.09, allocations: 420.7 kB / 2.596 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/5.09, allocations: 136.8 kB / 2.596 GB, free: 122 MB / 0.948 GB Notification: Performance of SimCode: time 8.82e-07/5.091, allocations: 0 / 2.596 GB, free: 122 MB / 0.948 GB Notification: Performance of Templates: time 0.05489/5.145, allocations: 36.45 MB / 2.631 GB, free: 120.7 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)