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.000955/0.0009551, allocations: 166.6 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.276/1.276, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001591/0.001591, allocations: 111.4 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.726e-05/1.727e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07291/0.07295, allocations: 38.78 MB / 301 MB, free: 3.617 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.418/6.491, allocations: 2.79 GB / 3.084 GB, free: 86.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/6.491, allocations: 86.78 kB / 3.084 GB, free: 86.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.739/9.23, allocations: 0.9382 GB / 4.023 GB, free: 9.945 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.502e-06/9.23, allocations: 4 kB / 4.023 GB, free: 9.941 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.811e-05/9.23, allocations: 8 kB / 4.023 GB, free: 9.934 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.004527/9.234, allocations: 1.191 MB / 4.024 GB, free: 8.758 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/9.234, allocations: 8.031 kB / 4.024 GB, free: 8.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003554/9.235, allocations: 43.72 kB / 4.024 GB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/9.235, allocations: 278.1 kB / 4.024 GB, free: 8.398 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/9.235, allocations: 11.94 kB / 4.024 GB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/9.235, allocations: 19.94 kB / 4.024 GB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003139/9.235, allocations: 172.9 kB / 4.024 GB, free: 8.203 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/9.236, allocations: 258.6 kB / 4.025 GB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/9.236, allocations: 0 / 4.025 GB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/9.236, allocations: 0 / 4.025 GB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/9.236, allocations: 8 kB / 4.025 GB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/9.237, allocations: 1.388 MB / 4.026 GB, free: 6.434 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/9.238, allocations: 151 kB / 4.026 GB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/9.238, allocations: 81.31 kB / 4.026 GB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/9.238, allocations: 4.188 kB / 4.026 GB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/9.238, allocations: 38.69 kB / 4.026 GB, free: 6.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.235e-06/9.238, allocations: 4 kB / 4.026 GB, free: 6.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001766/9.24, allocations: 0.7471 MB / 4.027 GB, free: 5.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/9.24, allocations: 55.41 kB / 4.027 GB, free: 5.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/9.24, allocations: 199.1 kB / 4.027 GB, free: 5.066 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/9.24, allocations: 25.7 kB / 4.027 GB, free: 5.035 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.559e-05/9.24, allocations: 183.7 kB / 4.027 GB, free: 4.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/9.24, allocations: 86.72 kB / 4.027 GB, free: 4.766 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/9.24, allocations: 0 / 4.027 GB, free: 4.766 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.88e-05/9.24, allocations: 334.8 kB / 4.028 GB, free: 4.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/9.24, allocations: 79.78 kB / 4.028 GB, free: 4.352 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/9.24, allocations: 163.1 kB / 4.028 GB, free: 4.152 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/9.241, allocations: 101.2 kB / 4.028 GB, free: 4.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/9.241, allocations: 0 / 4.028 GB, free: 4.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005631/9.241, allocations: 342.7 kB / 4.028 GB, free: 3.707 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/9.241, allocations: 8 kB / 4.028 GB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/9.241, allocations: 4 kB / 4.028 GB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002509/9.242, allocations: 62.05 kB / 4.029 GB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/9.242, allocations: 63.91 kB / 4.029 GB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/9.243, allocations: 2.572 MB / 4.031 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/9.244, allocations: 19.53 kB / 4.031 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/9.244, allocations: 16 kB / 4.031 GB, free: 0.7422 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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 () * 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.0001628/9.244, allocations: 121.5 kB / 4.031 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/9.244, allocations: 23.72 kB / 4.031 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.279e-05/9.244, allocations: 33.95 kB / 4.031 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/9.244, allocations: 0 / 4.031 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/9.244, allocations: 0 / 4.031 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2891/9.533, allocations: 0.536 MB / 4.032 GB, free: 49.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/9.536, allocations: 0.6397 MB / 4.032 GB, free: 48.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/9.536, allocations: 0 / 4.032 GB, free: 48.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/9.536, allocations: 44.91 kB / 4.032 GB, free: 48.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004025/9.537, allocations: 58.42 kB / 4.033 GB, free: 48.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/9.537, allocations: 3.469 kB / 4.033 GB, free: 48.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/9.538, allocations: 1.32 MB / 4.034 GB, free: 47.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/9.538, allocations: 2.062 kB / 4.034 GB, free: 47.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/9.539, allocations: 452.8 kB / 4.034 GB, free: 47.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/9.54, allocations: 99.8 kB / 4.034 GB, free: 47.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.222e-05/9.54, allocations: 1.531 kB / 4.034 GB, free: 47.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/9.54, allocations: 12.83 kB / 4.034 GB, free: 47.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/9.54, allocations: 21.44 kB / 4.034 GB, free: 47.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.477e-05/9.54, allocations: 8.031 kB / 4.034 GB, free: 47.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002763/9.541, allocations: 155.8 kB / 4.035 GB, free: 47.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/9.541, allocations: 1.562 kB / 4.035 GB, free: 47.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001292/9.542, allocations: 108.6 kB / 4.035 GB, free: 47.43 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 () * 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.0008424/9.543, allocations: 318.8 kB / 4.035 GB, free: 47.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001213/9.544, allocations: 438.5 kB / 4.035 GB, free: 47.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/9.544, allocations: 1.688 kB / 4.035 GB, free: 47.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005075/9.545, allocations: 216.5 kB / 4.036 GB, free: 47.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/9.546, allocations: 122.2 kB / 4.036 GB, free: 47.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/9.547, allocations: 476.2 kB / 4.036 GB, free: 46.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/9.548, allocations: 0.7681 MB / 4.037 GB, free: 46.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005901/9.548, allocations: 50.77 kB / 4.037 GB, free: 46.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/9.549, allocations: 24.98 kB / 4.037 GB, free: 46.19 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/9.549, allocations: 3.969 kB / 4.037 GB, free: 46.19 MB / 362.7 MB Notification: Performance of Templates: time 0.02142/9.57, allocations: 5.817 MB / 4.043 GB, free: 46.02 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)