Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 105.2 kB / 17.06 MB, free: 6.027 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.001299/0.001299, allocations: 196 kB / 18 MB, free: 5.105 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.375/1.375, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 51.92 kB / 327.9 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1104, allocations: 46.61 MB / 374.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.2873/0.3978, allocations: 32.57 MB / 407.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02181/0.4196, allocations: 15.73 MB / 422.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004648/0.4202, allocations: 5.406 kB / 422.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.4212, allocations: 278.4 kB / 423.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009299/0.4221, allocations: 350.7 kB / 423.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02008/0.4422, allocations: 5.789 MB / 429.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001619/0.4438, allocations: 0.9898 MB / 430.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.4441, allocations: 112 kB / 430.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005257/0.4494, allocations: 2.212 MB / 432.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004224/0.4498, allocations: 306.8 kB / 432.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.793e-05/0.4499, allocations: 40 kB / 432.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0126/0.4625, allocations: 6.068 MB / 439 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.4628, allocations: 107.7 kB / 439.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004136/0.4632, allocations: 227.2 kB / 439.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.011/0.4742, allocations: 3.781 MB / 443.1 MB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4743, allocations: 0 / 443.1 MB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4743, allocations: 0 / 443.1 MB, free: 11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.4743, allocations: 0 / 443.1 MB, free: 11 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003084/0.4774, allocations: 1.018 MB / 444.1 MB, free: 9.934 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.4774, allocations: 16.03 kB / 444.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.4788, allocations: 140.3 kB / 444.2 MB, free: 9.781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000502/0.4793, allocations: 327.6 kB / 444.6 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.4793, allocations: 29.03 kB / 444.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.4794, allocations: 36.56 kB / 444.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.4809, allocations: 0.5463 MB / 445.2 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.4809, allocations: 0 / 445.2 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.4809, allocations: 12 kB / 445.2 MB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.481, allocations: 8 kB / 445.2 MB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.4824, allocations: 0.5081 MB / 445.7 MB, free: 8.25 MB / 366.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.003102/0.4855, allocations: 2.623 MB / 448.3 MB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.4869, allocations: 438.3 kB / 448.7 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003884/0.4873, allocations: 165.3 kB / 448.9 MB, free: 4.766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007766/0.4881, allocations: 0.556 MB / 449.5 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.4882, allocations: 38.56 kB / 449.5 MB, free: 4.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.4882, allocations: 0 / 449.5 MB, free: 4.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.004722/0.4929, allocations: 1.501 MB / 451 MB, free: 2.492 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.493, allocations: 59.34 kB / 451.1 MB, free: 2.422 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.4932, allocations: 248.9 kB / 451.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.4933, allocations: 33.69 kB / 451.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.4934, allocations: 180.2 kB / 451.5 MB, free: 1.953 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.876e-05/0.4935, allocations: 118.3 kB / 451.6 MB, free: 1.836 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.4936, allocations: 86 kB / 451.7 MB, free: 1.746 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4938, allocations: 338.8 kB / 452 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.4942, allocations: 136.8 kB / 452.2 MB, free: 1.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.4946, allocations: 239.4 kB / 452.4 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008785/0.4955, allocations: 391.8 kB / 452.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4955, allocations: 4 kB / 452.8 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001244/0.4968, allocations: 0.5055 MB / 453.3 MB, free: 52 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4968, allocations: 8 kB / 453.3 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.4968, allocations: 7.984 kB / 453.3 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00052/0.4974, allocations: 106.8 kB / 453.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.4977, allocations: 91.81 kB / 453.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.4997, allocations: 2.503 MB / 456 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.5, allocations: 23.97 kB / 456 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.5, allocations: 20 kB / 456.1 MB, free: 13.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002529/0.5003, allocations: 169.7 kB / 456.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.505e-05/0.5004, allocations: 27.75 kB / 456.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.5022, allocations: 1.318 MB / 457.6 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.5023, allocations: 19.97 kB / 457.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.5023, allocations: 0 / 457.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00177/0.504, allocations: 1.425 MB / 459 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/0.5068, allocations: 2.094 MB / 461.1 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.5069, allocations: 4 kB / 461.1 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.5072, allocations: 87.86 kB / 461.2 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000326/0.5076, allocations: 72.8 kB / 461.3 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.5076, allocations: 11.98 kB / 461.3 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004194/0.508, allocations: 0.6001 MB / 461.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5081, allocations: 0 / 461.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.51, allocations: 1.276 MB / 463.2 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.5102, allocations: 132.4 kB / 463.3 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.5102, allocations: 19.78 kB / 463.3 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.5105, allocations: 23.98 kB / 463.3 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.5106, allocations: 31.95 kB / 463.4 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.5106, allocations: 15.98 kB / 463.4 MB, free: 5.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002604/0.5109, allocations: 235 kB / 463.6 MB, free: 5.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5109, allocations: 8 kB / 463.6 MB, free: 5.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00315/0.5141, allocations: 0.8512 MB / 464.5 MB, free: 4.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.003787/0.5179, allocations: 0.9803 MB / 465.4 MB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.5194, allocations: 0.6506 MB / 466.1 MB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5194, allocations: 0 / 466.1 MB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006724/0.5201, allocations: 412.7 kB / 466.5 MB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.5214, allocations: 188.8 kB / 466.7 MB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.5234, allocations: 1.258 MB / 467.9 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.5239, allocations: 0.8765 MB / 468.8 MB, free: 4 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003605/0.5242, allocations: 148.3 kB / 469 MB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.915e-05/0.5243, allocations: 31.44 kB / 469 MB, free: 15.83 MB / 398.1 MB Notification: Performance of SimCode: time 1.462e-06/0.5244, allocations: 3.938 kB / 469 MB, free: 15.82 MB / 398.1 MB Notification: Performance of Templates: time 0.04998/0.5743, allocations: 35.99 MB / 0.4931 GB, free: 11.77 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)