Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001228/0.001228, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.875/1.875, allocations: 194.3 MB / 207.5 MB, free: 3.449 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.001466/0.001466, allocations: 111.7 kB / 252.6 MB, free: 4.797 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.2454/0.2454, allocations: 39.95 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.643e-05/3.646e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1254, allocations: 54.86 MB / 455.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.1/7.225, allocations: 2.627 GB / 3.071 GB, free: 41.46 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/7.226, allocations: 95 kB / 3.071 GB, free: 41.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245/9.471, allocations: 0.4906 GB / 3.562 GB, free: 46.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.353e-06/9.471, allocations: 0 / 3.562 GB, free: 46.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.476e-05/9.471, allocations: 23.64 kB / 3.562 GB, free: 46.54 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.007713/9.479, allocations: 1.754 MB / 3.564 GB, free: 45.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/9.479, allocations: 15.31 kB / 3.564 GB, free: 45.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/9.481, allocations: 327.8 kB / 3.564 GB, free: 45.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/9.483, allocations: 0.6076 MB / 3.564 GB, free: 45.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/9.483, allocations: 111.8 kB / 3.565 GB, free: 45.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/9.483, allocations: 66.12 kB / 3.565 GB, free: 45.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/9.485, allocations: 1.192 MB / 3.566 GB, free: 45.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/9.485, allocations: 5.656 kB / 3.566 GB, free: 45.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.648e-05/9.486, allocations: 27.75 kB / 3.566 GB, free: 45.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.459e-05/9.486, allocations: 48.86 kB / 3.566 GB, free: 45.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/9.488, allocations: 0.9818 MB / 3.567 GB, free: 45.1 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.006413/9.494, allocations: 5.611 MB / 3.572 GB, free: 41.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/9.496, allocations: 0.7251 MB / 3.573 GB, free: 41.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/9.496, allocations: 243.6 kB / 3.573 GB, free: 41.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03363/9.53, allocations: 18.87 MB / 3.592 GB, free: 29.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.42e-05/9.53, allocations: 37.38 kB / 3.592 GB, free: 29.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 3.667e-06/9.53, allocations: 0.7969 kB / 3.592 GB, free: 29.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.005422/9.535, allocations: 2.021 MB / 3.594 GB, free: 29.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/9.535, allocations: 165.8 kB / 3.594 GB, free: 28.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006748/9.536, allocations: 0.5227 MB / 3.594 GB, free: 28.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/9.536, allocations: 37.81 kB / 3.594 GB, free: 28.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/9.536, allocations: 392.4 kB / 3.595 GB, free: 28.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/9.536, allocations: 180.2 kB / 3.595 GB, free: 28.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/9.536, allocations: 14.47 kB / 3.595 GB, free: 28.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/9.537, allocations: 380.1 kB / 3.595 GB, free: 28.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/9.537, allocations: 243.3 kB / 3.596 GB, free: 28.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005442/9.537, allocations: 0.5876 MB / 3.596 GB, free: 27.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/9.538, allocations: 339.4 kB / 3.596 GB, free: 27.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/9.538, allocations: 3.906 kB / 3.596 GB, free: 27.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001378/9.539, allocations: 0.9014 MB / 3.597 GB, free: 27.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/9.539, allocations: 7.875 kB / 3.597 GB, free: 27.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/9.539, allocations: 15.55 kB / 3.597 GB, free: 27.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/9.54, allocations: 68.62 kB / 3.597 GB, free: 27.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/9.541, allocations: 315.1 kB / 3.598 GB, free: 27.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/9.542, allocations: 1.986 MB / 3.6 GB, free: 25.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007981/9.543, allocations: 88.42 kB / 3.6 GB, free: 25.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/9.543, allocations: 45.92 kB / 3.6 GB, free: 25.76 MB / 490.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.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.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 () * 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.000202/9.544, allocations: 168.7 kB / 3.6 GB, free: 25.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/9.544, allocations: 69.66 kB / 3.6 GB, free: 25.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/9.546, allocations: 2.565 MB / 3.603 GB, free: 25.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-05/9.546, allocations: 35.19 kB / 3.603 GB, free: 25.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/9.546, allocations: 0 / 3.603 GB, free: 25.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/9.546, allocations: 3.703 kB / 3.603 GB, free: 25.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003603/9.55, allocations: 3.752 MB / 3.606 GB, free: 24.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/9.55, allocations: 4.688 kB / 3.606 GB, free: 24.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/9.551, allocations: 236.5 kB / 3.606 GB, free: 24.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003193/9.551, allocations: 83.7 kB / 3.607 GB, free: 24.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/9.551, allocations: 15.44 kB / 3.607 GB, free: 24.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/9.552, allocations: 2.005 MB / 3.609 GB, free: 22.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/9.552, allocations: 0 / 3.609 GB, free: 22.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/9.554, allocations: 2.23 MB / 3.611 GB, free: 22.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004429/9.555, allocations: 329.4 kB / 3.611 GB, free: 21.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.071e-05/9.555, allocations: 14.06 kB / 3.611 GB, free: 21.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/9.556, allocations: 66.39 kB / 3.611 GB, free: 21.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/9.556, allocations: 49.53 kB / 3.611 GB, free: 21.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/9.556, allocations: 18.7 kB / 3.611 GB, free: 21.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006307/9.556, allocations: 0.5369 MB / 3.612 GB, free: 21.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/9.556, allocations: 0 / 3.612 GB, free: 21.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00587/9.562, allocations: 1.135 MB / 3.613 GB, free: 21.37 MB / 490.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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.007587/9.57, allocations: 1.541 MB / 3.614 GB, free: 21.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002237/9.572, allocations: 1.025 MB / 3.615 GB, free: 20.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/9.572, allocations: 0 / 3.615 GB, free: 20.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/9.573, allocations: 0.7615 MB / 3.616 GB, free: 20.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/9.575, allocations: 350.7 kB / 3.616 GB, free: 20.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/9.578, allocations: 1.912 MB / 3.618 GB, free: 19.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/9.579, allocations: 1.184 MB / 3.619 GB, free: 18.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009036/9.58, allocations: 449.5 kB / 3.62 GB, free: 18.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/9.58, allocations: 64.66 kB / 3.62 GB, free: 18.82 MB / 490.7 MB Notification: Performance of SimCode: time 1.342e-06/9.58, allocations: 0 / 3.62 GB, free: 18.82 MB / 490.7 MB Notification: Performance of Templates: time 0.05612/9.636, allocations: 42.08 MB / 3.661 GB, free: 6.168 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)