Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2785/0.2785, allocations: 54.33 MB / 66.89 MB, free: 6.129 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001084/0.001084, allocations: 178.3 kB / 80.7 MB, free: 15.41 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.687/1.687, allocations: 194.2 MB / 288.6 MB, free: 15 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001587/0.001587, allocations: 110.7 kB / 346.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.985e-05/3.989e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1381, allocations: 57.64 MB / 470 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.215, allocations: 386.6 MB / 0.8366 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/1.215, allocations: 94.31 kB / 0.8367 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.537/4.752, allocations: 0.8837 GB / 1.72 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.893e-06/4.752, allocations: 0 / 1.72 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002288/4.753, allocations: 56.62 kB / 1.72 GB, free: 47.84 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 307 * Number of variables: 307 Notification: Performance of Generate backend data structure: time 0.004638/4.757, allocations: 2.154 MB / 1.723 GB, free: 46.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.49e-05/4.757, allocations: 17.52 kB / 1.723 GB, free: 46.67 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/4.759, allocations: 369.8 kB / 1.723 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/4.769, allocations: 4.655 MB / 1.727 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.909e-05/4.77, allocations: 101.1 kB / 1.728 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/4.77, allocations: 136.2 kB / 1.728 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/4.772, allocations: 1.389 MB / 1.729 GB, free: 45.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/4.772, allocations: 6.5 kB / 1.729 GB, free: 45.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/4.772, allocations: 55.03 kB / 1.729 GB, free: 45.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/4.772, allocations: 38.94 kB / 1.729 GB, free: 45.71 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/4.774, allocations: 0.9342 MB / 1.73 GB, free: 45.7 MB / 0.5105 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.0081/4.782, allocations: 7.476 MB / 1.737 GB, free: 41.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/4.783, allocations: 0.7352 MB / 1.738 GB, free: 41.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/4.784, allocations: 389.7 kB / 1.738 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002977/4.787, allocations: 1.945 MB / 1.74 GB, free: 40.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007821/4.788, allocations: 461.8 kB / 1.741 GB, free: 40.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005361/4.788, allocations: 94.88 kB / 1.741 GB, free: 40 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=73): time 2.645e-06/4.788, allocations: 0 / 1.741 GB, free: 40 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.004451/4.793, allocations: 2.169 MB / 1.743 GB, free: 39.35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/4.793, allocations: 221.2 kB / 1.743 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/4.795, allocations: 1.285 MB / 1.744 GB, free: 38.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/4.795, allocations: 46.7 kB / 1.745 GB, free: 38.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008407/4.796, allocations: 0.8887 MB / 1.745 GB, free: 38.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/4.796, allocations: 271.6 kB / 1.746 GB, free: 38.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/4.797, allocations: 22.22 kB / 1.746 GB, free: 38.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00011/4.797, allocations: 351.6 kB / 1.746 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005123/4.797, allocations: 320.8 kB / 1.746 GB, free: 38.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007394/4.798, allocations: 0.7219 MB / 1.747 GB, free: 37.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006238/4.799, allocations: 459.1 kB / 1.747 GB, free: 37.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/4.799, allocations: 2.734 kB / 1.747 GB, free: 37.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001865/4.8, allocations: 1.229 MB / 1.749 GB, free: 37.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007492/4.801, allocations: 3.832 MB / 1.752 GB, free: 33.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/4.801, allocations: 13.75 kB / 1.752 GB, free: 33.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/4.801, allocations: 45.89 kB / 1.752 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009865/4.802, allocations: 274 kB / 1.753 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007945/4.803, allocations: 1.355 MB / 1.754 GB, free: 32.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/4.805, allocations: 136.5 kB / 1.754 GB, free: 32.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/4.805, allocations: 60.8 kB / 1.754 GB, free: 32.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/4.805, allocations: 3.5 kB / 1.754 GB, free: 32.04 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001542/4.806, allocations: 1.045 MB / 1.755 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/4.806, allocations: 10.94 kB / 1.755 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.479e-05/4.807, allocations: 44.2 kB / 1.755 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008757/4.807, allocations: 262 kB / 1.756 GB, free: 31.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007206/4.808, allocations: 1.361 MB / 1.757 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/4.81, allocations: 125.2 kB / 1.757 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.939e-05/4.81, allocations: 55.98 kB / 1.757 GB, free: 30.61 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (132): * Single equations (assignments): 127 * 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: 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 prepare postOptimizeDAE: time 0.0002821/4.81, allocations: 180.3 kB / 1.757 GB, free: 30.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/4.81, allocations: 165.9 kB / 1.757 GB, free: 30.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/4.812, allocations: 1.129 MB / 1.759 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/4.812, allocations: 9.906 kB / 1.759 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/4.812, allocations: 0 / 1.759 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/4.813, allocations: 0.8122 MB / 1.759 GB, free: 30.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004426/4.818, allocations: 2.691 MB / 1.762 GB, free: 29.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/4.818, allocations: 6.703 kB / 1.762 GB, free: 29.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000747/4.819, allocations: 178 kB / 1.762 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001991/4.819, allocations: 77.62 kB / 1.762 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-05/4.819, allocations: 34.72 kB / 1.762 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009251/4.82, allocations: 1.904 MB / 1.764 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/4.82, allocations: 3.938 kB / 1.764 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/4.822, allocations: 1.875 MB / 1.766 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008921/4.823, allocations: 364.4 kB / 1.766 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/4.823, allocations: 27.59 kB / 1.766 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/4.824, allocations: 125.1 kB / 1.766 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/4.824, allocations: 81.53 kB / 1.766 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/4.824, allocations: 34.34 kB / 1.767 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001494/4.826, allocations: 1.059 MB / 1.768 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/4.826, allocations: 0 / 1.768 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00323/4.829, allocations: 0.9867 MB / 1.769 GB, free: 25.99 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (vol.dynBal.U,mov.port_a.h_outflow,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T) * 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 (88): * Single equations (assignments): 79 * 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: 2 * 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: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001881/4.831, allocations: 1.161 MB / 1.77 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002662/4.834, allocations: 1.883 MB / 1.771 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/4.834, allocations: 4.969 kB / 1.771 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007589/4.835, allocations: 0.5817 MB / 1.772 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003864/4.838, allocations: 0.8848 MB / 1.773 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/4.843, allocations: 2.552 MB / 1.775 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/4.844, allocations: 1.451 MB / 1.777 GB, free: 38.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002611/4.847, allocations: 0.5726 MB / 1.777 GB, free: 38.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/4.847, allocations: 130.1 kB / 1.778 GB, free: 38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.031e-06/4.847, allocations: 0 / 1.778 GB, free: 38 MB / 0.5261 GB Notification: Performance of Templates: time 0.06727/4.914, allocations: 45.62 MB / 1.822 GB, free: 5.16 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)