Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterProperties") translateModel(Annex60.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3681/0.3681, allocations: 54.42 MB / 61.89 MB, free: 13.72 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.001381/0.001381, allocations: 183.5 kB / 75.61 MB, free: 0.7695 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.768/1.768, allocations: 194.3 MB / 283.5 MB, free: 14.84 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.001774/0.001773, allocations: 113.3 kB / 341.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.477e-05/1.48e-05, allocations: 0 / 405.5 MB, free: 4.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3901, allocations: 57.65 MB / 463.1 MB, free: 51.7 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6149/1.005, allocations: 322 MB / 0.7667 GB, free: 19.38 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/1.005, allocations: 71.09 kB / 0.7668 GB, free: 19.35 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03932/1.045, allocations: 18.65 MB / 0.785 GB, free: 4.676 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.524e-06/1.045, allocations: 4 kB / 0.785 GB, free: 4.672 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/1.045, allocations: 0 / 0.785 GB, free: 4.672 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007893/1.046, allocations: 476.4 kB / 0.7855 GB, free: 4.172 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.046, allocations: 8.031 kB / 0.7855 GB, free: 4.164 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/1.046, allocations: 27.73 kB / 0.7855 GB, free: 4.137 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/1.046, allocations: 206.8 kB / 0.7857 GB, free: 3.906 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/1.046, allocations: 8 kB / 0.7857 GB, free: 3.898 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/1.046, allocations: 8 kB / 0.7857 GB, free: 3.891 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005031/1.047, allocations: 418.4 kB / 0.7861 GB, free: 3.555 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/1.047, allocations: 218.4 kB / 0.7863 GB, free: 3.363 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/1.047, allocations: 4 kB / 0.7863 GB, free: 3.359 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/1.047, allocations: 1.875 kB / 0.7863 GB, free: 3.359 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/1.047, allocations: 7.938 kB / 0.7863 GB, free: 3.352 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009052/1.048, allocations: 0.9832 MB / 0.7873 GB, free: 2.371 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/1.048, allocations: 141.2 kB / 0.7874 GB, free: 2.25 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.66e-05/1.048, allocations: 56.08 kB / 0.7875 GB, free: 2.203 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/1.05, allocations: 1.921 MB / 0.7894 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/1.05, allocations: 34.56 kB / 0.7894 GB, free: 15.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 2.184e-06/1.05, allocations: 0 / 0.7894 GB, free: 15.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005845/1.05, allocations: 135.4 kB / 0.7895 GB, free: 15.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/1.05, allocations: 54.91 kB / 0.7896 GB, free: 15.74 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/1.051, allocations: 127 kB / 0.7897 GB, free: 15.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/1.051, allocations: 25.7 kB / 0.7897 GB, free: 15.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/1.051, allocations: 147.1 kB / 0.7899 GB, free: 15.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/1.051, allocations: 46.67 kB / 0.7899 GB, free: 15.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/1.051, allocations: 0 / 0.7899 GB, free: 15.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/1.051, allocations: 330.7 kB / 0.7902 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.762e-05/1.051, allocations: 27.5 kB / 0.7903 GB, free: 15.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/1.051, allocations: 132.2 kB / 0.7904 GB, free: 14.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/1.051, allocations: 78.5 kB / 0.7905 GB, free: 14.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.051, allocations: 4 kB / 0.7905 GB, free: 14.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005241/1.052, allocations: 202.4 kB / 0.7907 GB, free: 14.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/1.052, allocations: 8 kB / 0.7907 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.052, allocations: 4 kB / 0.7907 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/1.052, allocations: 4 kB / 0.7907 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/1.052, allocations: 59.47 kB / 0.7907 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.052, allocations: 8 kB / 0.7907 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/1.052, allocations: 23.69 kB / 0.7908 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/1.052, allocations: 11.98 kB / 0.7908 GB, free: 14.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0001153/1.053, allocations: 126.3 kB / 0.7909 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/1.053, allocations: 18.41 kB / 0.7909 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005544/1.053, allocations: 165.3 kB / 0.7911 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/1.053, allocations: 4 kB / 0.7911 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.053, allocations: 0 / 0.7911 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.053, allocations: 0 / 0.7911 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/1.054, allocations: 183.6 kB / 0.7912 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.054, allocations: 0 / 0.7912 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/1.054, allocations: 37.25 kB / 0.7913 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-06/1.054, allocations: 7.984 kB / 0.7913 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/1.054, allocations: 0 / 0.7913 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.054, allocations: 4 kB / 0.7913 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.054, allocations: 0 / 0.7913 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/1.054, allocations: 232.5 kB / 0.7915 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/1.054, allocations: 109.4 kB / 0.7916 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/1.054, allocations: 7.953 kB / 0.7916 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/1.055, allocations: 6.125 kB / 0.7916 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/1.055, allocations: 11.98 kB / 0.7916 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/1.055, allocations: 11.67 kB / 0.7916 GB, free: 13.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.668e-05/1.055, allocations: 106.1 kB / 0.7917 GB, free: 13.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.055, allocations: 0 / 0.7917 GB, free: 13.53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004219/1.055, allocations: 75.66 kB / 0.7918 GB, free: 13.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0003238/1.055, allocations: 184.4 kB / 0.792 GB, free: 13.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002198/1.056, allocations: 100.9 kB / 0.7921 GB, free: 13.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.056, allocations: 4.062 kB / 0.7921 GB, free: 13.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.631e-05/1.056, allocations: 42.48 kB / 0.7921 GB, free: 13.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/1.056, allocations: 31.53 kB / 0.7922 GB, free: 13.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005619/1.057, allocations: 160.9 kB / 0.7923 GB, free: 12.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/1.057, allocations: 0.723 MB / 0.793 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000195/1.057, allocations: 38.61 kB / 0.7931 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/1.057, allocations: 19.44 kB / 0.7931 GB, free: 12.16 MB / 490.7 MB Notification: Performance of SimCode: time 7.71e-07/1.057, allocations: 3.375 kB / 0.7931 GB, free: 12.16 MB / 490.7 MB Notification: Performance of Templates: time 0.006523/1.064, allocations: 2.764 MB / 0.7958 GB, free: 9.473 MB / 490.7 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe 2>&1)