Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_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.1_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.001539/0.001539, allocations: 108 kB / 15.61 MB, free: 152 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.001577/0.001577, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.696/1.696, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3322/0.3322, allocations: 37.98 MB / 307.7 MB, free: 9.977 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.1. 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.001636/0.001636, allocations: 68.78 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1403, allocations: 56.46 MB / 431.7 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.3298/0.4701, allocations: 39.05 MB / 470.8 MB, free: 33.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02214/0.4924, allocations: 20.15 MB / 490.9 MB, free: 20.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008915/0.4933, allocations: 24.59 kB / 490.9 MB, free: 20.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.4946, allocations: 446 kB / 491.4 MB, free: 20.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01637/0.511, allocations: 5.099 MB / 496.5 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007862/0.5189, allocations: 2.558 MB / 499 MB, free: 16.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002711/0.5216, allocations: 1.997 MB / 0.4893 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008825/0.5225, allocations: 0.495 MB / 0.4898 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01487/0.5374, allocations: 4.16 MB / 0.4938 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02168/0.5591, allocations: 5.422 MB / 0.4991 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007488/0.5599, allocations: 72.88 kB / 0.4992 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03243/0.5924, allocations: 7.22 MB / 0.5062 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.5935, allocations: 286 kB / 0.5065 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.5953, allocations: 459.3 kB / 0.507 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02679/0.6221, allocations: 5.112 MB / 0.512 GB, free: 5.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.6222, allocations: 1.375 kB / 0.512 GB, free: 5.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.596e-06/0.6223, allocations: 3.938 kB / 0.512 GB, free: 5.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.032e-05/0.6224, allocations: 0 / 0.512 GB, free: 5.652 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.01067/0.633, allocations: 1.661 MB / 0.5136 GB, free: 4.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.603e-05/0.6331, allocations: 10.22 kB / 0.5136 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004775/0.6379, allocations: 293.4 kB / 0.5139 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.6397, allocations: 0.5638 MB / 0.5144 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/0.6399, allocations: 105.3 kB / 0.5145 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.6401, allocations: 58.98 kB / 0.5146 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004414/0.6446, allocations: 1.17 MB / 0.5157 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.819e-05/0.6446, allocations: 6.094 kB / 0.5157 GB, free: 2.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.6448, allocations: 25.56 kB / 0.5157 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.6449, allocations: 41.98 kB / 0.5158 GB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003248/0.6482, allocations: 0.8476 MB / 0.5166 GB, free: 2.512 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.01072/0.6589, allocations: 5.522 MB / 0.522 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.6614, allocations: 0.5808 MB / 0.5226 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000658/0.6621, allocations: 224.8 kB / 0.5228 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1139/0.776, allocations: 46.19 MB / 0.5679 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.571e-05/0.7762, allocations: 42.56 kB / 0.5679 GB, free: 11.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 3.206e-06/0.7762, allocations: 0 / 0.5679 GB, free: 11.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.006689/0.7829, allocations: 1.926 MB / 0.5698 GB, free: 9.684 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.783, allocations: 166.2 kB / 0.57 GB, free: 9.484 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009424/0.784, allocations: 0.621 MB / 0.5706 GB, free: 8.855 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/0.784, allocations: 33.7 kB / 0.5706 GB, free: 8.816 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.7844, allocations: 395.2 kB / 0.571 GB, free: 8.422 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.7845, allocations: 173.6 kB / 0.5712 GB, free: 8.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.7848, allocations: 158.5 kB / 0.5713 GB, free: 8.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.785, allocations: 374.8 kB / 0.5717 GB, free: 7.715 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/0.7854, allocations: 224.8 kB / 0.5719 GB, free: 7.496 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.7861, allocations: 0.5756 MB / 0.5724 GB, free: 6.754 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.7873, allocations: 0.8329 MB / 0.5733 GB, free: 5.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.7873, allocations: 4 kB / 0.5733 GB, free: 5.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001616/0.7889, allocations: 0.8713 MB / 0.5741 GB, free: 4.887 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.789, allocations: 12.25 kB / 0.5741 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.789, allocations: 12 kB / 0.5741 GB, free: 4.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002969/0.7893, allocations: 60.83 kB / 0.5742 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.7905, allocations: 279.6 kB / 0.5745 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/0.7923, allocations: 2.074 MB / 0.5765 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006595/0.7929, allocations: 31.94 kB / 0.5765 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.012e-05/0.793, allocations: 43.98 kB / 0.5766 GB, free: 2.219 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 (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.0004398/0.7935, allocations: 277.6 kB / 0.5768 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.7937, allocations: 75.09 kB / 0.5769 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.7963, allocations: 2.221 MB / 0.5791 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-05/0.7963, allocations: 27.95 kB / 0.5791 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.7963, allocations: 7.938 kB / 0.5791 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.7963, allocations: 3.984 kB / 0.5791 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00403/0.8004, allocations: 3.277 MB / 0.5823 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.8004, allocations: 0 / 0.5823 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009016/0.8013, allocations: 195.8 kB / 0.5825 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003558/0.8017, allocations: 84.69 kB / 0.5826 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/0.8017, allocations: 24.61 kB / 0.5826 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.8034, allocations: 2.082 MB / 0.5846 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.8034, allocations: 3.938 kB / 0.5846 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.806, allocations: 1.982 MB / 0.5866 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/0.8065, allocations: 247.5 kB / 0.5868 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.8067, allocations: 23.78 kB / 0.5868 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000603/0.8073, allocations: 31.97 kB / 0.5869 GB, free: 7.367 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.319e-05/0.8074, allocations: 36.33 kB / 0.5869 GB, free: 7.332 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.987e-05/0.8075, allocations: 23.98 kB / 0.5869 GB, free: 7.309 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007485/0.8082, allocations: 0.5147 MB / 0.5874 GB, free: 6.789 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.91e-07/0.8082, allocations: 0 / 0.5874 GB, free: 6.789 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0055/0.8137, allocations: 1.085 MB / 0.5885 GB, free: 5.703 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.01131/0.8251, allocations: 1.225 MB / 0.5897 GB, free: 4.477 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003153/0.8283, allocations: 1.022 MB / 0.5907 GB, free: 3.457 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/0.8283, allocations: 3.938 kB / 0.5907 GB, free: 3.453 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.8297, allocations: 0.6678 MB / 0.5913 GB, free: 2.789 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/0.8324, allocations: 397.5 kB / 0.5917 GB, free: 2.406 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.8364, allocations: 2.25 MB / 0.5939 GB, free: 128 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008108/0.8373, allocations: 1.113 MB / 0.595 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001069/0.8384, allocations: 445.7 kB / 0.5954 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.8386, allocations: 67.36 kB / 0.5955 GB, free: 14.48 MB / 478.1 MB Notification: Performance of SimCode: time 8.51e-07/0.8386, allocations: 4 kB / 0.5955 GB, free: 14.47 MB / 478.1 MB Notification: Performance of Templates: time 0.3339/1.172, allocations: 45.89 MB / 0.6403 GB, free: 157.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)