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.001197/0.001197, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 193.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.4438/0.4438, allocations: 39.94 MB / 309.7 MB, free: 9.27 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.002131/0.002131, allocations: 70.41 kB / 377.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1477, allocations: 56.88 MB / 434.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.3123/0.46, allocations: 39.04 MB / 473.6 MB, free: 31.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02184/0.4819, allocations: 20.15 MB / 493.7 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.483, allocations: 24.31 kB / 493.7 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.4844, allocations: 443.9 kB / 494.2 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01543/0.4998, allocations: 5.104 MB / 499.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008531/0.5084, allocations: 2.557 MB / 0.4901 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004205/0.5126, allocations: 1.996 MB / 0.492 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.5138, allocations: 0.5027 MB / 0.4925 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01204/0.5258, allocations: 4.155 MB / 0.4966 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01531/0.5412, allocations: 5.418 MB / 0.5018 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004833/0.5417, allocations: 76.78 kB / 0.5019 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02033/0.5621, allocations: 7.221 MB / 0.509 GB, free: 6.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007971/0.5629, allocations: 291.4 kB / 0.5092 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.564, allocations: 458.4 kB / 0.5097 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01878/0.5828, allocations: 5.109 MB / 0.5147 GB, free: 2.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.5828, allocations: 1.094 kB / 0.5147 GB, free: 2.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5828, allocations: 0 / 0.5147 GB, free: 2.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.5829, allocations: 0 / 0.5147 GB, free: 2.434 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.006719/0.5896, allocations: 1.668 MB / 0.5163 GB, free: 1.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.5896, allocations: 9.094 kB / 0.5163 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.5919, allocations: 301.2 kB / 0.5166 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.5929, allocations: 0.5565 MB / 0.5171 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.5931, allocations: 108.9 kB / 0.5172 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.5932, allocations: 63.5 kB / 0.5173 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.5957, allocations: 1.166 MB / 0.5184 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.5958, allocations: 5.359 kB / 0.5185 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.823e-05/0.5959, allocations: 25.62 kB / 0.5185 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.52e-05/0.596, allocations: 46.23 kB / 0.5185 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.5979, allocations: 0.8427 MB / 0.5193 GB, free: 15.29 MB / 398.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.007561/0.6055, allocations: 5.51 MB / 0.5247 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.6068, allocations: 0.593 MB / 0.5253 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.6072, allocations: 224.8 kB / 0.5255 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1016/0.7088, allocations: 46.19 MB / 0.5706 GB, free: 7.406 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/0.7089, allocations: 42.56 kB / 0.5707 GB, free: 7.355 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 3.085e-06/0.7089, allocations: 0 / 0.5707 GB, free: 7.355 MB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.005568/0.7145, allocations: 1.929 MB / 0.5725 GB, free: 5.371 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.599e-05/0.7146, allocations: 162.2 kB / 0.5727 GB, free: 5.176 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008722/0.7155, allocations: 0.6287 MB / 0.5733 GB, free: 4.539 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.7155, allocations: 33.7 kB / 0.5733 GB, free: 4.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.7158, allocations: 391.2 kB / 0.5737 GB, free: 4.113 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.716, allocations: 173.6 kB / 0.5739 GB, free: 3.941 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.7162, allocations: 150.5 kB / 0.574 GB, free: 3.789 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.7164, allocations: 382.8 kB / 0.5744 GB, free: 3.406 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.7168, allocations: 221.9 kB / 0.5746 GB, free: 3.188 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/0.7174, allocations: 0.5717 MB / 0.5752 GB, free: 2.453 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.7185, allocations: 0.8407 MB / 0.576 GB, free: 1.457 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.7185, allocations: 4.875 kB / 0.576 GB, free: 1.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001462/0.72, allocations: 0.8636 MB / 0.5768 GB, free: 0.582 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.72, allocations: 16.06 kB / 0.5768 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.72, allocations: 12 kB / 0.5769 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003182/0.7204, allocations: 60.77 kB / 0.5769 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.7215, allocations: 283.6 kB / 0.5772 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.7231, allocations: 2.074 MB / 0.5792 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006019/0.7238, allocations: 35.92 kB / 0.5792 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.7238, allocations: 40 kB / 0.5793 GB, free: 13.91 MB / 462.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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004603/0.7243, allocations: 277.6 kB / 0.5796 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.7245, allocations: 67.25 kB / 0.5796 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/0.7271, allocations: 2.22 MB / 0.5818 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.7271, allocations: 27.95 kB / 0.5818 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7271, allocations: 3.938 kB / 0.5818 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.7271, allocations: 0 / 0.5818 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/0.7309, allocations: 3.284 MB / 0.585 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.7309, allocations: 4.031 kB / 0.585 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009401/0.7319, allocations: 195.7 kB / 0.5852 GB, free: 7.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000396/0.7323, allocations: 84.69 kB / 0.5853 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.7324, allocations: 16 kB / 0.5853 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.734, allocations: 2.096 MB / 0.5874 GB, free: 5.387 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.734, allocations: 0 / 0.5874 GB, free: 5.387 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.7364, allocations: 1.982 MB / 0.5893 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003901/0.7368, allocations: 239.5 kB / 0.5895 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.7369, allocations: 31.67 kB / 0.5895 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005012/0.7374, allocations: 31.97 kB / 0.5896 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.627e-05/0.7375, allocations: 28.41 kB / 0.5896 GB, free: 3.039 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.7375, allocations: 28.05 kB / 0.5896 GB, free: 3.012 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007015/0.7382, allocations: 0.5185 MB / 0.5901 GB, free: 2.492 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7383, allocations: 0 / 0.5901 GB, free: 2.492 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006066/0.7443, allocations: 1.085 MB / 0.5912 GB, free: 1.406 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007823/0.7522, allocations: 1.23 MB / 0.5924 GB, free: 180 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003208/0.7554, allocations: 1.018 MB / 0.5934 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.7554, allocations: 0 / 0.5934 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.7567, allocations: 0.6716 MB / 0.594 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/0.7591, allocations: 384.5 kB / 0.5944 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.763, allocations: 2.259 MB / 0.5966 GB, free: 11.83 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007488/0.7638, allocations: 1.121 MB / 0.5977 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009653/0.7647, allocations: 445.7 kB / 0.5981 GB, free: 10.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.7649, allocations: 63.44 kB / 0.5982 GB, free: 10.17 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.7649, allocations: 4 kB / 0.5982 GB, free: 10.17 MB / 478.1 MB Notification: Performance of Templates: time 0.298/1.063, allocations: 45.89 MB / 0.643 GB, free: 154.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (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)