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.3538/0.3538, allocations: 55.01 MB / 69.96 MB, free: 8.66 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.00124/0.00124, allocations: 190.8 kB / 83.98 MB, free: 10.82 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.868/1.868, allocations: 194.4 MB / 292.3 MB, free: 3.574 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.001831/0.001831, allocations: 106.8 kB / 350.7 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 8 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1329, allocations: 57.65 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9915/1.124, allocations: 386.7 MB / 0.843 GB, free: 43.12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/1.125, allocations: 96.64 kB / 0.8431 GB, free: 43.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.646/4.771, allocations: 0.8867 GB / 1.73 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.515e-06/4.771, allocations: 3.906 kB / 1.73 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004747/4.772, allocations: 60.92 kB / 1.73 GB, free: 61.16 MB / 0.5261 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.009531/4.781, allocations: 2.656 MB / 1.732 GB, free: 59.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/4.781, allocations: 6.031 kB / 1.732 GB, free: 59.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002514/4.784, allocations: 370.7 kB / 1.733 GB, free: 59.81 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01345/4.797, allocations: 4.726 MB / 1.737 GB, free: 59.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/4.798, allocations: 100.2 kB / 1.738 GB, free: 59.31 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005918/4.798, allocations: 134.6 kB / 1.738 GB, free: 59.31 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004498/4.803, allocations: 1.455 MB / 1.739 GB, free: 58.97 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.302e-05/4.803, allocations: 8.625 kB / 1.739 GB, free: 58.97 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003268/4.803, allocations: 50.16 kB / 1.739 GB, free: 58.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.172e-05/4.803, allocations: 41.45 kB / 1.739 GB, free: 58.97 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003278/4.807, allocations: 1.05 MB / 1.74 GB, free: 58.95 MB / 0.5261 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.0132/4.82, allocations: 7.481 MB / 1.747 GB, free: 54.49 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/4.822, allocations: 0.8609 MB / 1.748 GB, free: 54.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004061/4.826, allocations: 1.94 MB / 1.75 GB, free: 53.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/4.827, allocations: 0.5145 MB / 1.751 GB, free: 53.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001093/4.828, allocations: 85.23 kB / 1.751 GB, free: 53.28 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=73): time 7.304e-06/4.828, allocations: 2.594 kB / 1.751 GB, free: 53.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.008333/4.837, allocations: 2.918 MB / 1.754 GB, free: 52.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/4.837, allocations: 213.4 kB / 1.754 GB, free: 52.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003359/4.84, allocations: 1.303 MB / 1.755 GB, free: 52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001905/4.841, allocations: 47.61 kB / 1.755 GB, free: 51.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001192/4.842, allocations: 0.8836 MB / 1.756 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/4.842, allocations: 276.8 kB / 1.756 GB, free: 51.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.578e-05/4.842, allocations: 19 kB / 1.756 GB, free: 51.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000127/4.842, allocations: 354.5 kB / 1.757 GB, free: 51.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009073/4.843, allocations: 388.2 kB / 1.757 GB, free: 51.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/4.844, allocations: 0.7753 MB / 1.758 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/4.846, allocations: 0.5078 MB / 1.758 GB, free: 50.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/4.846, allocations: 2.719 kB / 1.758 GB, free: 50.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003179/4.849, allocations: 1.348 MB / 1.76 GB, free: 50.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001111/4.85, allocations: 3.831 MB / 1.763 GB, free: 46.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.901e-05/4.85, allocations: 7.156 kB / 1.763 GB, free: 46.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/4.85, allocations: 48.06 kB / 1.763 GB, free: 46.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/4.851, allocations: 269.6 kB / 1.764 GB, free: 46.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/4.852, allocations: 1.374 MB / 1.765 GB, free: 45.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/4.854, allocations: 125 kB / 1.765 GB, free: 45.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/4.855, allocations: 58.86 kB / 1.765 GB, free: 45.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/4.855, allocations: 2.969 kB / 1.765 GB, free: 45.21 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002559/4.857, allocations: 1.133 MB / 1.766 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.169e-05/4.857, allocations: 10.81 kB / 1.766 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/4.857, allocations: 48.14 kB / 1.766 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/4.858, allocations: 260.4 kB / 1.767 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008987/4.859, allocations: 1.374 MB / 1.768 GB, free: 43.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/4.861, allocations: 121.4 kB / 1.768 GB, free: 43.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/4.861, allocations: 58.16 kB / 1.768 GB, free: 43.87 MB / 0.5261 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 () * Number of clocked 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.00167/4.863, allocations: 0.5011 MB / 1.769 GB, free: 43.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005714/4.864, allocations: 168.7 kB / 1.769 GB, free: 43.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003167/4.867, allocations: 1.275 MB / 1.77 GB, free: 43.47 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/4.867, allocations: 10.28 kB / 1.77 GB, free: 43.47 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/4.867, allocations: 3.5 kB / 1.77 GB, free: 43.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001857/4.869, allocations: 0.9693 MB / 1.771 GB, free: 43.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007438/4.876, allocations: 2.827 MB / 1.774 GB, free: 42.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/4.876, allocations: 3.906 kB / 1.774 GB, free: 42.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/4.877, allocations: 172.9 kB / 1.774 GB, free: 42.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003215/4.877, allocations: 121.4 kB / 1.774 GB, free: 42.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/4.878, allocations: 30.33 kB / 1.774 GB, free: 42.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/4.879, allocations: 2.489 MB / 1.776 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/4.879, allocations: 6.578 kB / 1.776 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003864/4.883, allocations: 2.082 MB / 1.778 GB, free: 39.85 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/4.885, allocations: 367 kB / 1.779 GB, free: 39.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006701/4.885, allocations: 25.22 kB / 1.779 GB, free: 39.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/4.887, allocations: 128.4 kB / 1.779 GB, free: 39.65 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/4.887, allocations: 73.5 kB / 1.779 GB, free: 39.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/4.887, allocations: 42.42 kB / 1.779 GB, free: 39.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002833/4.89, allocations: 1.077 MB / 1.78 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.6e-07/4.89, allocations: 0 / 1.78 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00569/4.896, allocations: 0.984 MB / 1.781 GB, free: 39.41 MB / 0.5261 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 76 * 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: 3 * 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: 2 {1 3,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003258/4.899, allocations: 1.167 MB / 1.782 GB, free: 39.13 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004757/4.904, allocations: 1.986 MB / 1.784 GB, free: 38.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/4.904, allocations: 0 / 1.784 GB, free: 38.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/4.905, allocations: 0.6574 MB / 1.785 GB, free: 38.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00547/4.911, allocations: 0.8957 MB / 1.786 GB, free: 38.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008774/4.92, allocations: 3.959 MB / 1.79 GB, free: 36.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002047/4.922, allocations: 1.452 MB / 1.791 GB, free: 35.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003004/4.925, allocations: 446.6 kB / 1.791 GB, free: 35.65 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007416/4.926, allocations: 156.5 kB / 1.792 GB, free: 35.64 MB / 0.5261 GB Notification: Performance of SimCode: time 1.864e-06/4.926, allocations: 0 / 1.792 GB, free: 35.64 MB / 0.5261 GB Notification: Performance of Templates: time 0.1025/5.028, allocations: 41.14 MB / 1.832 GB, free: 24.27 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)