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.008718/0.008718, allocations: 174.2 kB / 15.12 MB, free: 6.039 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.925/1.925, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.001968/0.001968, allocations: 128.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.227/0.227, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.000398, allocations: 12.56 kB / 406.2 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1258, allocations: 54.87 MB / 461 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.535/6.661, allocations: 2.625 GB / 3.075 GB, free: 43.16 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/6.661, allocations: 97.78 kB / 3.075 GB, free: 43.11 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.895/8.556, allocations: 0.4897 GB / 3.565 GB, free: 45.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.253e-06/8.556, allocations: 2.625 kB / 3.565 GB, free: 45.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.331e-05/8.556, allocations: 23.95 kB / 3.565 GB, free: 45.96 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.007322/8.563, allocations: 1.766 MB / 3.567 GB, free: 45.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/8.564, allocations: 11.31 kB / 3.567 GB, free: 45.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/8.565, allocations: 234.9 kB / 3.567 GB, free: 45.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/8.567, allocations: 0.5921 MB / 3.568 GB, free: 44.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.572e-05/8.567, allocations: 104.2 kB / 3.568 GB, free: 44.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.621e-05/8.567, allocations: 63.66 kB / 3.568 GB, free: 44.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/8.569, allocations: 1.063 MB / 3.569 GB, free: 44.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/8.569, allocations: 12.81 kB / 3.569 GB, free: 44.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/8.569, allocations: 29.97 kB / 3.569 GB, free: 44.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.206e-05/8.569, allocations: 46.94 kB / 3.569 GB, free: 44.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/8.57, allocations: 0.7961 MB / 3.57 GB, free: 44.49 MB / 490.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.005296/8.576, allocations: 5.534 MB / 3.575 GB, free: 40.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/8.577, allocations: 0.5172 MB / 3.576 GB, free: 40.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09378/8.671, allocations: 53.35 MB / 3.628 GB, free: 22.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/8.671, allocations: 38.16 kB / 3.628 GB, free: 22.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 2.345e-06/8.671, allocations: 3.656 kB / 3.628 GB, free: 22.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.006434/8.677, allocations: 2.089 MB / 3.63 GB, free: 22.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/8.677, allocations: 183.4 kB / 3.63 GB, free: 22.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008059/8.678, allocations: 0.5534 MB / 3.631 GB, free: 21.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/8.678, allocations: 35.55 kB / 3.631 GB, free: 21.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/8.679, allocations: 402.9 kB / 3.631 GB, free: 21.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/8.679, allocations: 166 kB / 3.631 GB, free: 21.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/8.679, allocations: 14.97 kB / 3.631 GB, free: 21.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001865/8.679, allocations: 382 kB / 3.632 GB, free: 21.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/8.679, allocations: 234 kB / 3.632 GB, free: 21.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004923/8.68, allocations: 0.5998 MB / 3.632 GB, free: 20.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/8.68, allocations: 345.2 kB / 3.633 GB, free: 20.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/8.68, allocations: 3.906 kB / 3.633 GB, free: 20.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001357/8.682, allocations: 0.913 MB / 3.634 GB, free: 20.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/8.682, allocations: 13.17 kB / 3.634 GB, free: 20.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/8.682, allocations: 11.31 kB / 3.634 GB, free: 20.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003902/8.686, allocations: 273.2 kB / 3.634 GB, free: 20.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/8.687, allocations: 288.6 kB / 3.634 GB, free: 20.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/8.689, allocations: 2.019 MB / 3.636 GB, free: 18.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009475/8.69, allocations: 60.92 kB / 3.636 GB, free: 18.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-05/8.69, allocations: 45.61 kB / 3.636 GB, free: 18.82 MB / 0.4948 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 () * 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.0005375/8.69, allocations: 286.7 kB / 3.636 GB, free: 18.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/8.69, allocations: 74.09 kB / 3.637 GB, free: 18.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/8.693, allocations: 2.012 MB / 3.639 GB, free: 18.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/8.693, allocations: 23.89 kB / 3.639 GB, free: 18.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/8.693, allocations: 0 / 3.639 GB, free: 18.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/8.693, allocations: 11.47 kB / 3.639 GB, free: 18.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003599/8.696, allocations: 2.983 MB / 3.641 GB, free: 17.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/8.696, allocations: 0 / 3.641 GB, free: 17.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008746/8.697, allocations: 184.6 kB / 3.642 GB, free: 17.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/8.699, allocations: 307.5 kB / 3.642 GB, free: 17.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/8.699, allocations: 10.91 kB / 3.642 GB, free: 17.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/8.701, allocations: 2.079 MB / 3.644 GB, free: 16.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/8.701, allocations: 7.969 kB / 3.644 GB, free: 16.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/8.703, allocations: 1.947 MB / 3.646 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005747/8.704, allocations: 286.7 kB / 3.646 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/8.704, allocations: 14.62 kB / 3.646 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000597/8.704, allocations: 38.84 kB / 3.646 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/8.705, allocations: 28.78 kB / 3.646 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/8.705, allocations: 23.59 kB / 3.646 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009858/8.706, allocations: 0.5544 MB / 3.647 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/8.706, allocations: 0 / 3.647 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006392/8.712, allocations: 1.139 MB / 3.648 GB, free: 15.22 MB / 0.4948 GB 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.009581/8.722, allocations: 1.553 MB / 3.649 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002286/8.724, allocations: 0.9139 MB / 3.65 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/8.724, allocations: 0.8125 kB / 3.65 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/8.725, allocations: 0.6232 MB / 3.651 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/8.727, allocations: 361.4 kB / 3.651 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/8.731, allocations: 2.572 MB / 3.654 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/8.732, allocations: 1.118 MB / 3.655 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008842/8.733, allocations: 344.8 kB / 3.655 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/8.733, allocations: 64.75 kB / 3.655 GB, free: 28 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/8.733, allocations: 0 / 3.655 GB, free: 28 MB / 0.5105 GB Notification: Performance of Templates: time 0.06055/8.794, allocations: 39.13 MB / 3.693 GB, free: 5.348 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)