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.391/0.391, allocations: 55.01 MB / 69.96 MB, free: 8.676 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.001141/0.001141, allocations: 187.5 kB / 83.98 MB, free: 10.86 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.669/1.669, allocations: 194.4 MB / 292.3 MB, free: 3.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001687/0.001687, allocations: 109.9 kB / 350.7 MB, free: 9.125 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003782, allocations: 12 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1382, allocations: 57.65 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.271, allocations: 389.8 MB / 0.846 GB, free: 40.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/1.271, allocations: 96.02 kB / 0.8461 GB, free: 40.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.715/4.986, allocations: 0.8718 GB / 1.718 GB, free: 47.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.026e-06/4.986, allocations: 0 / 1.718 GB, free: 47.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004416/4.986, allocations: 48.5 kB / 1.718 GB, free: 47.6 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.008929/4.995, allocations: 2.56 MB / 1.72 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/4.995, allocations: 14.53 kB / 1.72 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002873/4.998, allocations: 452.7 kB / 1.721 GB, free: 46.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008108/5.006, allocations: 2.275 MB / 1.723 GB, free: 45.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/5.007, allocations: 87.48 kB / 1.723 GB, free: 45.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006774/5.007, allocations: 124.4 kB / 1.723 GB, free: 45.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005522/5.013, allocations: 1.337 MB / 1.725 GB, free: 45.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-05/5.013, allocations: 3.703 kB / 1.725 GB, free: 45.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003609/5.013, allocations: 54.92 kB / 1.725 GB, free: 45.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.273e-05/5.014, allocations: 28.16 kB / 1.725 GB, free: 45.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003128/5.017, allocations: 0.986 MB / 1.726 GB, free: 45.54 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01116/5.028, allocations: 6.726 MB / 1.732 GB, free: 41.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/5.03, allocations: 1.325 MB / 1.734 GB, free: 40.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004375/5.035, allocations: 2.421 MB / 1.736 GB, free: 39.22 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/5.036, allocations: 482.5 kB / 1.736 GB, free: 39.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001037/5.037, allocations: 98.2 kB / 1.736 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=65): time 6.843e-06/5.037, allocations: 0 / 1.736 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65): time 0.003436/5.04, allocations: 1.198 MB / 1.738 GB, free: 38.87 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.399e-05/5.04, allocations: 221.5 kB / 1.738 GB, free: 38.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/5.043, allocations: 1.303 MB / 1.739 GB, free: 38.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/5.044, allocations: 44.95 kB / 1.739 GB, free: 38.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000964/5.045, allocations: 0.8512 MB / 1.74 GB, free: 38.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/5.045, allocations: 230.6 kB / 1.74 GB, free: 37.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.351e-05/5.045, allocations: 19.62 kB / 1.74 GB, free: 37.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001002/5.045, allocations: 340.3 kB / 1.741 GB, free: 37.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008353/5.046, allocations: 337.5 kB / 1.741 GB, free: 37.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/5.047, allocations: 0.704 MB / 1.742 GB, free: 37.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/5.048, allocations: 486.8 kB / 1.742 GB, free: 37.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/5.048, allocations: 0 / 1.742 GB, free: 37.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003126/5.051, allocations: 1.233 MB / 1.743 GB, free: 36.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001142/5.052, allocations: 3.486 MB / 1.747 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.737e-05/5.052, allocations: 7.781 kB / 1.747 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.775e-05/5.052, allocations: 14.16 kB / 1.747 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/5.054, allocations: 261.2 kB / 1.747 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004948/5.054, allocations: 0.6139 MB / 1.747 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/5.056, allocations: 122.5 kB / 1.748 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/5.057, allocations: 56.83 kB / 1.748 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/5.057, allocations: 3.781 kB / 1.748 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002278/5.059, allocations: 1.021 MB / 1.749 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/5.059, allocations: 8.5 kB / 1.749 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/5.059, allocations: 14.75 kB / 1.749 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/5.06, allocations: 246.9 kB / 1.749 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002786/5.06, allocations: 0.6192 MB / 1.749 GB, free: 32.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/5.062, allocations: 116.5 kB / 1.75 GB, free: 32.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/5.062, allocations: 46.61 kB / 1.75 GB, free: 32.05 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" fixed = true 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * 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): 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.00123/5.063, allocations: 489.3 kB / 1.75 GB, free: 31.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004926/5.064, allocations: 163.8 kB / 1.75 GB, free: 31.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/5.067, allocations: 1.126 MB / 1.751 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/5.067, allocations: 7.812 kB / 1.751 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/5.067, allocations: 1.625 kB / 1.751 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001648/5.068, allocations: 0.961 MB / 1.752 GB, free: 31.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00529/5.074, allocations: 2.241 MB / 1.755 GB, free: 31.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/5.074, allocations: 0 / 1.755 GB, free: 31.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007669/5.074, allocations: 149.2 kB / 1.755 GB, free: 31.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002526/5.075, allocations: 52.09 kB / 1.755 GB, free: 31.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.581e-05/5.075, allocations: 23.55 kB / 1.755 GB, free: 31.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/5.076, allocations: 1.868 MB / 1.757 GB, free: 29.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/5.076, allocations: 0 / 1.757 GB, free: 29.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003408/5.079, allocations: 1.52 MB / 1.758 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/5.081, allocations: 319.1 kB / 1.758 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000698/5.082, allocations: 22.73 kB / 1.758 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/5.083, allocations: 107.9 kB / 1.758 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/5.083, allocations: 55.89 kB / 1.759 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.07e-05/5.083, allocations: 32.58 kB / 1.759 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002368/5.086, allocations: 1.002 MB / 1.76 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/5.086, allocations: 0 / 1.76 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00478/5.091, allocations: 0.9999 MB / 1.761 GB, free: 28.51 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 65 * 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.00324/5.094, allocations: 1.21 MB / 1.762 GB, free: 28.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003882/5.098, allocations: 1.686 MB / 1.763 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/5.098, allocations: 3.156 kB / 1.763 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/5.099, allocations: 0.541 MB / 1.764 GB, free: 27.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003748/5.103, allocations: 0.6461 MB / 1.764 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007361/5.11, allocations: 3.721 MB / 1.768 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/5.112, allocations: 1.386 MB / 1.769 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002345/5.114, allocations: 401.1 kB / 1.77 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005285/5.114, allocations: 135.8 kB / 1.77 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of SimCode: time 1.243e-06/5.114, allocations: 3.219 kB / 1.77 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.06159/5.176, allocations: 33.84 MB / 1.803 GB, free: 22.57 MB / 0.5105 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)