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.001999/0.001999, allocations: 177.1 kB / 7.653 MB, free: 1.426 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.637/1.637, allocations: 194.4 MB / 202.4 MB, free: 12.96 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.001663/0.001663, allocations: 104.4 kB / 247.4 MB, free: 15.97 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.1884/0.1884, allocations: 39.95 MB / 332.2 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.688e-05/1.691e-05, allocations: 0 / 393.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2993, allocations: 54.87 MB / 448.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.776/7.075, allocations: 2.626 GB / 3.064 GB, free: 145.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/7.076, allocations: 95.2 kB / 3.064 GB, free: 145.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694/8.769, allocations: 497.3 MB / 3.549 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.154e-06/8.769, allocations: 0 / 3.549 GB, free: 14.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001079/8.769, allocations: 25.86 kB / 3.549 GB, free: 14.36 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.008757/8.778, allocations: 1.761 MB / 3.551 GB, free: 12.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/8.778, allocations: 12.03 kB / 3.551 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/8.781, allocations: 314.8 kB / 3.551 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/8.783, allocations: 0.6126 MB / 3.552 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/8.783, allocations: 100.6 kB / 3.552 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/8.783, allocations: 39.95 kB / 3.552 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001575/8.785, allocations: 0.6976 MB / 3.553 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/8.787, allocations: 0.8835 MB / 3.554 GB, free: 9.773 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/8.787, allocations: 7.938 kB / 3.554 GB, free: 9.766 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/8.787, allocations: 4 kB / 3.554 GB, free: 9.762 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.922e-05/8.787, allocations: 45.28 kB / 3.554 GB, free: 9.715 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.4467/9.234, allocations: 52.85 MB / 3.605 GB, free: 31.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008737/9.235, allocations: 392.2 kB / 3.606 GB, free: 31.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/9.235, allocations: 181.1 kB / 3.606 GB, free: 31.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005831/9.241, allocations: 3.667 MB / 3.61 GB, free: 28.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/9.241, allocations: 40.03 kB / 3.61 GB, free: 28.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 2.084e-06/9.241, allocations: 0 / 3.61 GB, free: 28.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.004212/9.245, allocations: 1.438 MB / 3.611 GB, free: 28.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/9.245, allocations: 139.4 kB / 3.611 GB, free: 27.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007842/9.246, allocations: 487.4 kB / 3.612 GB, free: 27.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/9.246, allocations: 29.33 kB / 3.612 GB, free: 27.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/9.246, allocations: 429.5 kB / 3.612 GB, free: 27.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/9.246, allocations: 142.9 kB / 3.612 GB, free: 27.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/9.246, allocations: 0.9375 kB / 3.612 GB, free: 27.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/9.247, allocations: 379.5 kB / 3.613 GB, free: 27.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004305/9.247, allocations: 215.9 kB / 3.613 GB, free: 27.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/9.248, allocations: 0.5647 MB / 3.613 GB, free: 26.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007788/9.248, allocations: 325.3 kB / 3.614 GB, free: 26.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/9.248, allocations: 3.75 kB / 3.614 GB, free: 26.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001879/9.25, allocations: 0.8045 MB / 3.614 GB, free: 26.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/9.25, allocations: 13.72 kB / 3.614 GB, free: 26.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/9.25, allocations: 10.84 kB / 3.614 GB, free: 26.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002293/9.251, allocations: 62.53 kB / 3.614 GB, free: 26.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/9.252, allocations: 315 kB / 3.615 GB, free: 26.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/9.254, allocations: 1.943 MB / 3.617 GB, free: 24.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/9.255, allocations: 87.09 kB / 3.617 GB, free: 24.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-05/9.255, allocations: 47.73 kB / 3.617 GB, free: 24.81 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.regularFlow[1],volume.regularFlow[2],volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,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.000213/9.255, allocations: 146.3 kB / 3.617 GB, free: 24.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/9.255, allocations: 62.62 kB / 3.617 GB, free: 24.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/9.257, allocations: 1.867 MB / 3.619 GB, free: 24.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.033e-05/9.258, allocations: 29.3 kB / 3.619 GB, free: 24.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/9.258, allocations: 1.312 kB / 3.619 GB, free: 24.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/9.258, allocations: 3.938 kB / 3.619 GB, free: 24.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/9.261, allocations: 2.85 MB / 3.622 GB, free: 24.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/9.261, allocations: 0 / 3.622 GB, free: 24.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/9.262, allocations: 214.1 kB / 3.622 GB, free: 24.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002846/9.263, allocations: 82.08 kB / 3.622 GB, free: 24.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-05/9.263, allocations: 0 / 3.622 GB, free: 24.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/9.264, allocations: 1.976 MB / 3.624 GB, free: 22.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/9.264, allocations: 0.9844 kB / 3.624 GB, free: 22.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/9.267, allocations: 1.798 MB / 3.626 GB, free: 21.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005085/9.267, allocations: 229.1 kB / 3.626 GB, free: 21.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/9.267, allocations: 3.688 kB / 3.626 GB, free: 21.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006312/9.268, allocations: 51.95 kB / 3.626 GB, free: 21.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/9.268, allocations: 47.19 kB / 3.626 GB, free: 21.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/9.268, allocations: 16.14 kB / 3.626 GB, free: 21.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005426/9.269, allocations: 354.1 kB / 3.626 GB, free: 21.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/9.269, allocations: 0 / 3.626 GB, free: 21.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005674/9.275, allocations: 1.078 MB / 3.627 GB, free: 21.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 38 * 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.008449/9.283, allocations: 1.636 MB / 3.629 GB, free: 21.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001869/9.285, allocations: 0.8745 MB / 3.63 GB, free: 21.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/9.285, allocations: 3.906 kB / 3.63 GB, free: 21.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/9.286, allocations: 0.6339 MB / 3.63 GB, free: 21.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/9.288, allocations: 273 kB / 3.631 GB, free: 21.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/9.29, allocations: 1.573 MB / 3.632 GB, free: 21.08 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/9.291, allocations: 1.102 MB / 3.633 GB, free: 20.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009939/9.292, allocations: 0.5234 MB / 3.634 GB, free: 20.33 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/9.292, allocations: 66.06 kB / 3.634 GB, free: 20.32 MB / 490.7 MB Notification: Performance of SimCode: time 5.82e-07/9.292, allocations: 0 / 3.634 GB, free: 20.32 MB / 490.7 MB Notification: Performance of Templates: time 0.04873/9.341, allocations: 33.39 MB / 3.666 GB, free: 18.16 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)