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.2994/0.2994, allocations: 54.41 MB / 61.89 MB, free: 13.73 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.001158/0.001158, allocations: 178.9 kB / 75.61 MB, free: 0.7852 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.73/1.73, allocations: 194.3 MB / 283.5 MB, free: 14.85 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.001796/0.001796, allocations: 105.9 kB / 341.6 MB, free: 4.047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.77e-05, allocations: 4.219 kB / 405.5 MB, free: 4.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4363, allocations: 57.65 MB / 463.1 MB, free: 51.71 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.168/1.604, allocations: 389 MB / 0.8322 GB, free: 133 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/1.605, allocations: 98.69 kB / 0.8323 GB, free: 133 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.32/4.924, allocations: 0.8642 GB / 1.696 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.024e-06/4.924, allocations: 0 / 1.696 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002499/4.925, allocations: 51.88 kB / 1.697 GB, free: 53.26 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.005663/4.93, allocations: 2.061 MB / 1.699 GB, free: 52.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/4.93, allocations: 9.656 kB / 1.699 GB, free: 52.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002594/4.933, allocations: 454.4 kB / 1.699 GB, free: 52.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005911/4.939, allocations: 2.256 MB / 1.701 GB, free: 51.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/4.939, allocations: 32.97 kB / 1.701 GB, free: 51.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/4.939, allocations: 75.58 kB / 1.701 GB, free: 51.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00148/4.941, allocations: 0.7896 MB / 1.702 GB, free: 51.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/4.942, allocations: 1.085 MB / 1.703 GB, free: 51.28 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/4.943, allocations: 4.281 kB / 1.703 GB, free: 51.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.412e-05/4.943, allocations: 8 kB / 1.703 GB, free: 51.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/4.943, allocations: 28.53 kB / 1.703 GB, free: 51.28 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.008281/4.951, allocations: 6.523 MB / 1.71 GB, free: 47.31 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/4.952, allocations: 1.163 MB / 1.711 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000426/4.953, allocations: 297.6 kB / 1.711 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003579/4.956, allocations: 2.434 MB / 1.713 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005456/4.957, allocations: 385.3 kB / 1.714 GB, free: 44.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006534/4.957, allocations: 67.52 kB / 1.714 GB, free: 44.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=64): time 2.956e-06/4.957, allocations: 3.656 kB / 1.714 GB, free: 44.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65): time 0.01615/4.974, allocations: 3.557 MB / 1.717 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/4.974, allocations: 218 kB / 1.717 GB, free: 44.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003457/4.977, allocations: 1.187 MB / 1.719 GB, free: 43.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/4.978, allocations: 25.7 kB / 1.719 GB, free: 43.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001116/4.979, allocations: 0.8394 MB / 1.719 GB, free: 43.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/4.979, allocations: 221.4 kB / 1.72 GB, free: 43.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.393e-05/4.979, allocations: 0 / 1.72 GB, free: 43.37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001831/4.979, allocations: 346.8 kB / 1.72 GB, free: 43.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/4.98, allocations: 267.4 kB / 1.72 GB, free: 43.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007202/4.981, allocations: 0.6285 MB / 1.721 GB, free: 42.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004608/4.985, allocations: 0.9812 MB / 1.722 GB, free: 42.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/4.985, allocations: 0 / 1.722 GB, free: 42.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.006042/4.991, allocations: 1.623 MB / 1.723 GB, free: 42.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001078/4.992, allocations: 3.487 MB / 1.727 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.752e-05/4.992, allocations: 9.781 kB / 1.727 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.334e-05/4.992, allocations: 14.09 kB / 1.727 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009986/4.993, allocations: 238.8 kB / 1.727 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.339e-05/4.993, allocations: 19.73 kB / 1.727 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/4.995, allocations: 101.1 kB / 1.727 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/4.995, allocations: 47.55 kB / 1.727 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/4.996, allocations: 5.062 kB / 1.727 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005202/5.001, allocations: 1.393 MB / 1.729 GB, free: 38.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.069e-05/5.001, allocations: 15.73 kB / 1.729 GB, free: 38.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/5.001, allocations: 18.25 kB / 1.729 GB, free: 38.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008673/5.002, allocations: 227.8 kB / 1.729 GB, free: 38.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/5.002, allocations: 16.02 kB / 1.729 GB, free: 38.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/5.003, allocations: 104 kB / 1.729 GB, free: 38.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/5.004, allocations: 46.88 kB / 1.729 GB, free: 38.74 MB / 0.5105 GB 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): 112 * Array equations: 2 * Algorithm blocks: 2 * 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.0003329/5.004, allocations: 137.4 kB / 1.729 GB, free: 38.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005105/5.004, allocations: 157 kB / 1.729 GB, free: 38.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006158/5.011, allocations: 1.55 MB / 1.731 GB, free: 38.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/5.011, allocations: 12.89 kB / 1.731 GB, free: 38.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/5.011, allocations: 3.094 kB / 1.731 GB, free: 38.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004904/5.016, allocations: 1.399 MB / 1.732 GB, free: 38.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009096/5.025, allocations: 2.71 MB / 1.735 GB, free: 37.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/5.025, allocations: 2.969 kB / 1.735 GB, free: 37.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007403/5.026, allocations: 155.6 kB / 1.735 GB, free: 37.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002249/5.026, allocations: 54.84 kB / 1.735 GB, free: 37.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.84e-05/5.026, allocations: 19.09 kB / 1.735 GB, free: 37.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005402/5.026, allocations: 0.601 MB / 1.736 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/5.026, allocations: 0 / 1.736 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0064/5.033, allocations: 2.108 MB / 1.738 GB, free: 36.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/5.034, allocations: 331.1 kB / 1.738 GB, free: 36.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006864/5.035, allocations: 3.688 kB / 1.738 GB, free: 36.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/5.037, allocations: 102.6 kB / 1.738 GB, free: 36.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/5.037, allocations: 65.67 kB / 1.738 GB, free: 36.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.136e-05/5.037, allocations: 32.48 kB / 1.738 GB, free: 36.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002153/5.039, allocations: 0.8888 MB / 1.739 GB, free: 36.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.01e-07/5.039, allocations: 0 / 1.739 GB, free: 36.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00429/5.043, allocations: 0.8307 MB / 1.74 GB, free: 36.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (vol.dynBal.U,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 (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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002927/5.046, allocations: 1.139 MB / 1.741 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002397/5.049, allocations: 1.483 MB / 1.742 GB, free: 35.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/5.049, allocations: 0 / 1.742 GB, free: 35.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006873/5.049, allocations: 379.5 kB / 1.743 GB, free: 35.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003479/5.053, allocations: 0.6273 MB / 1.743 GB, free: 35.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005607/5.058, allocations: 2.315 MB / 1.746 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002368/5.061, allocations: 1.391 MB / 1.747 GB, free: 49.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003512/5.064, allocations: 0.571 MB / 1.748 GB, free: 49.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/5.065, allocations: 110.3 kB / 1.748 GB, free: 49.36 MB / 0.5261 GB Notification: Performance of SimCode: time 1.873e-06/5.065, allocations: 0 / 1.748 GB, free: 49.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.05679/5.122, allocations: 32.49 MB / 1.779 GB, free: 29.19 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)