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.001336/0.001336, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001572/0.001572, allocations: 193.5 kB / 16.13 MB, free: 6.609 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.513/1.513, allocations: 205.1 MB / 222 MB, free: 4.754 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.3774/0.3774, allocations: 37.98 MB / 307.3 MB, free: 10.14 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.001346/0.001346, allocations: 64.53 kB / 374.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1374, allocations: 56.47 MB / 431 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.3343/0.4718, allocations: 40.26 MB / 471.3 MB, free: 32.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02333/0.4952, allocations: 21.26 MB / 492.5 MB, free: 19.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.4969, allocations: 28.22 kB / 492.6 MB, free: 19.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.4986, allocations: 390.2 kB / 493 MB, free: 19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01701/0.5156, allocations: 4.163 MB / 497.1 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0082/0.5238, allocations: 2.23 MB / 499.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003955/0.5278, allocations: 2.861 MB / 0.4904 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.5289, allocations: 437.8 kB / 0.4909 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/0.539, allocations: 4.049 MB / 0.4948 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01263/0.5517, allocations: 5.452 MB / 0.5001 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.5521, allocations: 37.84 kB / 0.5002 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01611/0.5682, allocations: 7.264 MB / 0.5073 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006999/0.5689, allocations: 258.1 kB / 0.5075 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009936/0.5699, allocations: 423.2 kB / 0.5079 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02094/0.5909, allocations: 5.094 MB / 0.5129 GB, free: 5.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.591, allocations: 1.75 kB / 0.5129 GB, free: 5.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.591, allocations: 0 / 0.5129 GB, free: 5.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.437e-05/0.591, allocations: 0 / 0.5129 GB, free: 5.191 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.007843/0.5989, allocations: 1.661 MB / 0.5145 GB, free: 4.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.5989, allocations: 13.16 kB / 0.5145 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002354/0.6013, allocations: 302.6 kB / 0.5148 GB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009273/0.6023, allocations: 0.5596 MB / 0.5154 GB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.6024, allocations: 109.7 kB / 0.5155 GB, free: 3.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.6025, allocations: 62.8 kB / 0.5155 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.605, allocations: 1.162 MB / 0.5167 GB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.6051, allocations: 6.781 kB / 0.5167 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.968e-05/0.6052, allocations: 34.38 kB / 0.5167 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.989e-05/0.6052, allocations: 37.36 kB / 0.5167 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.6069, allocations: 0.8468 MB / 0.5176 GB, free: 2.039 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.006757/0.6137, allocations: 5.495 MB / 0.5229 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.615, allocations: 0.593 MB / 0.5235 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.6154, allocations: 220.3 kB / 0.5237 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09025/0.7056, allocations: 46.19 MB / 0.5688 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.333e-05/0.7057, allocations: 38.56 kB / 0.5689 GB, free: 10.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.043e-06/0.7057, allocations: 0 / 0.5689 GB, free: 10.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.005542/0.7113, allocations: 1.923 MB / 0.5707 GB, free: 8.801 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/0.7114, allocations: 162.2 kB / 0.5709 GB, free: 8.605 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007716/0.7122, allocations: 0.6288 MB / 0.5715 GB, free: 7.969 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.7122, allocations: 29.7 kB / 0.5715 GB, free: 7.934 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.7125, allocations: 391.2 kB / 0.5719 GB, free: 7.543 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.7126, allocations: 177.5 kB / 0.5721 GB, free: 7.367 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.7129, allocations: 158.5 kB / 0.5722 GB, free: 7.207 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.713, allocations: 374.8 kB / 0.5726 GB, free: 6.832 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.7134, allocations: 221.9 kB / 0.5728 GB, free: 6.613 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.714, allocations: 0.5765 MB / 0.5734 GB, free: 5.875 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.715, allocations: 0.8368 MB / 0.5742 GB, free: 4.887 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.7151, allocations: 4 kB / 0.5742 GB, free: 4.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001302/0.7164, allocations: 0.8752 MB / 0.575 GB, free: 4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.7164, allocations: 8 kB / 0.575 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.7164, allocations: 16.16 kB / 0.5751 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002687/0.7167, allocations: 56.83 kB / 0.5751 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.7178, allocations: 279.6 kB / 0.5754 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.7194, allocations: 1.982 MB / 0.5773 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006765/0.7201, allocations: 60.06 kB / 0.5774 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.857e-05/0.7202, allocations: 44 kB / 0.5774 GB, free: 1.41 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.0003992/0.7206, allocations: 285.3 kB / 0.5777 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.7208, allocations: 71.16 kB / 0.5778 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.7232, allocations: 2.212 MB / 0.5799 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/0.7232, allocations: 27.95 kB / 0.5799 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.7233, allocations: 0 / 0.5799 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.7233, allocations: 0 / 0.5799 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003588/0.7269, allocations: 3.301 MB / 0.5832 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.7269, allocations: 0 / 0.5832 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009042/0.7278, allocations: 191.8 kB / 0.5834 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003347/0.7281, allocations: 80.8 kB / 0.5834 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/0.7282, allocations: 15.98 kB / 0.5834 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.7297, allocations: 1.995 MB / 0.5854 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7297, allocations: 0 / 0.5854 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.732, allocations: 1.993 MB / 0.5873 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.7325, allocations: 243.4 kB / 0.5876 GB, free: 6.711 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.7326, allocations: 23.84 kB / 0.5876 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005688/0.7332, allocations: 59.86 kB / 0.5877 GB, free: 6.629 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.7332, allocations: 32.39 kB / 0.5877 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.7333, allocations: 19.98 kB / 0.5877 GB, free: 6.578 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006468/0.734, allocations: 0.5107 MB / 0.5882 GB, free: 6.062 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.734, allocations: 0 / 0.5882 GB, free: 6.062 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005447/0.7394, allocations: 1.085 MB / 0.5893 GB, free: 4.977 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.0059/0.7453, allocations: 1.225 MB / 0.5905 GB, free: 3.746 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002172/0.7475, allocations: 0.9347 MB / 0.5914 GB, free: 2.812 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.7475, allocations: 0 / 0.5914 GB, free: 2.812 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.7488, allocations: 0.6767 MB / 0.592 GB, free: 2.141 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.7512, allocations: 373.4 kB / 0.5924 GB, free: 1.781 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.755, allocations: 2.676 MB / 0.595 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/0.7558, allocations: 1.121 MB / 0.5961 GB, free: 13.93 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001041/0.7568, allocations: 453.8 kB / 0.5965 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.757, allocations: 59.44 kB / 0.5966 GB, free: 13.42 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.757, allocations: 0 / 0.5966 GB, free: 13.42 MB / 478.1 MB Notification: Performance of Templates: time 0.2986/1.056, allocations: 45.14 MB / 0.6407 GB, free: 156.9 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)