Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.513/2.513, allocations: 287.5 MB / 303.2 MB, free: 8.277 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.001404/0.001404, allocations: 180.5 kB / 371.8 MB, free: 10.77 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.045/2.045, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0009248/0.0009247, allocations: 94.77 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004834, allocations: 12.72 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2035, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.314/1.517, allocations: 454.6 MB / 1.423 GB, free: 8.164 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/1.518, allocations: 102.4 kB / 1.423 GB, free: 8.113 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.385/7.903, allocations: 1.164 GB / 2.588 GB, free: 144.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.645e-06/7.903, allocations: 1.344 kB / 2.588 GB, free: 144.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000366/7.904, allocations: 56.19 kB / 2.588 GB, free: 144.3 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.01008/7.914, allocations: 2.547 MB / 2.59 GB, free: 143.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/7.914, allocations: 9.875 kB / 2.59 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004055/7.918, allocations: 456.4 kB / 2.591 GB, free: 143.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009947/7.928, allocations: 2.294 MB / 2.593 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/7.928, allocations: 88.44 kB / 2.593 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004587/7.929, allocations: 127.1 kB / 2.593 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003768/7.932, allocations: 1.327 MB / 2.594 GB, free: 142.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.165e-05/7.932, allocations: 6.375 kB / 2.594 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/7.933, allocations: 50.91 kB / 2.594 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.001e-05/7.933, allocations: 28.5 kB / 2.595 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003566/7.936, allocations: 0.9642 MB / 2.595 GB, free: 142.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 preOpt removeSimpleEquations (simulation): time 0.01265/7.949, allocations: 6.845 MB / 2.602 GB, free: 138.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/7.952, allocations: 1.264 MB / 2.603 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/7.953, allocations: 368.5 kB / 2.604 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006289/7.96, allocations: 2.89 MB / 2.607 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/7.961, allocations: 406.9 kB / 2.607 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001094/7.962, allocations: 81.72 kB / 2.607 GB, free: 135.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.827e-06/7.962, allocations: 0 / 2.607 GB, free: 135.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.004594/7.967, allocations: 1.2 MB / 2.608 GB, free: 135.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/7.967, allocations: 165.2 kB / 2.608 GB, free: 135.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002977/7.97, allocations: 1.508 MB / 2.61 GB, free: 135.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002665/7.97, allocations: 43.77 kB / 2.61 GB, free: 135.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009329/7.971, allocations: 0.8905 MB / 2.611 GB, free: 134.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000338/7.971, allocations: 216.3 kB / 2.611 GB, free: 134.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-05/7.971, allocations: 21.91 kB / 2.611 GB, free: 134.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001126/7.972, allocations: 346.9 kB / 2.611 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/7.973, allocations: 326.8 kB / 2.612 GB, free: 134.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/7.974, allocations: 0.7682 MB / 2.612 GB, free: 133.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/7.977, allocations: 1.042 MB / 2.613 GB, free: 133.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/7.977, allocations: 3.969 kB / 2.613 GB, free: 133.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004174/7.981, allocations: 1.208 MB / 2.615 GB, free: 133.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003261/7.982, allocations: 460.7 kB / 2.615 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-05/7.982, allocations: 14.08 kB / 2.615 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.839e-05/7.982, allocations: 18.44 kB / 2.615 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/7.984, allocations: 244.4 kB / 2.615 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.698e-05/7.984, allocations: 21.44 kB / 2.615 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002623/7.986, allocations: 120.3 kB / 2.615 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/7.987, allocations: 61.27 kB / 2.615 GB, free: 132.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/7.987, allocations: 3.062 kB / 2.615 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003503/7.99, allocations: 1.039 MB / 2.616 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-05/7.99, allocations: 11.66 kB / 2.616 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/7.99, allocations: 18.66 kB / 2.616 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/7.992, allocations: 239.8 kB / 2.617 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.679e-05/7.992, allocations: 23.77 kB / 2.617 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/7.994, allocations: 121.2 kB / 2.617 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/7.995, allocations: 54.05 kB / 2.617 GB, free: 132.7 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 () * 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.001428/7.996, allocations: 491.1 kB / 2.617 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006097/7.997, allocations: 175.6 kB / 2.618 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003976/8.001, allocations: 1.129 MB / 2.619 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/8.001, allocations: 10.7 kB / 2.619 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/8.001, allocations: 0 / 2.619 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002696/8.004, allocations: 0.9683 MB / 2.62 GB, free: 131.9 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.006989/8.011, allocations: 2.319 MB / 2.622 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/8.011, allocations: 2.594 kB / 2.622 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/8.012, allocations: 131.2 kB / 2.622 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000179/8.012, allocations: 31.12 kB / 2.622 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.517e-05/8.012, allocations: 24.09 kB / 2.622 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009788/8.013, allocations: 1.298 MB / 2.623 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/8.013, allocations: 0 / 2.623 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004639/8.018, allocations: 1.516 MB / 2.625 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/8.019, allocations: 336.9 kB / 2.625 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004945/8.02, allocations: 16.62 kB / 2.625 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/8.021, allocations: 103.5 kB / 2.625 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/8.022, allocations: 62.2 kB / 2.625 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/8.022, allocations: 28.19 kB / 2.625 GB, free: 129.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002284/8.024, allocations: 1.065 MB / 2.626 GB, free: 129.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.71e-07/8.024, allocations: 0 / 2.626 GB, free: 129.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005017/8.029, allocations: 1.004 MB / 2.627 GB, free: 129.3 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) * Number of clocked states: 0 () * 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.003568/8.033, allocations: 1.325 MB / 2.629 GB, free: 129 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004762/8.037, allocations: 1.546 MB / 2.63 GB, free: 128.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/8.038, allocations: 0 / 2.63 GB, free: 128.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/8.039, allocations: 0.5014 MB / 2.631 GB, free: 128.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006605/8.046, allocations: 0.7343 MB / 2.631 GB, free: 128.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008424/8.054, allocations: 3.691 MB / 2.635 GB, free: 127 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/8.055, allocations: 1.369 MB / 2.636 GB, free: 126.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003108/8.058, allocations: 438.7 kB / 2.637 GB, free: 126.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/8.059, allocations: 139.8 kB / 2.637 GB, free: 126.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.503e-06/8.059, allocations: 0 / 2.637 GB, free: 126.3 MB / 0.948 GB Notification: Performance of Templates: time 0.09073/8.15, allocations: 35.49 MB / 2.672 GB, free: 124.7 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)