Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009941/0.0009944, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.402/1.402, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001563/0.001563, allocations: 119.9 kB / 256.9 MB, free: 4.383 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003333, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.09885, allocations: 44.5 MB / 355.1 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.103, allocations: 362.6 MB / 0.7008 GB, free: 146.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/1.104, allocations: 90.17 kB / 0.7009 GB, free: 146.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1338/1.237, allocations: 81.32 MB / 0.7803 GB, free: 66.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.334e-06/1.237, allocations: 0 / 0.7803 GB, free: 66.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.861e-05/1.238, allocations: 8 kB / 0.7804 GB, free: 66.35 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.0009634/1.238, allocations: 0.623 MB / 0.781 GB, free: 65.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/1.239, allocations: 16.02 kB / 0.781 GB, free: 65.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002641/1.239, allocations: 36.66 kB / 0.781 GB, free: 65.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/1.239, allocations: 270.9 kB / 0.7813 GB, free: 65.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/1.239, allocations: 24.56 kB / 0.7813 GB, free: 65.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/1.239, allocations: 24 kB / 0.7813 GB, free: 65.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/1.24, allocations: 295.7 kB / 0.7816 GB, free: 64.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/1.24, allocations: 3.938 kB / 0.7816 GB, free: 64.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/1.24, allocations: 12 kB / 0.7816 GB, free: 64.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/1.24, allocations: 8 kB / 0.7816 GB, free: 64.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/1.24, allocations: 197.6 kB / 0.7818 GB, free: 64.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/1.241, allocations: 1.436 MB / 0.7832 GB, free: 63.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/1.241, allocations: 179.2 kB / 0.7834 GB, free: 63.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/1.241, allocations: 4.188 kB / 0.7834 GB, free: 63.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/1.241, allocations: 34.75 kB / 0.7834 GB, free: 62.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.283e-06/1.242, allocations: 0 / 0.7834 GB, free: 62.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002169/1.244, allocations: 1.008 MB / 0.7844 GB, free: 61.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/1.244, allocations: 55.34 kB / 0.7845 GB, free: 61.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/1.244, allocations: 241.6 kB / 0.7847 GB, free: 61.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/1.244, allocations: 29.7 kB / 0.7847 GB, free: 61.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.835e-05/1.244, allocations: 180.1 kB / 0.7849 GB, free: 61.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/1.244, allocations: 86.72 kB / 0.785 GB, free: 61.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/1.244, allocations: 12 kB / 0.785 GB, free: 61.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.032e-05/1.244, allocations: 334.8 kB / 0.7853 GB, free: 60.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/1.244, allocations: 83.97 kB / 0.7854 GB, free: 60.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/1.245, allocations: 189.5 kB / 0.7856 GB, free: 60.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/1.245, allocations: 111.9 kB / 0.7857 GB, free: 60.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/1.245, allocations: 0 / 0.7857 GB, free: 60.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005501/1.245, allocations: 383.3 kB / 0.786 GB, free: 60.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.245, allocations: 11.94 kB / 0.786 GB, free: 60.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/1.245, allocations: 4 kB / 0.786 GB, free: 60.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/1.246, allocations: 69.94 kB / 0.7861 GB, free: 60.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/1.246, allocations: 63.91 kB / 0.7862 GB, free: 59.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/1.247, allocations: 2.682 MB / 0.7888 GB, free: 57.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/1.248, allocations: 28.33 kB / 0.7888 GB, free: 56.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/1.248, allocations: 12 kB / 0.7888 GB, free: 56.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001514/1.248, allocations: 157.7 kB / 0.789 GB, free: 56.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/1.248, allocations: 27.72 kB / 0.789 GB, free: 56.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.093e-05/1.248, allocations: 38.17 kB / 0.789 GB, free: 56.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.248, allocations: 4 kB / 0.7891 GB, free: 56.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.248, allocations: 3.984 kB / 0.7891 GB, free: 56.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004851/1.249, allocations: 0.5592 MB / 0.7896 GB, free: 56.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008253/1.249, allocations: 0.7066 MB / 0.7903 GB, free: 55.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.249, allocations: 3.984 kB / 0.7903 GB, free: 55.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/1.25, allocations: 47.94 kB / 0.7903 GB, free: 55.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000242/1.25, allocations: 56.78 kB / 0.7904 GB, free: 55.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/1.25, allocations: 4 kB / 0.7904 GB, free: 55.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009044/1.251, allocations: 1.39 MB / 0.7918 GB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.251, allocations: 12.09 kB / 0.7918 GB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/1.251, allocations: 483.2 kB / 0.7922 GB, free: 53.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/1.251, allocations: 96.86 kB / 0.7923 GB, free: 53.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/1.251, allocations: 4 kB / 0.7923 GB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/1.252, allocations: 24.27 kB / 0.7923 GB, free: 53.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/1.252, allocations: 11.98 kB / 0.7924 GB, free: 53.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/1.252, allocations: 19.92 kB / 0.7924 GB, free: 53.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001399/1.252, allocations: 185.9 kB / 0.7926 GB, free: 52.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.252, allocations: 0 / 0.7926 GB, free: 52.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004742/1.252, allocations: 100 kB / 0.7927 GB, free: 52.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00029/1.253, allocations: 155.2 kB / 0.7928 GB, free: 52.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007528/1.253, allocations: 481.1 kB / 0.7933 GB, free: 52.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.253, allocations: 4 kB / 0.7933 GB, free: 52.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/1.254, allocations: 227.4 kB / 0.7935 GB, free: 51.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008114/1.255, allocations: 157 kB / 0.7936 GB, free: 51.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/1.256, allocations: 0.8224 MB / 0.7944 GB, free: 50.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/1.256, allocations: 0.7687 MB / 0.7952 GB, free: 50.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002742/1.256, allocations: 46.95 kB / 0.7952 GB, free: 49.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/1.257, allocations: 31.44 kB / 0.7953 GB, free: 49.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/1.257, allocations: 0 / 0.7953 GB, free: 49.96 MB / 410.7 MB Notification: Performance of Templates: time 0.009989/1.267, allocations: 5.984 MB / 0.8011 GB, free: 43.99 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)