Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T.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_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2858/0.2858, allocations: 54.33 MB / 66.89 MB, free: 6.105 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.001168/0.001168, allocations: 182.1 kB / 80.7 MB, free: 15.38 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.692/1.692, allocations: 194.2 MB / 288.6 MB, free: 15.04 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.001734/0.001734, allocations: 104.1 kB / 346.9 MB, free: 4.789 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.236e-05, allocations: 7.984 kB / 412.4 MB, free: 21.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1459, allocations: 57.64 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.223, allocations: 389.7 MB / 0.8396 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/1.223, allocations: 92.02 kB / 0.8397 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.479/4.702, allocations: 0.8689 GB / 1.709 GB, free: 52.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.934e-06/4.702, allocations: 1.531 kB / 1.709 GB, free: 52.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002456/4.703, allocations: 52.2 kB / 1.709 GB, free: 52.4 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.005485/4.708, allocations: 2.071 MB / 1.711 GB, free: 51.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/4.708, allocations: 15.03 kB / 1.711 GB, free: 51.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002572/4.711, allocations: 457.8 kB / 1.711 GB, free: 51.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006257/4.717, allocations: 2.249 MB / 1.713 GB, free: 50.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.471e-05/4.717, allocations: 88.66 kB / 1.713 GB, free: 50.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/4.717, allocations: 118.5 kB / 1.714 GB, free: 50.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/4.72, allocations: 1.256 MB / 1.715 GB, free: 50.47 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/4.72, allocations: 8.062 kB / 1.715 GB, free: 50.47 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/4.72, allocations: 47.47 kB / 1.715 GB, free: 50.47 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/4.72, allocations: 32.89 kB / 1.715 GB, free: 50.47 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/4.722, allocations: 0.8573 MB / 1.716 GB, free: 50.45 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.00823/4.73, allocations: 6.719 MB / 1.722 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/4.731, allocations: 1.188 MB / 1.723 GB, free: 45.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004483/4.732, allocations: 303.7 kB / 1.724 GB, free: 45.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003543/4.735, allocations: 2.457 MB / 1.726 GB, free: 44.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000755/4.736, allocations: 420.3 kB / 1.726 GB, free: 44.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006452/4.737, allocations: 93.81 kB / 1.727 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=64): time 2.385e-06/4.737, allocations: 0 / 1.727 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=64): time 0.001518/4.738, allocations: 0.7181 MB / 1.727 GB, free: 43.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/4.738, allocations: 225 kB / 1.727 GB, free: 43.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/4.74, allocations: 1.284 MB / 1.729 GB, free: 43.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.686e-05/4.74, allocations: 44.11 kB / 1.729 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006515/4.741, allocations: 0.8507 MB / 1.73 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/4.741, allocations: 229.7 kB / 1.73 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/4.741, allocations: 18.47 kB / 1.73 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001018/4.741, allocations: 345.7 kB / 1.73 GB, free: 42.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/4.742, allocations: 276.6 kB / 1.73 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/4.742, allocations: 0.638 MB / 1.731 GB, free: 42.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005743/4.743, allocations: 418.3 kB / 1.731 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/4.743, allocations: 7.828 kB / 1.731 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001699/4.745, allocations: 1.101 MB / 1.733 GB, free: 41.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007579/4.745, allocations: 3.478 MB / 1.736 GB, free: 38.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/4.745, allocations: 10.5 kB / 1.736 GB, free: 38.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/4.745, allocations: 19.2 kB / 1.736 GB, free: 38.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/4.747, allocations: 253.7 kB / 1.736 GB, free: 38.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002917/4.747, allocations: 0.6095 MB / 1.737 GB, free: 37.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/4.748, allocations: 128.3 kB / 1.737 GB, free: 37.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/4.748, allocations: 47.67 kB / 1.737 GB, free: 37.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/4.748, allocations: 6.406 kB / 1.737 GB, free: 37.69 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001382/4.75, allocations: 0.9266 MB / 1.738 GB, free: 37.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/4.75, allocations: 13.34 kB / 1.738 GB, free: 37.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/4.75, allocations: 14.62 kB / 1.738 GB, free: 37.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009248/4.751, allocations: 239.9 kB / 1.738 GB, free: 37.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002299/4.751, allocations: 0.6165 MB / 1.739 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/4.752, allocations: 119.1 kB / 1.739 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.344e-05/4.752, allocations: 44.95 kB / 1.739 GB, free: 37.02 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.09720000000000001 * vol.rho_start unit = "kg" protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (117): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003181/4.753, allocations: 171.1 kB / 1.739 GB, free: 36.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/4.753, allocations: 170.8 kB / 1.739 GB, free: 36.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/4.755, allocations: 0.9978 MB / 1.74 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/4.755, allocations: 9.75 kB / 1.74 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/4.755, allocations: 0.75 kB / 1.74 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009787/4.756, allocations: 0.8451 MB / 1.741 GB, free: 36.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/4.759, allocations: 2.118 MB / 1.743 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/4.759, allocations: 3.953 kB / 1.743 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007166/4.76, allocations: 152.2 kB / 1.743 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001779/4.76, allocations: 48.53 kB / 1.743 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.359e-05/4.76, allocations: 18.53 kB / 1.743 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00093/4.761, allocations: 1.851 MB / 1.745 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/4.761, allocations: 0 / 1.745 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/4.763, allocations: 1.333 MB / 1.746 GB, free: 34.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006934/4.764, allocations: 321.8 kB / 1.747 GB, free: 33.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/4.764, allocations: 19.97 kB / 1.747 GB, free: 33.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008538/4.765, allocations: 106.5 kB / 1.747 GB, free: 33.83 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/4.765, allocations: 58.77 kB / 1.747 GB, free: 33.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.246e-05/4.765, allocations: 27.77 kB / 1.747 GB, free: 33.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001448/4.767, allocations: 0.9825 MB / 1.748 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/4.767, allocations: 9.094 kB / 1.748 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003256/4.77, allocations: 1.002 MB / 1.749 GB, free: 33.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (vol.dynBal.U,vol.dynBal.m,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.heaCoo.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 (73): * Single equations (assignments): 64 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002389/4.772, allocations: 1.185 MB / 1.75 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002593/4.775, allocations: 1.57 MB / 1.752 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/4.775, allocations: 0 / 1.752 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006964/4.776, allocations: 489 kB / 1.752 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/4.779, allocations: 0.646 MB / 1.753 GB, free: 32.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005428/4.785, allocations: 2.342 MB / 1.755 GB, free: 31.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/4.786, allocations: 1.392 MB / 1.756 GB, free: 47.25 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002604/4.789, allocations: 0.57 MB / 1.757 GB, free: 47.15 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/4.789, allocations: 108.9 kB / 1.757 GB, free: 47.14 MB / 0.5261 GB Notification: Performance of SimCode: time 1.834e-06/4.789, allocations: 0 / 1.757 GB, free: 47.14 MB / 0.5261 GB Notification: Performance of Templates: time 0.05959/4.849, allocations: 38.28 MB / 1.794 GB, free: 31.23 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)