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.2936/0.2936, allocations: 54.42 MB / 61.89 MB, free: 13.76 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.001031/0.00103, allocations: 180.1 kB / 75.6 MB, free: 0.7773 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.856/1.856, allocations: 194.3 MB / 283.5 MB, free: 14.86 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.001607/0.001607, allocations: 114.8 kB / 341.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.294e-05/2.291e-05, allocations: 4 kB / 405.5 MB, free: 4.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3988, allocations: 57.64 MB / 463.1 MB, free: 51.73 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.178/1.577, allocations: 386 MB / 0.8292 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/1.577, allocations: 91.78 kB / 0.8293 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.417/4.994, allocations: 0.879 GB / 1.708 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/4.994, allocations: 2.281 kB / 1.708 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002638/4.994, allocations: 57.2 kB / 1.708 GB, free: 54.58 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.00487/4.999, allocations: 2.154 MB / 1.71 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/4.999, allocations: 9.312 kB / 1.71 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/5, allocations: 370.7 kB / 1.711 GB, free: 53.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/5.011, allocations: 4.662 MB / 1.715 GB, free: 52.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/5.011, allocations: 37.44 kB / 1.715 GB, free: 52.67 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/5.011, allocations: 80.28 kB / 1.715 GB, free: 52.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001612/5.013, allocations: 0.8552 MB / 1.716 GB, free: 52.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/5.014, allocations: 1.202 MB / 1.717 GB, free: 52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/5.015, allocations: 10.12 kB / 1.718 GB, free: 52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-05/5.015, allocations: 3.719 kB / 1.718 GB, free: 52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.12e-05/5.015, allocations: 38.09 kB / 1.718 GB, free: 52 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.008312/5.023, allocations: 7.258 MB / 1.725 GB, free: 46.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/5.024, allocations: 0.7255 MB / 1.725 GB, free: 46.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004695/5.025, allocations: 377.6 kB / 1.726 GB, free: 45.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00305/5.028, allocations: 1.909 MB / 1.728 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005618/5.028, allocations: 420.4 kB / 1.728 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006121/5.029, allocations: 65.98 kB / 1.728 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=73): time 2.214e-06/5.029, allocations: 0 / 1.728 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=75): time 0.005152/5.034, allocations: 2.107 MB / 1.73 GB, free: 43.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/5.034, allocations: 219.9 kB / 1.73 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/5.036, allocations: 1.181 MB / 1.731 GB, free: 42.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.929e-05/5.036, allocations: 29.7 kB / 1.731 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006796/5.037, allocations: 0.8831 MB / 1.732 GB, free: 41.74 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/5.037, allocations: 248.6 kB / 1.733 GB, free: 41.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/5.037, allocations: 0 / 1.733 GB, free: 41.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001065/5.037, allocations: 355.6 kB / 1.733 GB, free: 41.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/5.037, allocations: 301.7 kB / 1.733 GB, free: 41.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/5.038, allocations: 0.6747 MB / 1.734 GB, free: 40.51 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/5.039, allocations: 483.2 kB / 1.734 GB, free: 40.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/5.039, allocations: 2.844 kB / 1.734 GB, free: 40.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002105/5.041, allocations: 1.145 MB / 1.735 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008456/5.042, allocations: 3.823 MB / 1.739 GB, free: 35.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/5.042, allocations: 10.88 kB / 1.739 GB, free: 35.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.624e-05/5.042, allocations: 15.03 kB / 1.739 GB, free: 35.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000997/5.043, allocations: 269.3 kB / 1.739 GB, free: 35.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/5.043, allocations: 21.42 kB / 1.739 GB, free: 35.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/5.045, allocations: 102.7 kB / 1.74 GB, free: 35.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/5.045, allocations: 58.56 kB / 1.74 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/5.045, allocations: 3.25 kB / 1.74 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001826/5.047, allocations: 0.9191 MB / 1.741 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/5.047, allocations: 7.312 kB / 1.741 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/5.047, allocations: 18.16 kB / 1.741 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008826/5.048, allocations: 264.7 kB / 1.741 GB, free: 35.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/5.048, allocations: 22.84 kB / 1.741 GB, free: 35.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/5.049, allocations: 95.5 kB / 1.741 GB, free: 35.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.211e-05/5.049, allocations: 52.03 kB / 1.741 GB, free: 35.39 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 (130): * Single equations (assignments): 126 * 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.0002538/5.049, allocations: 148 kB / 1.741 GB, free: 35.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/5.049, allocations: 168.4 kB / 1.741 GB, free: 35.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/5.052, allocations: 1.081 MB / 1.742 GB, free: 34.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/5.052, allocations: 6.844 kB / 1.742 GB, free: 34.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/5.052, allocations: 0 / 1.742 GB, free: 34.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001485/5.053, allocations: 0.8036 MB / 1.743 GB, free: 34.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004901/5.058, allocations: 2.422 MB / 1.745 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/5.058, allocations: 3.781 kB / 1.745 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007343/5.059, allocations: 172.8 kB / 1.746 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/5.059, allocations: 96.34 kB / 1.746 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/5.06, allocations: 14.77 kB / 1.746 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006373/5.06, allocations: 1.164 MB / 1.747 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/5.06, allocations: 3.953 kB / 1.747 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/5.063, allocations: 1.806 MB / 1.749 GB, free: 30.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006996/5.063, allocations: 351 kB / 1.749 GB, free: 29.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/5.063, allocations: 10.48 kB / 1.749 GB, free: 29.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009486/5.064, allocations: 112.7 kB / 1.749 GB, free: 29.69 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/5.065, allocations: 73.95 kB / 1.749 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/5.065, allocations: 35.64 kB / 1.749 GB, free: 29.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001233/5.066, allocations: 0.8887 MB / 1.75 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.9e-07/5.066, allocations: 4 kB / 1.75 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003266/5.069, allocations: 0.9081 MB / 1.751 GB, free: 27.93 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.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 (83): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 0 * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001921/5.071, allocations: 1.1 MB / 1.752 GB, free: 27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00207/5.073, allocations: 1.526 MB / 1.754 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/5.073, allocations: 0 / 1.754 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007126/5.074, allocations: 440.8 kB / 1.754 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003545/5.077, allocations: 0.7582 MB / 1.755 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/5.082, allocations: 2.438 MB / 1.757 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008481/5.082, allocations: 1.45 MB / 1.759 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002461/5.085, allocations: 0.5549 MB / 1.759 GB, free: 20.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/5.085, allocations: 115.2 kB / 1.759 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of SimCode: time 9.92e-07/5.085, allocations: 0 / 1.759 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.06008/5.145, allocations: 36.51 MB / 1.795 GB, free: 0.6094 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)