Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00148/0.00148, allocations: 164.5 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.629/1.629, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001665/0.001665, allocations: 107.5 kB / 218 MB, free: 8.348 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.177/0.177, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.943e-05/1.947e-05, allocations: 1.25 kB / 350 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 48.73 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.792/6.895, allocations: 2.515 GB / 2.905 GB, free: 69.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/6.895, allocations: 97.02 kB / 2.905 GB, free: 69.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.971/8.867, allocations: 485.1 MB / 3.379 GB, free: 49.03 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.463e-06/8.867, allocations: 0 / 3.379 GB, free: 49.03 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.369e-05/8.867, allocations: 20.75 kB / 3.379 GB, free: 49.03 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.007449/8.874, allocations: 1.717 MB / 3.38 GB, free: 48.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/8.874, allocations: 6.719 kB / 3.38 GB, free: 48.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/8.877, allocations: 314.2 kB / 3.381 GB, free: 48.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/8.878, allocations: 0.6143 MB / 3.381 GB, free: 47.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/8.878, allocations: 91.12 kB / 3.381 GB, free: 47.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/8.878, allocations: 37.22 kB / 3.381 GB, free: 47.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001177/8.88, allocations: 0.6933 MB / 3.382 GB, free: 47.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/8.881, allocations: 0.8834 MB / 3.383 GB, free: 47.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/8.881, allocations: 6.469 kB / 3.383 GB, free: 47.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/8.881, allocations: 3.812 kB / 3.383 GB, free: 47.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.878e-05/8.881, allocations: 45.17 kB / 3.383 GB, free: 47.61 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0974/8.978, allocations: 52.81 MB / 3.434 GB, free: 30.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009157/8.979, allocations: 386.8 kB / 3.435 GB, free: 30.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/8.98, allocations: 181.2 kB / 3.435 GB, free: 30.69 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007051/8.987, allocations: 3.635 MB / 3.438 GB, free: 27.97 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/8.987, allocations: 42.12 kB / 3.439 GB, free: 27.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 4.378e-06/8.987, allocations: 0 / 3.439 GB, free: 27.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=41): time 0.004763/8.992, allocations: 1.456 MB / 3.44 GB, free: 27.51 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/8.992, allocations: 134.6 kB / 3.44 GB, free: 27.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008438/8.993, allocations: 483.7 kB / 3.441 GB, free: 27.24 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.718e-05/8.993, allocations: 29.05 kB / 3.441 GB, free: 27.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/8.993, allocations: 437.9 kB / 3.441 GB, free: 26.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/8.993, allocations: 137.7 kB / 3.441 GB, free: 26.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/8.993, allocations: 0 / 3.441 GB, free: 26.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/8.993, allocations: 374.9 kB / 3.441 GB, free: 26.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/8.994, allocations: 217.8 kB / 3.442 GB, free: 26.55 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/8.994, allocations: 0.5678 MB / 3.442 GB, free: 26.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006532/8.995, allocations: 326.1 kB / 3.443 GB, free: 26.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/8.995, allocations: 10.06 kB / 3.443 GB, free: 26.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001433/8.996, allocations: 0.8055 MB / 3.443 GB, free: 25.99 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/8.996, allocations: 7.938 kB / 3.443 GB, free: 25.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/8.996, allocations: 11.72 kB / 3.443 GB, free: 25.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/8.997, allocations: 59.08 kB / 3.443 GB, free: 25.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/8.998, allocations: 323.2 kB / 3.444 GB, free: 25.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/9, allocations: 1.944 MB / 3.446 GB, free: 24.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009545/9.001, allocations: 85.67 kB / 3.446 GB, free: 24.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-05/9.001, allocations: 44.69 kB / 3.446 GB, free: 24.18 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete 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.0002289/9.001, allocations: 149.1 kB / 3.446 GB, free: 24.06 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/9.001, allocations: 67.8 kB / 3.446 GB, free: 24.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/9.003, allocations: 1.85 MB / 3.448 GB, free: 23.81 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.649e-05/9.003, allocations: 28.2 kB / 3.448 GB, free: 23.81 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/9.003, allocations: 3.719 kB / 3.448 GB, free: 23.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/9.003, allocations: 6.75 kB / 3.448 GB, free: 23.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/9.007, allocations: 2.844 MB / 3.451 GB, free: 23.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/9.007, allocations: 0 / 3.451 GB, free: 23.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/9.008, allocations: 213.1 kB / 3.451 GB, free: 23.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002823/9.008, allocations: 80.81 kB / 3.451 GB, free: 23.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/9.008, allocations: 7.406 kB / 3.451 GB, free: 23.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/9.01, allocations: 1.973 MB / 3.453 GB, free: 21.56 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/9.01, allocations: 5.297 kB / 3.453 GB, free: 21.56 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/9.012, allocations: 1.796 MB / 3.455 GB, free: 21.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/9.012, allocations: 232.2 kB / 3.455 GB, free: 21.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/9.013, allocations: 6.578 kB / 3.455 GB, free: 21.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000591/9.013, allocations: 57.3 kB / 3.455 GB, free: 21.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/9.013, allocations: 36.86 kB / 3.455 GB, free: 21.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/9.013, allocations: 21.73 kB / 3.455 GB, free: 21.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005088/9.014, allocations: 349 kB / 3.455 GB, free: 21 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.41e-07/9.014, allocations: 0 / 3.455 GB, free: 21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007516/9.021, allocations: 1.074 MB / 3.456 GB, free: 20.86 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 38 * 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.009834/9.031, allocations: 1.631 MB / 3.458 GB, free: 20.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002049/9.033, allocations: 0.8624 MB / 3.459 GB, free: 20.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/9.033, allocations: 3.875 kB / 3.459 GB, free: 20.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/9.035, allocations: 0.6477 MB / 3.459 GB, free: 20.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/9.036, allocations: 268.6 kB / 3.46 GB, free: 20.48 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/9.04, allocations: 1.567 MB / 3.461 GB, free: 20.05 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/9.041, allocations: 1.099 MB / 3.462 GB, free: 19.33 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001263/9.042, allocations: 0.529 MB / 3.463 GB, free: 19.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/9.042, allocations: 60.19 kB / 3.463 GB, free: 19.29 MB / 458.7 MB Notification: Performance of SimCode: time 1.273e-06/9.042, allocations: 0 / 3.463 GB, free: 19.29 MB / 458.7 MB Notification: Performance of Templates: time 0.05304/9.095, allocations: 33.23 MB / 3.495 GB, free: 1.602 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)