Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.528/2.528, allocations: 287.5 MB / 302.4 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001536, allocations: 173.1 kB / 371 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.4 MB / 0.6297 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 94.89 kB / 0.743 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004726, allocations: 12.98 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2123, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.419/1.631, allocations: 454.4 MB / 1.422 GB, free: 8.301 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/1.632, allocations: 101.8 kB / 1.422 GB, free: 8.246 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.638/8.27, allocations: 1.171 GB / 2.593 GB, free: 141.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.635e-06/8.27, allocations: 0 / 2.593 GB, free: 141.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003476/8.271, allocations: 56.06 kB / 2.593 GB, free: 141.9 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.009716/8.28, allocations: 2.567 MB / 2.596 GB, free: 141 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/8.28, allocations: 8.875 kB / 2.596 GB, free: 141 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003897/8.284, allocations: 459.4 kB / 2.596 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009345/8.294, allocations: 2.318 MB / 2.599 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/8.294, allocations: 93.06 kB / 2.599 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003389/8.294, allocations: 131.8 kB / 2.599 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/8.298, allocations: 1.311 MB / 2.6 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.515e-05/8.298, allocations: 5.25 kB / 2.6 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/8.298, allocations: 51.94 kB / 2.6 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-05/8.298, allocations: 36.8 kB / 2.6 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003426/8.302, allocations: 0.963 MB / 2.601 GB, free: 140.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.01239/8.314, allocations: 6.883 MB / 2.608 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/8.317, allocations: 1.272 MB / 2.609 GB, free: 135.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006537/8.324, allocations: 2.881 MB / 2.612 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001338/8.325, allocations: 417.5 kB / 2.612 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009837/8.326, allocations: 94.03 kB / 2.612 GB, free: 133.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.817e-06/8.326, allocations: 0 / 2.612 GB, free: 133.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.00432/8.33, allocations: 1.123 MB / 2.613 GB, free: 133.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/8.331, allocations: 161.8 kB / 2.614 GB, free: 133.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/8.333, allocations: 1.364 MB / 2.615 GB, free: 133 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002596/8.334, allocations: 40.86 kB / 2.615 GB, free: 132.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008861/8.335, allocations: 0.8848 MB / 2.616 GB, free: 132.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/8.335, allocations: 225.6 kB / 2.616 GB, free: 132.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/8.335, allocations: 23.25 kB / 2.616 GB, free: 132.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001005/8.335, allocations: 342.7 kB / 2.616 GB, free: 132.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/8.336, allocations: 329.1 kB / 2.617 GB, free: 132.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/8.338, allocations: 0.7691 MB / 2.617 GB, free: 131.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/8.339, allocations: 453.2 kB / 2.618 GB, free: 131.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/8.34, allocations: 3.906 kB / 2.618 GB, free: 131.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004176/8.344, allocations: 1.228 MB / 2.619 GB, free: 131.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001049/8.345, allocations: 4.546 MB / 2.623 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.798e-05/8.345, allocations: 15.44 kB / 2.624 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.322e-05/8.345, allocations: 21.52 kB / 2.624 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/8.347, allocations: 248.8 kB / 2.624 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.529e-05/8.347, allocations: 26.19 kB / 2.624 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/8.35, allocations: 116.7 kB / 2.624 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/8.35, allocations: 59.11 kB / 2.624 GB, free: 126.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/8.35, allocations: 7.688 kB / 2.624 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003472/8.353, allocations: 1.043 MB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.906e-05/8.353, allocations: 14.88 kB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/8.354, allocations: 15.81 kB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/8.355, allocations: 245.9 kB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.526e-05/8.355, allocations: 26.14 kB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/8.358, allocations: 117.5 kB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/8.358, allocations: 57.52 kB / 2.625 GB, free: 126.6 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.001346/8.359, allocations: 493.5 kB / 2.626 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005341/8.36, allocations: 167.2 kB / 2.626 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003857/8.364, allocations: 1.053 MB / 2.627 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/8.364, allocations: 16.17 kB / 2.627 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/8.364, allocations: 0 / 2.627 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002607/8.366, allocations: 0.8986 MB / 2.628 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.006652/8.373, allocations: 2.273 MB / 2.63 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/8.373, allocations: 3.344 kB / 2.63 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/8.374, allocations: 138.5 kB / 2.63 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002395/8.375, allocations: 23.89 kB / 2.63 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.239e-05/8.375, allocations: 25.47 kB / 2.63 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/8.376, allocations: 1.309 MB / 2.632 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/8.376, allocations: 3.375 kB / 2.632 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004722/8.381, allocations: 1.483 MB / 2.633 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/8.382, allocations: 346.4 kB / 2.633 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004925/8.382, allocations: 14.66 kB / 2.633 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001794/8.384, allocations: 110.6 kB / 2.634 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/8.384, allocations: 54.92 kB / 2.634 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/8.385, allocations: 29.31 kB / 2.634 GB, free: 123.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002495/8.387, allocations: 1.103 MB / 2.635 GB, free: 123.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.91e-07/8.387, allocations: 0 / 2.635 GB, free: 123.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005487/8.393, allocations: 1.032 MB / 2.636 GB, free: 123.5 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.003548/8.396, allocations: 1.354 MB / 2.637 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004894/8.401, allocations: 1.552 MB / 2.639 GB, free: 123 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/8.401, allocations: 3.062 kB / 2.639 GB, free: 123 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/8.403, allocations: 0.5076 MB / 2.639 GB, free: 122.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006053/8.409, allocations: 0.7343 MB / 2.64 GB, free: 122.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00873/8.418, allocations: 3.697 MB / 2.643 GB, free: 121.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/8.419, allocations: 1.409 MB / 2.645 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003175/8.422, allocations: 431.2 kB / 2.645 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006382/8.423, allocations: 142.1 kB / 2.645 GB, free: 120.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.133e-06/8.423, allocations: 0 / 2.645 GB, free: 120.5 MB / 0.948 GB Notification: Performance of Templates: time 0.09111/8.514, allocations: 36.04 MB / 2.681 GB, free: 118.8 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)