Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json 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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001134/0.001134, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.571/1.571, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001818/0.001818, allocations: 124.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.494e-05/2.497e-05, allocations: 3.984 kB / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08204/0.08208, allocations: 44.49 MB / 349.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6618/0.7439, allocations: 260.9 MB / 0.596 GB, free: 126.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.7442, allocations: 83.94 kB / 0.5961 GB, free: 126.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1389/0.8832, allocations: 84.03 MB / 0.6782 GB, free: 41.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.8832, allocations: 192 / 0.6782 GB, free: 41.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.8832, allocations: 7.984 kB / 0.6782 GB, free: 41.34 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005252/0.8838, allocations: 0.5231 MB / 0.6787 GB, free: 40.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.8838, allocations: 8.031 kB / 0.6787 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.8841, allocations: 35.72 kB / 0.6787 GB, free: 40.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.8844, allocations: 286.4 kB / 0.679 GB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.8844, allocations: 24.48 kB / 0.679 GB, free: 40.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.8844, allocations: 24 kB / 0.6791 GB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.8848, allocations: 305.4 kB / 0.6794 GB, free: 40.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.8848, allocations: 4 kB / 0.6794 GB, free: 40.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.8849, allocations: 12 kB / 0.6794 GB, free: 40.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.8849, allocations: 4 kB / 0.6794 GB, free: 40.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.8851, allocations: 177.6 kB / 0.6795 GB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.8865, allocations: 1.724 MB / 0.6812 GB, free: 37.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.8867, allocations: 138.5 kB / 0.6814 GB, free: 37.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.158e-05/0.8868, allocations: 61.84 kB / 0.6814 GB, free: 37.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.8869, allocations: 170.2 kB / 0.6816 GB, free: 37.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.8869, allocations: 38.5 kB / 0.6816 GB, free: 37.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.8869, allocations: 0 / 0.6816 GB, free: 37.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.001297/0.8882, allocations: 0.6778 MB / 0.6823 GB, free: 36.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.8882, allocations: 55.59 kB / 0.6823 GB, free: 36.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.8884, allocations: 247 kB / 0.6826 GB, free: 36.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.8885, allocations: 29.7 kB / 0.6826 GB, free: 36.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.8885, allocations: 195.7 kB / 0.6828 GB, free: 36.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.8886, allocations: 82.84 kB / 0.6829 GB, free: 36.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-06/0.8886, allocations: 4 kB / 0.6829 GB, free: 36.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.753e-05/0.8887, allocations: 342.8 kB / 0.6832 GB, free: 35.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-05/0.8888, allocations: 67.98 kB / 0.6833 GB, free: 35.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.8889, allocations: 179.4 kB / 0.6834 GB, free: 35.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.889, allocations: 105.5 kB / 0.6835 GB, free: 35.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.889, allocations: 0 / 0.6835 GB, free: 35.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003938/0.8894, allocations: 321.8 kB / 0.6838 GB, free: 35.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.8895, allocations: 11.95 kB / 0.6838 GB, free: 35.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.8895, allocations: 11.97 kB / 0.6839 GB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.092e-05/0.8896, allocations: 24.8 kB / 0.6839 GB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.8898, allocations: 88.39 kB / 0.684 GB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006931/0.8905, allocations: 1.284 MB / 0.6852 GB, free: 33.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.8907, allocations: 28.14 kB / 0.6852 GB, free: 33.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.8908, allocations: 15.94 kB / 0.6853 GB, free: 33.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/0.8909, allocations: 134.2 kB / 0.6854 GB, free: 33.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.8909, allocations: 27.67 kB / 0.6854 GB, free: 33.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.8912, allocations: 200.3 kB / 0.6856 GB, free: 33.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.8912, allocations: 8 kB / 0.6856 GB, free: 33.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.8912, allocations: 0 / 0.6856 GB, free: 33.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002375/0.8915, allocations: 479.7 kB / 0.6861 GB, free: 32.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/0.8923, allocations: 0.7682 MB / 0.6868 GB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.8923, allocations: 4 kB / 0.6868 GB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.8925, allocations: 43.97 kB / 0.6869 GB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.8925, allocations: 0 / 0.6869 GB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.8925, allocations: 12 kB / 0.6869 GB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.8925, allocations: 3.938 kB / 0.6869 GB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.8925, allocations: 7.953 kB / 0.6869 GB, free: 31.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.8929, allocations: 0.5068 MB / 0.6874 GB, free: 31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.893, allocations: 104.8 kB / 0.6875 GB, free: 30.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.893, allocations: 8 kB / 0.6875 GB, free: 30.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.8933, allocations: 12 kB / 0.6875 GB, free: 30.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.8933, allocations: 19.92 kB / 0.6875 GB, free: 30.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.8933, allocations: 12.06 kB / 0.6875 GB, free: 30.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.8935, allocations: 203.1 kB / 0.6877 GB, free: 30.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8935, allocations: 3.938 kB / 0.6877 GB, free: 30.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004482/0.8939, allocations: 111.9 kB / 0.6878 GB, free: 30.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * 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.0003781/0.8943, allocations: 227.8 kB / 0.6881 GB, free: 30.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004253/0.8948, allocations: 298.3 kB / 0.6883 GB, free: 29.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.8948, allocations: 0 / 0.6883 GB, free: 29.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-05/0.8949, allocations: 73.25 kB / 0.6884 GB, free: 29.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007834/0.8957, allocations: 157 kB / 0.6886 GB, free: 29.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.8963, allocations: 443.2 kB / 0.689 GB, free: 29.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.8965, allocations: 0.768 MB / 0.6897 GB, free: 28.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002271/0.8967, allocations: 59.25 kB / 0.6898 GB, free: 28.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.8967, allocations: 31.44 kB / 0.6898 GB, free: 28.38 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.8968, allocations: 0 / 0.6898 GB, free: 28.38 MB / 410.7 MB Notification: Performance of Templates: time 0.009044/0.9058, allocations: 6.733 MB / 0.6964 GB, free: 21.64 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)