Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3292/0.3292, allocations: 39.99 MB / 310.4 MB, free: 10.02 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005729/0.0005731, allocations: 12 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1276, allocations: 57.97 MB / 436.8 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.2602/0.3878, allocations: 33.12 MB / 469.9 MB, free: 34.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01872/0.4066, allocations: 17.19 MB / 487.1 MB, free: 23.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.4078, allocations: 24.84 kB / 487.1 MB, free: 23.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.409, allocations: 390.2 kB / 487.5 MB, free: 23.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.4206, allocations: 3.999 MB / 491.5 MB, free: 21.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006108/0.4267, allocations: 2.104 MB / 493.6 MB, free: 20.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001998/0.4288, allocations: 1.161 MB / 494.8 MB, free: 19.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007187/0.4295, allocations: 432.8 kB / 495.2 MB, free: 19.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01058/0.4401, allocations: 6.293 MB / 0.4897 GB, free: 18.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01575/0.4559, allocations: 8.767 MB / 0.4983 GB, free: 17.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002943/0.4562, allocations: 40.34 kB / 0.4983 GB, free: 17.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01649/0.4727, allocations: 7.18 MB / 0.5053 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005636/0.4733, allocations: 225.7 kB / 0.5056 GB, free: 16.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004684/0.4738, allocations: 190 kB / 0.5057 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008263/0.4821, allocations: 3.468 MB / 0.5091 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4821, allocations: 0 / 0.5091 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4821, allocations: 0 / 0.5091 GB, free: 14.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.4821, allocations: 0 / 0.5091 GB, free: 14.34 MB / 382.1 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.004611/0.4868, allocations: 1.5 MB / 0.5106 GB, free: 12.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4868, allocations: 8.031 kB / 0.5106 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.4889, allocations: 322.7 kB / 0.5109 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008199/0.4897, allocations: 0.5356 MB / 0.5114 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.4898, allocations: 116.6 kB / 0.5115 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.944e-05/0.4899, allocations: 60 kB / 0.5116 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.4919, allocations: 1.161 MB / 0.5127 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.492, allocations: 3.938 kB / 0.5127 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.212e-05/0.492, allocations: 39.94 kB / 0.5128 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.508e-05/0.4921, allocations: 45.3 kB / 0.5128 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.4935, allocations: 0.8362 MB / 0.5136 GB, free: 9.52 MB / 382.1 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.004818/0.4983, allocations: 5.518 MB / 0.519 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.4994, allocations: 0.5825 MB / 0.5196 GB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0976/0.597, allocations: 46.62 MB / 0.5651 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.168e-05/0.5971, allocations: 38.56 kB / 0.5651 GB, free: 15.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.204e-06/0.5971, allocations: 4 kB / 0.5652 GB, free: 15.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.006812/0.6039, allocations: 1.938 MB / 0.567 GB, free: 13.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.6041, allocations: 166.2 kB / 0.5672 GB, free: 12.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.6051, allocations: 0.6132 MB / 0.5678 GB, free: 12.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.709e-05/0.6052, allocations: 33.7 kB / 0.5678 GB, free: 12.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/0.6056, allocations: 387.3 kB / 0.5682 GB, free: 11.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.6057, allocations: 173.6 kB / 0.5684 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/0.6058, allocations: 12 kB / 0.5684 GB, free: 11.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.606, allocations: 386.7 kB / 0.5688 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.6064, allocations: 221.9 kB / 0.569 GB, free: 11.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.6071, allocations: 0.564 MB / 0.5695 GB, free: 10.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005715/0.6077, allocations: 328.5 kB / 0.5698 GB, free: 9.984 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.6077, allocations: 4 kB / 0.5698 GB, free: 9.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00159/0.6093, allocations: 0.8632 MB / 0.5707 GB, free: 9.105 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.6093, allocations: 12 kB / 0.5707 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.6094, allocations: 12 kB / 0.5707 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/0.6097, allocations: 64.81 kB / 0.5708 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.6108, allocations: 284.1 kB / 0.571 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.6124, allocations: 1.995 MB / 0.573 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006796/0.6131, allocations: 60.19 kB / 0.573 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.042e-05/0.6132, allocations: 40 kB / 0.5731 GB, free: 6.492 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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.000428/0.6136, allocations: 265.5 kB / 0.5733 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.6138, allocations: 75.16 kB / 0.5734 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/0.6165, allocations: 2.232 MB / 0.5756 GB, free: 3.906 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.373e-05/0.6166, allocations: 31.95 kB / 0.5756 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6166, allocations: 0 / 0.5756 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.6166, allocations: 3.984 kB / 0.5756 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004436/0.6211, allocations: 3.285 MB / 0.5788 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.6211, allocations: 0 / 0.5788 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009409/0.622, allocations: 191.8 kB / 0.579 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.6225, allocations: 88.67 kB / 0.5791 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.092e-05/0.6225, allocations: 12 kB / 0.5791 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.6241, allocations: 2.009 MB / 0.5811 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.6241, allocations: 0 / 0.5811 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.6266, allocations: 1.995 MB / 0.583 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005932/0.6272, allocations: 283.2 kB / 0.5833 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.6273, allocations: 16.16 kB / 0.5833 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/0.628, allocations: 63.8 kB / 0.5834 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.6282, allocations: 36.34 kB / 0.5834 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.405e-05/0.6282, allocations: 27.97 kB / 0.5834 GB, free: 11.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007544/0.629, allocations: 0.5068 MB / 0.5839 GB, free: 11.08 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.629, allocations: 0 / 0.5839 GB, free: 11.08 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00526/0.6343, allocations: 1.082 MB / 0.585 GB, free: 10 MB / 462.1 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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * 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.007477/0.6418, allocations: 1.208 MB / 0.5861 GB, free: 8.797 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.644, allocations: 0.9307 MB / 0.5871 GB, free: 7.871 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.644, allocations: 0 / 0.5871 GB, free: 7.871 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.6453, allocations: 0.6844 MB / 0.5877 GB, free: 7.188 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.6473, allocations: 354.8 kB / 0.5881 GB, free: 6.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/0.6512, allocations: 2.712 MB / 0.5907 GB, free: 4.102 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/0.652, allocations: 1.133 MB / 0.5918 GB, free: 2.945 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001021/0.6531, allocations: 445.8 kB / 0.5922 GB, free: 2.504 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.6532, allocations: 63.44 kB / 0.5923 GB, free: 2.441 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6532, allocations: 4 kB / 0.5923 GB, free: 2.438 MB / 462.1 MB Notification: Performance of Templates: time 0.2866/0.9399, allocations: 45.21 MB / 0.6365 GB, free: 150.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) Environment - environmentSimulation: