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.001368/0.001368, allocations: 94.17 kB / 16.3 MB, free: 5.996 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.001468/0.001467, allocations: 182.6 kB / 17.2 MB, free: 5.914 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.416/1.416, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004752/0.0004752, allocations: 16 kB / 280.1 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09422/0.0947, allocations: 47.58 MB / 327.7 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03211/0.1268, allocations: 27.26 MB / 355 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01595/0.1428, allocations: 13.35 MB / 368.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005519/0.1434, allocations: 0 / 368.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009321/0.1444, allocations: 227 kB / 368.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006446/0.145, allocations: 251.3 kB / 368.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01289/0.1579, allocations: 4.535 MB / 373.3 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009563/0.1589, allocations: 0.5506 MB / 373.9 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.1591, allocations: 88.91 kB / 374 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005816/0.165, allocations: 3.282 MB / 377.2 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.1653, allocations: 191.3 kB / 377.4 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.1654, allocations: 20 kB / 377.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1991/0.3645, allocations: 5.922 MB / 383.4 MB, free: 16.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.3647, allocations: 85.22 kB / 383.5 MB, free: 16.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.3649, allocations: 107.5 kB / 383.6 MB, free: 16.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006837/0.3718, allocations: 2.571 MB / 386.1 MB, free: 16.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3718, allocations: 0 / 386.1 MB, free: 16.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3718, allocations: 1.594 kB / 386.1 MB, free: 16.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3718, allocations: 5.031 kB / 386.1 MB, free: 16.55 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.005149/0.377, allocations: 0.9457 MB / 387.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.377, allocations: 7.812 kB / 387.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.3784, allocations: 156.3 kB / 387.2 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.379, allocations: 319.1 kB / 387.6 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/0.379, allocations: 29.41 kB / 387.6 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.033e-05/0.3791, allocations: 34.66 kB / 387.6 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.3806, allocations: 0.5619 MB / 388.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.3807, allocations: 6.906 kB / 388.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.3807, allocations: 15.67 kB / 388.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.3807, allocations: 11.44 kB / 388.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.3822, allocations: 0.5367 MB / 388.8 MB, free: 15.58 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.002844/0.3851, allocations: 2.614 MB / 391.4 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.3866, allocations: 486.9 kB / 391.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007587/0.3874, allocations: 0.5731 MB / 392.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.3874, allocations: 34.94 kB / 392.5 MB, free: 13.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.904e-06/0.3874, allocations: 0 / 392.5 MB, free: 13.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.004785/0.3922, allocations: 1.602 MB / 394.1 MB, free: 12.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.3923, allocations: 67.75 kB / 394.1 MB, free: 12.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.3926, allocations: 237.6 kB / 394.4 MB, free: 12.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.3926, allocations: 33.58 kB / 394.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3927, allocations: 182.8 kB / 394.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.652e-05/0.3928, allocations: 115.3 kB / 394.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.3928, allocations: 9.094 kB / 394.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.3929, allocations: 340.7 kB / 395 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.3933, allocations: 146.5 kB / 395.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.3937, allocations: 253.8 kB / 395.4 MB, free: 11.78 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.3941, allocations: 168.6 kB / 395.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3941, allocations: 1.438 kB / 395.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001154/0.3953, allocations: 0.5318 MB / 396.1 MB, free: 11.69 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3953, allocations: 11.45 kB / 396.1 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3953, allocations: 4.125 kB / 396.1 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004852/0.3958, allocations: 120.4 kB / 396.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.3962, allocations: 93.83 kB / 396.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.3977, allocations: 2.418 MB / 398.7 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/0.3981, allocations: 55.39 kB / 398.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.3981, allocations: 20.66 kB / 398.8 MB, free: 9.359 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 (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 initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001848/0.3983, allocations: 167.3 kB / 399 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.3984, allocations: 30.84 kB / 399 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.4002, allocations: 1.368 MB / 400.4 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/0.4003, allocations: 24.62 kB / 400.4 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.4003, allocations: 0 / 400.4 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001518/0.4018, allocations: 1.458 MB / 401.9 MB, free: 8.531 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.4042, allocations: 2.141 MB / 404 MB, free: 8.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4042, allocations: 0 / 404 MB, free: 8.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.4046, allocations: 105.8 kB / 404.1 MB, free: 8.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003355/0.4049, allocations: 81.16 kB / 404.2 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.405, allocations: 9.766 kB / 404.2 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002718/0.4052, allocations: 0.5896 MB / 404.8 MB, free: 7.539 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4053, allocations: 0 / 404.8 MB, free: 7.539 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.4069, allocations: 1.31 MB / 406.1 MB, free: 7.328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.407, allocations: 172.4 kB / 406.3 MB, free: 7.184 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.407, allocations: 11.02 kB / 406.3 MB, free: 7.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.4074, allocations: 45.25 kB / 406.3 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/0.4075, allocations: 33.78 kB / 406.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.4075, allocations: 13.95 kB / 406.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.4077, allocations: 231.8 kB / 406.6 MB, free: 7.098 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4077, allocations: 0 / 406.6 MB, free: 7.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.004465/0.4122, allocations: 0.8561 MB / 407.4 MB, free: 7.016 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.005568/0.4177, allocations: 0.9727 MB / 408.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.4191, allocations: 0.67 MB / 409.1 MB, free: 6.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4191, allocations: 0 / 409.1 MB, free: 6.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005533/0.4196, allocations: 426.6 kB / 409.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.4207, allocations: 185 kB / 409.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.4225, allocations: 1.553 MB / 411.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.4228, allocations: 0.8843 MB / 412.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003459/0.4231, allocations: 157 kB / 412.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.985e-05/0.4232, allocations: 32.91 kB / 412.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4232, allocations: 0 / 412.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of Templates: time 0.05216/0.4754, allocations: 35.59 MB / 447.9 MB, free: 3.367 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: