Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.789/1.789, allocations: 288.3 MB / 303.2 MB, free: 8.281 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.001063/0.001063, allocations: 179.3 kB / 371.8 MB, free: 10.28 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.343/1.343, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0008535/0.0008535, allocations: 94.86 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003915, allocations: 13.56 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1781, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8387/1.017, allocations: 454.6 MB / 1.423 GB, free: 7.062 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/1.017, allocations: 97.52 kB / 1.423 GB, free: 7.012 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.037/5.054, allocations: 1.171 GB / 2.594 GB, free: 142 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.526e-06/5.055, allocations: 0 / 2.594 GB, free: 142 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002699/5.055, allocations: 61.5 kB / 2.595 GB, free: 142 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.007076/5.062, allocations: 2.563 MB / 2.597 GB, free: 141.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/5.062, allocations: 8.938 kB / 2.597 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/5.065, allocations: 459.7 kB / 2.597 GB, free: 141 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00658/5.071, allocations: 2.314 MB / 2.6 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-05/5.071, allocations: 92.47 kB / 2.6 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/5.071, allocations: 133.1 kB / 2.6 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/5.074, allocations: 1.317 MB / 2.601 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/5.074, allocations: 3.344 kB / 2.601 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/5.074, allocations: 51.34 kB / 2.601 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/5.074, allocations: 33.86 kB / 2.601 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/5.076, allocations: 0.9688 MB / 2.602 GB, free: 140.3 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.008196/5.084, allocations: 6.879 MB / 2.609 GB, free: 136.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/5.086, allocations: 1.271 MB / 2.61 GB, free: 135.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004314/5.09, allocations: 2.889 MB / 2.613 GB, free: 133.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007749/5.091, allocations: 413.5 kB / 2.613 GB, free: 133.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007034/5.092, allocations: 88.56 kB / 2.614 GB, free: 133.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 4.298e-06/5.092, allocations: 0 / 2.614 GB, free: 133.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.002454/5.094, allocations: 1.123 MB / 2.615 GB, free: 133.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/5.094, allocations: 167.5 kB / 2.615 GB, free: 133.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/5.096, allocations: 1.362 MB / 2.616 GB, free: 133.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.512e-05/5.096, allocations: 47.02 kB / 2.616 GB, free: 133 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000637/5.097, allocations: 0.8834 MB / 2.617 GB, free: 132.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/5.097, allocations: 219.5 kB / 2.617 GB, free: 132.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/5.097, allocations: 17.19 kB / 2.617 GB, free: 132.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/5.097, allocations: 353.5 kB / 2.618 GB, free: 132.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/5.098, allocations: 326 kB / 2.618 GB, free: 132.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008355/5.099, allocations: 0.7614 MB / 2.619 GB, free: 131.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008005/5.1, allocations: 456.8 kB / 2.619 GB, free: 131.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/5.1, allocations: 6.875 kB / 2.619 GB, free: 131.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002248/5.102, allocations: 1.224 MB / 2.62 GB, free: 131.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008592/5.103, allocations: 4.547 MB / 2.625 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/5.103, allocations: 11.25 kB / 2.625 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-05/5.103, allocations: 23.33 kB / 2.625 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009452/5.104, allocations: 252.4 kB / 2.625 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.456e-05/5.104, allocations: 23.94 kB / 2.625 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/5.105, allocations: 118.4 kB / 2.625 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/5.106, allocations: 61.86 kB / 2.625 GB, free: 126.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/5.106, allocations: 3.781 kB / 2.625 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001891/5.107, allocations: 1.045 MB / 2.626 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/5.107, allocations: 16.44 kB / 2.626 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/5.108, allocations: 19.94 kB / 2.626 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008532/5.108, allocations: 240.4 kB / 2.626 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/5.108, allocations: 25.44 kB / 2.626 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/5.11, allocations: 119.7 kB / 2.627 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.302e-05/5.11, allocations: 56.2 kB / 2.627 GB, free: 126.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 (122): * Single equations (assignments): 118 * 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.001015/5.111, allocations: 491.5 kB / 2.627 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/5.111, allocations: 166.6 kB / 2.627 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/5.113, allocations: 1.05 MB / 2.628 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/5.113, allocations: 14.98 kB / 2.628 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/5.114, allocations: 0 / 2.628 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001385/5.115, allocations: 0.9018 MB / 2.629 GB, free: 126 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.003972/5.119, allocations: 2.273 MB / 2.631 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/5.119, allocations: 6.031 kB / 2.631 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/5.12, allocations: 137.6 kB / 2.632 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000186/5.12, allocations: 25.89 kB / 2.632 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/5.12, allocations: 23.39 kB / 2.632 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000882/5.121, allocations: 1.313 MB / 2.633 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/5.121, allocations: 0 / 2.633 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/5.123, allocations: 1.485 MB / 2.634 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008535/5.124, allocations: 347.8 kB / 2.635 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/5.124, allocations: 14.28 kB / 2.635 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009247/5.125, allocations: 111.3 kB / 2.635 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/5.126, allocations: 56.45 kB / 2.635 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-05/5.126, allocations: 29.36 kB / 2.635 GB, free: 123.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001659/5.127, allocations: 1.099 MB / 2.636 GB, free: 123.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.21e-07/5.127, allocations: 0 / 2.636 GB, free: 123.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004209/5.132, allocations: 1.028 MB / 2.637 GB, free: 123.6 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 (70): * Single equations (assignments): 61 * 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.002692/5.134, allocations: 1.352 MB / 2.638 GB, free: 123.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002966/5.137, allocations: 1.555 MB / 2.64 GB, free: 123.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/5.137, allocations: 0 / 2.64 GB, free: 123.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000972/5.138, allocations: 0.5054 MB / 2.64 GB, free: 123 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003492/5.142, allocations: 0.7343 MB / 2.641 GB, free: 123 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005749/5.147, allocations: 3.702 MB / 2.645 GB, free: 121.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008229/5.148, allocations: 1.407 MB / 2.646 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002172/5.151, allocations: 437.9 kB / 2.646 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00036/5.151, allocations: 139.5 kB / 2.647 GB, free: 120.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/5.151, allocations: 3.531 kB / 2.647 GB, free: 120.6 MB / 0.948 GB Notification: Performance of Templates: time 0.0577/5.209, allocations: 36.04 MB / 2.682 GB, free: 118.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)