Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.006587/0.006587, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001245/0.001245, allocations: 189.2 kB / 16.67 MB, free: 5.93 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.443/1.443, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001161/0.001161, allocations: 56.39 kB / 326.6 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09178/0.09295, allocations: 46.62 MB / 373.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.216/0.309, allocations: 32.56 MB / 405.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01763/0.3267, allocations: 15.73 MB / 421.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005643/0.3273, allocations: 5.219 kB / 421.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.3284, allocations: 275 kB / 421.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.3295, allocations: 358 kB / 422.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0223/0.3518, allocations: 5.783 MB / 427.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001973/0.3538, allocations: 0.9895 MB / 428.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.3541, allocations: 114.5 kB / 429 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005831/0.36, allocations: 2.204 MB / 431.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006504/0.3606, allocations: 302.8 kB / 431.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.3608, allocations: 43.94 kB / 431.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01122/0.372, allocations: 6.076 MB / 437.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.3723, allocations: 107.7 kB / 437.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003479/0.3726, allocations: 223.2 kB / 438 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006776/0.3794, allocations: 3.774 MB / 441.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3794, allocations: 0 / 441.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3794, allocations: 0 / 441.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3795, allocations: 0 / 441.7 MB, free: 10.97 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.002123/0.3816, allocations: 1.018 MB / 442.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3816, allocations: 12.03 kB / 442.8 MB, free: 9.895 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.3829, allocations: 148.3 kB / 442.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.3834, allocations: 331.6 kB / 443.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.3834, allocations: 29.91 kB / 443.3 MB, free: 9.359 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.3835, allocations: 32.56 kB / 443.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.3849, allocations: 0.5502 MB / 443.8 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.3849, allocations: 0 / 443.8 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.3849, allocations: 19.94 kB / 443.9 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.385, allocations: 8 kB / 443.9 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.3864, allocations: 0.5016 MB / 444.4 MB, free: 8.211 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.002877/0.3893, allocations: 2.614 MB / 447 MB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.3908, allocations: 438.3 kB / 447.4 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/0.3912, allocations: 168.8 kB / 447.6 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007442/0.392, allocations: 0.5641 MB / 448.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.392, allocations: 34.56 kB / 448.2 MB, free: 4.035 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.532e-06/0.392, allocations: 0 / 448.2 MB, free: 4.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.004587/0.3966, allocations: 1.493 MB / 449.7 MB, free: 2.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.3967, allocations: 59.34 kB / 449.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.3969, allocations: 252.9 kB / 450 MB, free: 2.141 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.397, allocations: 33.7 kB / 450 MB, free: 2.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3971, allocations: 184.1 kB / 450.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.88e-05/0.3972, allocations: 118.3 kB / 450.3 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3973, allocations: 78.06 kB / 450.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3974, allocations: 338.8 kB / 450.7 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.3978, allocations: 144.7 kB / 450.8 MB, free: 1.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/0.3983, allocations: 239.4 kB / 451.1 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008471/0.3991, allocations: 390.9 kB / 451.5 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3991, allocations: 3.938 kB / 451.5 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001246/0.4004, allocations: 0.5012 MB / 452 MB, free: 20 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.4004, allocations: 8 kB / 452 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4004, allocations: 4 kB / 452 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004987/0.4009, allocations: 114.7 kB / 452.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.4013, allocations: 83.89 kB / 452.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.4031, allocations: 2.503 MB / 454.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.4034, allocations: 31.78 kB / 454.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.4035, allocations: 20 kB / 454.7 MB, free: 13.06 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.0001782/0.4037, allocations: 161.9 kB / 454.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/0.4037, allocations: 31.64 kB / 454.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.4056, allocations: 1.317 MB / 456.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.4057, allocations: 19.97 kB / 456.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.4057, allocations: 0 / 456.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001639/0.4073, allocations: 1.428 MB / 457.7 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.4098, allocations: 2.101 MB / 459.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.4098, allocations: 0 / 459.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.4102, allocations: 91.86 kB / 459.9 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/0.4105, allocations: 68.8 kB / 459.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.4106, allocations: 8 kB / 459.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003591/0.4109, allocations: 0.599 MB / 460.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4109, allocations: 0 / 460.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.4127, allocations: 1.276 MB / 461.8 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.85e-05/0.4128, allocations: 128.4 kB / 461.9 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.4129, allocations: 23.72 kB / 462 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.4132, allocations: 28.03 kB / 462 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.4133, allocations: 35.95 kB / 462 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.4133, allocations: 19.92 kB / 462.1 MB, free: 5.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002296/0.4135, allocations: 227.1 kB / 462.3 MB, free: 5.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4135, allocations: 3.938 kB / 462.3 MB, free: 5.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002314/0.4158, allocations: 0.859 MB / 463.1 MB, free: 4.391 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.003451/0.4193, allocations: 0.9735 MB / 464.1 MB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.4207, allocations: 0.6395 MB / 464.8 MB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4207, allocations: 4 kB / 464.8 MB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006983/0.4214, allocations: 416.9 kB / 465.2 MB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.4225, allocations: 194.7 kB / 465.4 MB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.4245, allocations: 1.258 MB / 466.6 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.425, allocations: 0.8727 MB / 467.5 MB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003352/0.4253, allocations: 140.6 kB / 467.6 MB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.736e-05/0.4254, allocations: 43.42 kB / 467.7 MB, free: 15.8 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4255, allocations: 3.938 kB / 467.7 MB, free: 15.8 MB / 398.1 MB Notification: Performance of Templates: time 0.04545/0.4709, allocations: 35.84 MB / 0.4917 GB, free: 11.89 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)