Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001768/0.001768, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.699/1.699, allocations: 194.3 MB / 202.4 MB, free: 8.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001775/0.001775, allocations: 117 kB / 247.4 MB, free: 6.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.193/0.193, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.4e-05/1.401e-05, allocations: 3.984 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0984/0.09843, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.919/7.018, allocations: 2.624 GB / 3.062 GB, free: 42.62 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/7.018, allocations: 94.88 kB / 3.062 GB, free: 42.57 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053/9.071, allocations: 495.1 MB / 3.546 GB, free: 54.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.463e-06/9.071, allocations: 1.281 kB / 3.546 GB, free: 54.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.818e-05/9.071, allocations: 18.41 kB / 3.546 GB, free: 54.84 MB / 490.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.008094/9.079, allocations: 1.7 MB / 3.547 GB, free: 54.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.829e-05/9.079, allocations: 14.66 kB / 3.547 GB, free: 54.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/9.082, allocations: 224.6 kB / 3.548 GB, free: 54.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/9.084, allocations: 0.5935 MB / 3.548 GB, free: 53.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/9.085, allocations: 91.38 kB / 3.548 GB, free: 53.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002845/9.085, allocations: 30.72 kB / 3.548 GB, free: 53.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001375/9.086, allocations: 0.632 MB / 3.549 GB, free: 53.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/9.088, allocations: 0.8664 MB / 3.55 GB, free: 53.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/9.088, allocations: 2.156 kB / 3.55 GB, free: 53.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/9.088, allocations: 3.875 kB / 3.55 GB, free: 53.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.665e-05/9.088, allocations: 48.56 kB / 3.55 GB, free: 53.37 MB / 490.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.1247/9.213, allocations: 67.78 MB / 3.616 GB, free: 26.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/9.214, allocations: 330.5 kB / 3.616 GB, free: 26.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/9.214, allocations: 138.5 kB / 3.616 GB, free: 26.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4218/9.636, allocations: 53.55 MB / 3.669 GB, free: 86.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/9.636, allocations: 43.53 kB / 3.669 GB, free: 86.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/9.636, allocations: 0 / 3.669 GB, free: 86.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.004814/9.641, allocations: 1.579 MB / 3.67 GB, free: 85.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/9.641, allocations: 137.6 kB / 3.67 GB, free: 85.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005187/9.641, allocations: 0.4938 MB / 3.671 GB, free: 85.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/9.641, allocations: 25.7 kB / 3.671 GB, free: 85.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/9.641, allocations: 440.5 kB / 3.671 GB, free: 85.44 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.574e-05/9.642, allocations: 129.1 kB / 3.671 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/9.642, allocations: 0.5625 kB / 3.671 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.042e-05/9.642, allocations: 377.3 kB / 3.672 GB, free: 85.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/9.642, allocations: 208.9 kB / 3.672 GB, free: 85.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/9.642, allocations: 0.5812 MB / 3.673 GB, free: 84.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/9.643, allocations: 428.3 kB / 3.673 GB, free: 84.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/9.643, allocations: 3.5 kB / 3.673 GB, free: 84.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001706/9.645, allocations: 0.8997 MB / 3.674 GB, free: 84.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/9.645, allocations: 11.06 kB / 3.674 GB, free: 84.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/9.645, allocations: 10.91 kB / 3.674 GB, free: 84.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002027/9.645, allocations: 78.92 kB / 3.674 GB, free: 84.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/9.646, allocations: 284.5 kB / 3.674 GB, free: 84.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/9.648, allocations: 2.079 MB / 3.676 GB, free: 82.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/9.649, allocations: 46.16 kB / 3.676 GB, free: 82.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/9.649, allocations: 47.98 kB / 3.676 GB, free: 82.72 MB / 0.5105 GB 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 () * 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.0001414/9.649, allocations: 142 kB / 3.676 GB, free: 82.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.554e-05/9.649, allocations: 62.12 kB / 3.677 GB, free: 82.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/9.651, allocations: 1.501 MB / 3.678 GB, free: 82.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/9.651, allocations: 21.84 kB / 3.678 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/9.651, allocations: 4.531 kB / 3.678 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/9.651, allocations: 3.688 kB / 3.678 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/9.653, allocations: 2.337 MB / 3.68 GB, free: 82.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/9.653, allocations: 0 / 3.68 GB, free: 82.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008434/9.654, allocations: 168.9 kB / 3.68 GB, free: 82.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003094/9.654, allocations: 122.3 kB / 3.681 GB, free: 82.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/9.654, allocations: 7.188 kB / 3.681 GB, free: 82.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/9.655, allocations: 2.076 MB / 3.683 GB, free: 80.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/9.655, allocations: 3.125 kB / 3.683 GB, free: 80.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/9.657, allocations: 1.51 MB / 3.684 GB, free: 80 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/9.657, allocations: 203.2 kB / 3.684 GB, free: 79.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.99e-05/9.658, allocations: 4.406 kB / 3.684 GB, free: 79.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/9.658, allocations: 26.19 kB / 3.684 GB, free: 79.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/9.658, allocations: 26.64 kB / 3.684 GB, free: 79.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/9.658, allocations: 15.31 kB / 3.684 GB, free: 79.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004117/9.658, allocations: 360.7 kB / 3.685 GB, free: 79.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/9.658, allocations: 0 / 3.685 GB, free: 79.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004768/9.663, allocations: 1.086 MB / 3.686 GB, free: 79.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.006418/9.67, allocations: 1.635 MB / 3.687 GB, free: 79.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001714/9.671, allocations: 0.8084 MB / 3.688 GB, free: 79.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/9.671, allocations: 5.578 kB / 3.688 GB, free: 79.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009345/9.672, allocations: 0.5385 MB / 3.689 GB, free: 79.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/9.674, allocations: 266.2 kB / 3.689 GB, free: 79.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/9.676, allocations: 1.379 MB / 3.69 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/9.676, allocations: 1.059 MB / 3.691 GB, free: 78.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007353/9.677, allocations: 431.9 kB / 3.692 GB, free: 78.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/9.677, allocations: 65.34 kB / 3.692 GB, free: 78.54 MB / 0.5105 GB Notification: Performance of SimCode: time 8.11e-07/9.677, allocations: 0 / 3.692 GB, free: 78.54 MB / 0.5105 GB Notification: Performance of Templates: time 0.03993/9.717, allocations: 32.56 MB / 3.724 GB, free: 77.34 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)