Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00726/0.00726, allocations: 166.3 kB / 15.11 MB, free: 5.973 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.491/1.491, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001723/0.001722, allocations: 115.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4701/0.4701, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004449, allocations: 16 kB / 362.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1346, allocations: 48.7 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.61/6.745, allocations: 2.516 GB / 2.918 GB, free: 89.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004262/6.745, allocations: 96.19 kB / 2.918 GB, free: 89.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.13/8.875, allocations: 491.4 MB / 3.398 GB, free: 36.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.914e-06/8.875, allocations: 0 / 3.398 GB, free: 36.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.949e-05/8.875, allocations: 20.56 kB / 3.398 GB, free: 36.34 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.008624/8.884, allocations: 1.755 MB / 3.4 GB, free: 35.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/8.884, allocations: 9.219 kB / 3.4 GB, free: 35.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/8.887, allocations: 317 kB / 3.4 GB, free: 35.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/8.888, allocations: 0.6059 MB / 3.401 GB, free: 35.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/8.888, allocations: 119.4 kB / 3.401 GB, free: 35.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/8.888, allocations: 60.88 kB / 3.401 GB, free: 35.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/8.891, allocations: 1.151 MB / 3.402 GB, free: 34.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/8.891, allocations: 4.5 kB / 3.402 GB, free: 34.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.101e-05/8.891, allocations: 30.33 kB / 3.402 GB, free: 34.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-05/8.891, allocations: 42.91 kB / 3.402 GB, free: 34.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/8.892, allocations: 0.8308 MB / 3.403 GB, free: 34.85 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005942/8.898, allocations: 5.478 MB / 3.408 GB, free: 31.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/8.899, allocations: 0.5564 MB / 3.409 GB, free: 31.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09122/8.991, allocations: 48.91 MB / 3.456 GB, free: 17.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/8.991, allocations: 44.27 kB / 3.456 GB, free: 17.06 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 3.086e-06/8.991, allocations: 0 / 3.456 GB, free: 17.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.005784/8.997, allocations: 1.922 MB / 3.458 GB, free: 16.57 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/8.997, allocations: 160.9 kB / 3.458 GB, free: 16.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008437/8.998, allocations: 0.5495 MB / 3.459 GB, free: 16.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/8.998, allocations: 33.02 kB / 3.459 GB, free: 16.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/8.998, allocations: 404.9 kB / 3.459 GB, free: 16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/8.998, allocations: 162.6 kB / 3.46 GB, free: 15.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/8.998, allocations: 13.16 kB / 3.46 GB, free: 15.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000227/8.999, allocations: 382.1 kB / 3.46 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/8.999, allocations: 223.2 kB / 3.46 GB, free: 15.58 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005656/8.999, allocations: 0.5883 MB / 3.461 GB, free: 15.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/9, allocations: 342.3 kB / 3.461 GB, free: 15.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/9, allocations: 7.359 kB / 3.461 GB, free: 15.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001466/9.002, allocations: 0.8846 MB / 3.462 GB, free: 14.99 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/9.002, allocations: 8.406 kB / 3.462 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/9.002, allocations: 16.62 kB / 3.462 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003425/9.002, allocations: 69.41 kB / 3.462 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/9.003, allocations: 295.4 kB / 3.462 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/9.005, allocations: 1.984 MB / 3.464 GB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/9.005, allocations: 67.83 kB / 3.464 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/9.005, allocations: 41.72 kB / 3.464 GB, free: 13.11 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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 0.000556/9.006, allocations: 279.1 kB / 3.465 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/9.006, allocations: 67.34 kB / 3.465 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/9.009, allocations: 2.219 MB / 3.467 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/9.009, allocations: 33.67 kB / 3.467 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/9.009, allocations: 3.938 kB / 3.467 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/9.009, allocations: 7.344 kB / 3.467 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003967/9.013, allocations: 3.275 MB / 3.47 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/9.013, allocations: 0 / 3.47 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008652/9.014, allocations: 187.6 kB / 3.47 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004136/9.014, allocations: 95.88 kB / 3.47 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/9.014, allocations: 14.8 kB / 3.47 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/9.016, allocations: 2.001 MB / 3.472 GB, free: 25.53 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/9.016, allocations: 0 / 3.472 GB, free: 25.53 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/9.018, allocations: 1.987 MB / 3.474 GB, free: 24.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005277/9.019, allocations: 288.1 kB / 3.475 GB, free: 24.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/9.019, allocations: 13.88 kB / 3.475 GB, free: 24.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/9.02, allocations: 56.44 kB / 3.475 GB, free: 24.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/9.02, allocations: 29.19 kB / 3.475 GB, free: 24.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/9.02, allocations: 23.62 kB / 3.475 GB, free: 24.26 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006926/9.021, allocations: 0.4942 MB / 3.475 GB, free: 24.04 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/9.021, allocations: 4 kB / 3.475 GB, free: 24.04 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006944/9.027, allocations: 1.121 MB / 3.476 GB, free: 23.82 MB / 474.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.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008213/9.036, allocations: 1.544 MB / 3.478 GB, free: 23.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002072/9.038, allocations: 0.932 MB / 3.479 GB, free: 23.13 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/9.038, allocations: 0 / 3.479 GB, free: 23.13 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/9.039, allocations: 0.6593 MB / 3.479 GB, free: 22.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/9.041, allocations: 356.9 kB / 3.48 GB, free: 22.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/9.044, allocations: 2.704 MB / 3.482 GB, free: 21.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006514/9.045, allocations: 1.134 MB / 3.483 GB, free: 20.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009707/9.046, allocations: 451.8 kB / 3.484 GB, free: 20.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/9.046, allocations: 64.69 kB / 3.484 GB, free: 20.45 MB / 474.7 MB Notification: Performance of SimCode: time 7.91e-07/9.046, allocations: 0 / 3.484 GB, free: 20.45 MB / 474.7 MB Notification: Performance of Templates: time 0.4034/9.45, allocations: 39.3 MB / 3.522 GB, free: 70.21 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)