Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005262/0.005262, allocations: 165.6 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.24/1.24, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001596/0.001596, allocations: 114.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003163, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2332, allocations: 38.76 MB / 312.9 MB, free: 38.75 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.857/6.09, allocations: 2.791 GB / 3.097 GB, free: 66.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/6.09, allocations: 86.08 kB / 3.097 GB, free: 66.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.811/8.902, allocations: 0.949 GB / 4.046 GB, free: 49.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.665e-06/8.902, allocations: 3.531 kB / 4.046 GB, free: 49.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.025e-05/8.902, allocations: 7.75 kB / 4.046 GB, free: 49.68 MB / 362.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.005547/8.907, allocations: 1.224 MB / 4.047 GB, free: 49.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/8.907, allocations: 12.84 kB / 4.047 GB, free: 49.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003832/8.908, allocations: 36.59 kB / 4.047 GB, free: 49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/8.908, allocations: 279.5 kB / 4.047 GB, free: 48.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/8.908, allocations: 19.94 kB / 4.047 GB, free: 48.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/8.908, allocations: 25.19 kB / 4.047 GB, free: 48.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/8.909, allocations: 295.5 kB / 4.048 GB, free: 48.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/8.909, allocations: 7 kB / 4.048 GB, free: 48.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/8.909, allocations: 10.03 kB / 4.048 GB, free: 48.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/8.909, allocations: 8.625 kB / 4.048 GB, free: 48.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004128/8.909, allocations: 201.6 kB / 4.048 GB, free: 48.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/8.911, allocations: 1.428 MB / 4.049 GB, free: 47.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/8.911, allocations: 179.5 kB / 4.049 GB, free: 47.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/8.911, allocations: 5.734 kB / 4.049 GB, free: 47.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/8.911, allocations: 45.72 kB / 4.049 GB, free: 47.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.134e-06/8.911, allocations: 0 / 4.049 GB, free: 47.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.003023/8.914, allocations: 0.9987 MB / 4.05 GB, free: 47.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/8.915, allocations: 62.48 kB / 4.051 GB, free: 47.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/8.915, allocations: 231.1 kB / 4.051 GB, free: 47.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/8.915, allocations: 35.39 kB / 4.051 GB, free: 46.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.711e-05/8.915, allocations: 175.1 kB / 4.051 GB, free: 46.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.842e-05/8.915, allocations: 93.48 kB / 4.051 GB, free: 46.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/8.915, allocations: 3.688 kB / 4.051 GB, free: 46.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/8.915, allocations: 342 kB / 4.051 GB, free: 46.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/8.915, allocations: 88.3 kB / 4.051 GB, free: 46.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/8.916, allocations: 171.9 kB / 4.052 GB, free: 46.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/8.916, allocations: 118.3 kB / 4.052 GB, free: 46.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/8.916, allocations: 1.344 kB / 4.052 GB, free: 46.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008522/8.917, allocations: 379.5 kB / 4.052 GB, free: 46.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/8.917, allocations: 7.391 kB / 4.052 GB, free: 46.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/8.917, allocations: 3.344 kB / 4.052 GB, free: 46.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003487/8.917, allocations: 67.64 kB / 4.052 GB, free: 46.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/8.918, allocations: 74.38 kB / 4.052 GB, free: 46.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/8.92, allocations: 2.686 MB / 4.055 GB, free: 43.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/8.92, allocations: 22.78 kB / 4.055 GB, free: 43.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/8.92, allocations: 15.86 kB / 4.055 GB, free: 43.78 MB / 362.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.0002145/8.92, allocations: 151.3 kB / 4.055 GB, free: 43.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/8.921, allocations: 29.86 kB / 4.055 GB, free: 43.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.455e-05/8.921, allocations: 37.06 kB / 4.055 GB, free: 43.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/8.921, allocations: 3.938 kB / 4.055 GB, free: 43.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/8.921, allocations: 0 / 4.055 GB, free: 43.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007339/8.921, allocations: 0.5593 MB / 4.056 GB, free: 43.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/8.923, allocations: 0.7057 MB / 4.056 GB, free: 42.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/8.923, allocations: 0 / 4.056 GB, free: 42.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/8.923, allocations: 52.59 kB / 4.056 GB, free: 42.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003462/8.923, allocations: 59.3 kB / 4.056 GB, free: 42.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/8.923, allocations: 10.7 kB / 4.056 GB, free: 42.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/8.925, allocations: 1.405 MB / 4.058 GB, free: 41.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/8.925, allocations: 0 / 4.058 GB, free: 41.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008891/8.926, allocations: 478.6 kB / 4.058 GB, free: 41.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/8.926, allocations: 98.75 kB / 4.058 GB, free: 41.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/8.926, allocations: 10.19 kB / 4.058 GB, free: 41.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/8.926, allocations: 12.16 kB / 4.058 GB, free: 41.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/8.926, allocations: 16.91 kB / 4.058 GB, free: 41.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/8.926, allocations: 11.66 kB / 4.058 GB, free: 41.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002284/8.926, allocations: 190.2 kB / 4.059 GB, free: 41.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/8.926, allocations: 0 / 4.059 GB, free: 41.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009634/8.927, allocations: 121.2 kB / 4.059 GB, free: 41.24 MB / 362.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.0005139/8.928, allocations: 303 kB / 4.059 GB, free: 41.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008325/8.929, allocations: 465.8 kB / 4.059 GB, free: 40.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/8.929, allocations: 0 / 4.059 GB, free: 40.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004166/8.929, allocations: 239.7 kB / 4.06 GB, free: 40.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/8.93, allocations: 158.2 kB / 4.06 GB, free: 40.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/8.932, allocations: 0.8129 MB / 4.061 GB, free: 40.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/8.932, allocations: 0.7717 MB / 4.061 GB, free: 39.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004167/8.932, allocations: 53.98 kB / 4.061 GB, free: 39.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.29e-05/8.933, allocations: 25.47 kB / 4.061 GB, free: 39.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.153e-06/8.933, allocations: 0 / 4.061 GB, free: 39.73 MB / 362.7 MB Notification: Performance of Templates: time 0.01642/8.949, allocations: 7.967 MB / 4.069 GB, free: 39.51 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)