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.001609/0.001609, allocations: 107.8 kB / 16.62 MB, free: 6.961 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.001484/0.001484, allocations: 186 kB / 17.54 MB, free: 6.07 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.456/1.456, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001105/0.001105, allocations: 44.41 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09733/0.09844, allocations: 46.62 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03749/0.136, allocations: 32.49 MB / 358.6 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03186/0.1679, allocations: 15.78 MB / 374.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003335/0.1683, allocations: 7.938 kB / 374.4 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.1694, allocations: 238.8 kB / 374.7 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.1705, allocations: 334.3 kB / 375 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1941/0.3646, allocations: 5.126 MB / 380.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.366, allocations: 0.9965 MB / 381.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.3662, allocations: 120.5 kB / 381.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004608/0.3708, allocations: 2.179 MB / 383.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.3713, allocations: 321.9 kB / 383.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.702e-05/0.3714, allocations: 39.34 kB / 383.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009189/0.3806, allocations: 5.994 MB / 389.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.3808, allocations: 113.4 kB / 389.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.3812, allocations: 226.8 kB / 390.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005788/0.387, allocations: 3.794 MB / 393.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.387, allocations: 0 / 393.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.387, allocations: 0 / 393.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.387, allocations: 0 / 393.9 MB, free: 12.25 MB / 318.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.00252/0.3895, allocations: 1.019 MB / 394.9 MB, free: 11.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3896, allocations: 8.25 kB / 394.9 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.3908, allocations: 150.5 kB / 395 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.3911, allocations: 308.8 kB / 395.4 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.3912, allocations: 30.12 kB / 395.4 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.3912, allocations: 32.94 kB / 395.4 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.3925, allocations: 0.5531 MB / 396 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.3926, allocations: 2.75 kB / 396 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.3926, allocations: 13.34 kB / 396 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.3926, allocations: 10.19 kB / 396 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.3939, allocations: 0.4987 MB / 396.5 MB, free: 11.26 MB / 318.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.00234/0.3963, allocations: 2.603 MB / 399.1 MB, free: 9.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.3976, allocations: 450 kB / 399.5 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.398, allocations: 166.2 kB / 399.7 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005999/0.3986, allocations: 0.5607 MB / 400.3 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.3986, allocations: 37.78 kB / 400.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.3986, allocations: 0 / 400.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.00418/0.4028, allocations: 1.504 MB / 401.8 MB, free: 7.742 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.4028, allocations: 62.03 kB / 401.9 MB, free: 7.672 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.403, allocations: 256.3 kB / 402.1 MB, free: 7.535 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.4031, allocations: 32.7 kB / 402.1 MB, free: 7.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.4031, allocations: 177.6 kB / 402.3 MB, free: 7.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.4032, allocations: 117.2 kB / 402.4 MB, free: 7.289 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-05/0.4033, allocations: 71.91 kB / 402.5 MB, free: 7.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.804e-05/0.4034, allocations: 343.1 kB / 402.8 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.4037, allocations: 137.4 kB / 403 MB, free: 6.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.4041, allocations: 242.9 kB / 403.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007083/0.4048, allocations: 395.6 kB / 403.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4049, allocations: 0 / 403.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001072/0.4059, allocations: 0.5062 MB / 404.1 MB, free: 6.488 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.406, allocations: 9.578 kB / 404.1 MB, free: 6.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.406, allocations: 3.875 kB / 404.1 MB, free: 6.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004327/0.4064, allocations: 105.5 kB / 404.2 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.4067, allocations: 90.66 kB / 404.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.408, allocations: 2.506 MB / 406.8 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.4083, allocations: 46.25 kB / 406.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.4084, allocations: 17.5 kB / 406.9 MB, free: 3.973 MB / 318.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.0001468/0.4085, allocations: 166.2 kB / 407 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/0.4086, allocations: 36.56 kB / 407.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.4102, allocations: 1.329 MB / 408.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.4102, allocations: 26.78 kB / 408.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.4102, allocations: 0 / 408.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001248/0.4114, allocations: 1.416 MB / 409.8 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.4134, allocations: 2.106 MB / 411.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.4134, allocations: 4.453 kB / 411.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.4138, allocations: 89.56 kB / 412 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002823/0.4141, allocations: 71.86 kB / 412.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.4141, allocations: 15.02 kB / 412.1 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002217/0.4143, allocations: 0.5873 MB / 412.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4143, allocations: 4.094 kB / 412.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.4158, allocations: 1.272 MB / 414 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.713e-05/0.4159, allocations: 135.5 kB / 414.1 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.416, allocations: 18.41 kB / 414.1 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.4163, allocations: 40.44 kB / 414.2 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/0.4164, allocations: 36.45 kB / 414.2 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.4164, allocations: 13.52 kB / 414.2 MB, free: 216 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.4166, allocations: 230.2 kB / 414.4 MB, free: 60 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4166, allocations: 0 / 414.4 MB, free: 60 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.003864/0.4205, allocations: 0.8592 MB / 415.3 MB, free: 15.92 MB / 334.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.004303/0.4248, allocations: 0.9773 MB / 416.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.4263, allocations: 0.6607 MB / 416.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4263, allocations: 0 / 416.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006233/0.4269, allocations: 427.6 kB / 417.4 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.428, allocations: 192.1 kB / 417.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.4299, allocations: 1.506 MB / 419.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.4303, allocations: 0.8804 MB / 419.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003395/0.4306, allocations: 147 kB / 420.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.249e-05/0.4307, allocations: 43.42 kB / 420.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4307, allocations: 0 / 420.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of Templates: time 0.04574/0.4765, allocations: 35.7 MB / 455.8 MB, free: 7.594 MB / 366.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)