Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.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_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.651/2.651, allocations: 285 MB / 292.5 MB, free: 10.5 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.001469/0.001468, allocations: 180.9 kB / 360.7 MB, free: 7.215 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 1.907/1.907, allocations: 205.3 MB / 0.6192 GB, free: 12.11 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 98.28 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.101e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8022/0.8023, allocations: 115.2 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.322/2.124, allocations: 447.1 MB / 1.4 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/2.124, allocations: 93.67 kB / 1.4 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.814/7.939, allocations: 1.128 GB / 2.528 GB, free: 149.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.743e-06/7.939, allocations: 3.938 kB / 2.528 GB, free: 149.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003397/7.939, allocations: 51.22 kB / 2.528 GB, free: 149.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.006626/7.946, allocations: 2.178 MB / 2.53 GB, free: 148.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/7.946, allocations: 11.72 kB / 2.53 GB, free: 148.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003186/7.949, allocations: 378.3 kB / 2.531 GB, free: 148 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01071/7.96, allocations: 2.466 MB / 2.533 GB, free: 146.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/7.96, allocations: 39.22 kB / 2.533 GB, free: 146.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000458/7.961, allocations: 91.27 kB / 2.533 GB, free: 146.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002617/7.963, allocations: 0.8588 MB / 2.534 GB, free: 146 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003098/7.966, allocations: 1.177 MB / 2.535 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/7.966, allocations: 10.34 kB / 2.535 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/7.967, allocations: 0 / 2.535 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.986e-05/7.967, allocations: 32.5 kB / 2.535 GB, free: 145.2 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01436/7.981, allocations: 6.941 MB / 2.542 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/7.984, allocations: 1.178 MB / 2.543 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/7.985, allocations: 336.3 kB / 2.543 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00716/7.992, allocations: 2.241 MB / 2.546 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/7.993, allocations: 373.4 kB / 2.546 GB, free: 135.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001402/7.995, allocations: 67.75 kB / 2.546 GB, free: 135.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 6.593e-06/7.995, allocations: 0 / 2.546 GB, free: 135.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.00432/7.999, allocations: 0.8104 MB / 2.547 GB, free: 135.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/7.999, allocations: 172.8 kB / 2.547 GB, free: 135 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003136/8.002, allocations: 1.188 MB / 2.548 GB, free: 134.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003068/8.003, allocations: 31.45 kB / 2.548 GB, free: 134.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001246/8.004, allocations: 0.8862 MB / 2.549 GB, free: 133.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004102/8.004, allocations: 237 kB / 2.549 GB, free: 133.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.124e-05/8.005, allocations: 0 / 2.549 GB, free: 133.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001294/8.005, allocations: 343 kB / 2.55 GB, free: 133.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009581/8.006, allocations: 285.7 kB / 2.55 GB, free: 132.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/8.007, allocations: 0.6514 MB / 2.551 GB, free: 132.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002844/8.01, allocations: 479.5 kB / 2.551 GB, free: 132.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/8.01, allocations: 3.938 kB / 2.551 GB, free: 132.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.005263/8.015, allocations: 1.101 MB / 2.552 GB, free: 131.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001064/8.016, allocations: 3.738 MB / 2.556 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.028e-05/8.016, allocations: 14.67 kB / 2.556 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.615e-05/8.016, allocations: 14.72 kB / 2.556 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002564/8.019, allocations: 250.6 kB / 2.556 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.389e-05/8.019, allocations: 25.52 kB / 2.556 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/8.022, allocations: 109 kB / 2.556 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000243/8.023, allocations: 52.89 kB / 2.556 GB, free: 127.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/8.023, allocations: 4.281 kB / 2.556 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004351/8.027, allocations: 0.887 MB / 2.557 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.159e-05/8.027, allocations: 13.7 kB / 2.557 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/8.027, allocations: 18.31 kB / 2.557 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/8.029, allocations: 248.5 kB / 2.557 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.607e-05/8.029, allocations: 22.02 kB / 2.557 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/8.033, allocations: 107.5 kB / 2.557 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002478/8.033, allocations: 54.53 kB / 2.557 GB, free: 126.9 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 () * 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.0004958/8.033, allocations: 151.9 kB / 2.558 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006116/8.034, allocations: 163.8 kB / 2.558 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00456/8.039, allocations: 0.9813 MB / 2.559 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/8.039, allocations: 7.844 kB / 2.559 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/8.039, allocations: 0 / 2.559 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0029/8.042, allocations: 0.7077 MB / 2.559 GB, free: 125.8 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.007989/8.05, allocations: 2.13 MB / 2.562 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/8.05, allocations: 2.375 kB / 2.562 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/8.051, allocations: 157.7 kB / 2.562 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002779/8.052, allocations: 28 kB / 2.562 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/8.052, allocations: 13.55 kB / 2.562 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/8.053, allocations: 1.272 MB / 2.563 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/8.053, allocations: 0 / 2.563 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004944/8.058, allocations: 1.396 MB / 2.564 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/8.06, allocations: 346.7 kB / 2.565 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004886/8.06, allocations: 6 kB / 2.565 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002621/8.063, allocations: 96.14 kB / 2.565 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/8.063, allocations: 61.34 kB / 2.565 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/8.063, allocations: 40.22 kB / 2.565 GB, free: 121.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002323/8.066, allocations: 0.8984 MB / 2.566 GB, free: 121.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/8.066, allocations: 0 / 2.566 GB, free: 121.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005058/8.071, allocations: 1.077 MB / 2.567 GB, free: 121.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) * 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.002973/8.074, allocations: 1.136 MB / 2.568 GB, free: 120.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003117/8.077, allocations: 1.432 MB / 2.569 GB, free: 119.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/8.077, allocations: 3.719 kB / 2.569 GB, free: 119.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/8.078, allocations: 466.9 kB / 2.57 GB, free: 119.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006127/8.084, allocations: 0.7287 MB / 2.57 GB, free: 119.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006098/8.09, allocations: 2.339 MB / 2.573 GB, free: 118.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/8.092, allocations: 1.443 MB / 2.574 GB, free: 117 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00421/8.096, allocations: 0.5515 MB / 2.575 GB, free: 116.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004715/8.096, allocations: 107.4 kB / 2.575 GB, free: 116.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.523e-06/8.096, allocations: 4 kB / 2.575 GB, free: 116.4 MB / 0.948 GB Notification: Performance of Templates: time 0.08627/8.183, allocations: 35.66 MB / 2.61 GB, free: 81.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)