Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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) 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_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0106/0.0106, allocations: 165.5 kB / 15.11 MB, free: 5.977 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.754/1.754, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001655/0.001654, allocations: 107.3 kB / 226.2 MB, free: 10.11 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.4012/0.4012, allocations: 38.05 MB / 303.7 MB, free: 42.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004314, allocations: 15.98 kB / 362.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1196, allocations: 48.71 MB / 411.6 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.986/7.106, allocations: 2.514 GB / 2.916 GB, free: 34.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003684/7.107, allocations: 93.75 kB / 2.916 GB, free: 33.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.858/8.964, allocations: 489 MB / 3.394 GB, free: 32.67 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.513e-06/8.964, allocations: 0 / 3.394 GB, free: 32.67 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.328e-05/8.964, allocations: 18.98 kB / 3.394 GB, free: 32.66 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.006614/8.971, allocations: 1.737 MB / 3.396 GB, free: 31.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/8.971, allocations: 6.625 kB / 3.396 GB, free: 31.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/8.973, allocations: 226.1 kB / 3.396 GB, free: 31.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/8.974, allocations: 0.5862 MB / 3.397 GB, free: 31.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/8.974, allocations: 114.5 kB / 3.397 GB, free: 31.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/8.974, allocations: 58.31 kB / 3.397 GB, free: 31.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/8.976, allocations: 1.053 MB / 3.398 GB, free: 30.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/8.976, allocations: 11.53 kB / 3.398 GB, free: 30.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.732e-05/8.976, allocations: 33.61 kB / 3.398 GB, free: 30.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/8.976, allocations: 43.64 kB / 3.398 GB, free: 30.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/8.978, allocations: 0.8081 MB / 3.399 GB, free: 30.25 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.005981/8.984, allocations: 5.523 MB / 3.404 GB, free: 25.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/8.985, allocations: 0.5151 MB / 3.405 GB, free: 25.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3145/9.3, allocations: 53.23 MB / 3.457 GB, free: 57.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/9.3, allocations: 45.27 kB / 3.457 GB, free: 57.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 2.455e-06/9.3, allocations: 1.406 kB / 3.457 GB, free: 57.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.006236/9.306, allocations: 2.073 MB / 3.459 GB, free: 57.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/9.306, allocations: 189.4 kB / 3.459 GB, free: 57.12 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007869/9.307, allocations: 0.5465 MB / 3.459 GB, free: 56.99 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/9.307, allocations: 36.75 kB / 3.459 GB, free: 56.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/9.307, allocations: 409.7 kB / 3.46 GB, free: 56.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/9.307, allocations: 170.9 kB / 3.46 GB, free: 56.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/9.307, allocations: 15.78 kB / 3.46 GB, free: 56.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/9.307, allocations: 376 kB / 3.46 GB, free: 56.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/9.308, allocations: 228.8 kB / 3.46 GB, free: 56.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005522/9.308, allocations: 0.6065 MB / 3.461 GB, free: 55.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/9.309, allocations: 345.1 kB / 3.461 GB, free: 55.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.892e-06/9.309, allocations: 3.969 kB / 3.461 GB, free: 55.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00147/9.31, allocations: 0.9088 MB / 3.462 GB, free: 55.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/9.31, allocations: 9.75 kB / 3.462 GB, free: 55.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/9.31, allocations: 15.53 kB / 3.462 GB, free: 55.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003906/9.314, allocations: 269.3 kB / 3.463 GB, free: 55.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/9.316, allocations: 290 kB / 3.463 GB, free: 55.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/9.317, allocations: 2.019 MB / 3.465 GB, free: 53.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007964/9.318, allocations: 66.91 kB / 3.465 GB, free: 53.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.006e-05/9.318, allocations: 42.59 kB / 3.465 GB, free: 53.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004881/9.318, allocations: 280.9 kB / 3.465 GB, free: 53.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/9.318, allocations: 70.09 kB / 3.465 GB, free: 53.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/9.32, allocations: 2.017 MB / 3.467 GB, free: 53.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/9.32, allocations: 29.11 kB / 3.467 GB, free: 53.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/9.32, allocations: 0 / 3.467 GB, free: 53.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/9.32, allocations: 3.141 kB / 3.467 GB, free: 53.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/9.323, allocations: 2.988 MB / 3.47 GB, free: 53.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/9.323, allocations: 1.062 kB / 3.47 GB, free: 53.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008358/9.324, allocations: 184 kB / 3.47 GB, free: 53.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/9.326, allocations: 300 kB / 3.471 GB, free: 53.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/9.326, allocations: 18.73 kB / 3.471 GB, free: 53.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/9.328, allocations: 2.083 MB / 3.473 GB, free: 51.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/9.328, allocations: 11.72 kB / 3.473 GB, free: 51.32 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003148/9.331, allocations: 1.95 MB / 3.475 GB, free: 50.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008201/9.332, allocations: 283.6 kB / 3.475 GB, free: 50.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/9.332, allocations: 10.97 kB / 3.475 GB, free: 50.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007653/9.333, allocations: 39.05 kB / 3.475 GB, free: 50.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.632e-05/9.333, allocations: 34.48 kB / 3.475 GB, free: 50.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/9.333, allocations: 19.28 kB / 3.475 GB, free: 50.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001218/9.334, allocations: 0.5526 MB / 3.476 GB, free: 50.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.61e-07/9.334, allocations: 2.969 kB / 3.476 GB, free: 50.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005775/9.34, allocations: 1.126 MB / 3.477 GB, free: 50.66 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.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008325/9.348, allocations: 1.564 MB / 3.478 GB, free: 50.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002161/9.35, allocations: 0.9066 MB / 3.479 GB, free: 50.47 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/9.35, allocations: 0 / 3.479 GB, free: 50.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/9.352, allocations: 0.6275 MB / 3.48 GB, free: 50.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/9.354, allocations: 361.7 kB / 3.48 GB, free: 50.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/9.358, allocations: 2.572 MB / 3.483 GB, free: 49.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006306/9.359, allocations: 1.115 MB / 3.484 GB, free: 48.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001018/9.36, allocations: 343.4 kB / 3.484 GB, free: 48.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/9.36, allocations: 65.02 kB / 3.484 GB, free: 48.69 MB / 458.7 MB Notification: Performance of SimCode: time 8.92e-07/9.36, allocations: 0 / 3.484 GB, free: 48.69 MB / 458.7 MB Notification: Performance of Templates: time 0.08285/9.443, allocations: 38.98 MB / 3.522 GB, free: 47.62 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)