Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001811/0.001812, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001956/0.001956, allocations: 196.2 kB / 16.14 MB, free: 6.672 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.518/1.518, allocations: 205.1 MB / 222 MB, free: 4.715 MB / 174.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.001357/0.001357, allocations: 55.92 kB / 278.1 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3062, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.06254/0.3688, allocations: 33.25 MB / 357.9 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.03054/0.3994, allocations: 16.67 MB / 374.6 MB, free: 2.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004742/0.4, allocations: 4 kB / 374.6 MB, free: 2.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009703/0.401, allocations: 238.8 kB / 374.9 MB, free: 1.848 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009488/0.4019, allocations: 354.2 kB / 375.2 MB, free: 1.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01604/0.418, allocations: 4.677 MB / 379.9 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001546/0.4195, allocations: 1.438 MB / 381.3 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.4198, allocations: 81.02 kB / 381.4 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006173/0.4259, allocations: 2.13 MB / 383.5 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005141/0.4265, allocations: 314.8 kB / 383.8 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.645e-05/0.4266, allocations: 20 kB / 383.8 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01137/0.4379, allocations: 5.998 MB / 389.8 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.4382, allocations: 95.64 kB / 389.9 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003749/0.4386, allocations: 199.2 kB / 390.1 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009677/0.4483, allocations: 3.781 MB / 393.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.4483, allocations: 0 / 393.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4483, allocations: 4 kB / 393.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.4484, allocations: 3.938 kB / 393.9 MB, free: 14.71 MB / 334.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.002926/0.4513, allocations: 1.018 MB / 394.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.4514, allocations: 12.03 kB / 395 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.4528, allocations: 148.4 kB / 395.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.4532, allocations: 311.6 kB / 395.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/0.4533, allocations: 33.03 kB / 395.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.629e-05/0.4534, allocations: 32.36 kB / 395.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.4549, allocations: 0.5502 MB / 396 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.4549, allocations: 11.94 kB / 396 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.455, allocations: 16 kB / 396 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.455, allocations: 8 kB / 396.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.4565, allocations: 0.4938 MB / 396.5 MB, free: 11.96 MB / 334.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.003402/0.4599, allocations: 2.6 MB / 399.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.4621, allocations: 434.3 kB / 399.6 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/0.4626, allocations: 176.7 kB / 399.7 MB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007603/0.4633, allocations: 0.5524 MB / 400.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.4634, allocations: 43 kB / 400.3 MB, free: 7.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.4634, allocations: 0 / 400.3 MB, free: 7.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.004873/0.4683, allocations: 1.507 MB / 401.8 MB, free: 6.207 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.4683, allocations: 59.41 kB / 401.9 MB, free: 6.137 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.4686, allocations: 248.9 kB / 402.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.4686, allocations: 29.7 kB / 402.2 MB, free: 5.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.4688, allocations: 188.2 kB / 402.4 MB, free: 5.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.177e-05/0.4689, allocations: 118.3 kB / 402.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.469, allocations: 82.12 kB / 402.6 MB, free: 5.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4691, allocations: 338.8 kB / 402.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.4696, allocations: 136.8 kB / 403 MB, free: 4.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/0.4701, allocations: 239.4 kB / 403.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008752/0.4709, allocations: 394.8 kB / 403.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.471, allocations: 0 / 403.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00131/0.4723, allocations: 0.5073 MB / 404.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4723, allocations: 8 kB / 404.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4723, allocations: 7.938 kB / 404.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005322/0.4729, allocations: 102.7 kB / 404.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.4732, allocations: 87.89 kB / 404.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.4753, allocations: 2.416 MB / 406.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.4757, allocations: 44.22 kB / 406.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.4757, allocations: 19.98 kB / 406.8 MB, free: 0.8906 MB / 334.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.0002152/0.4759, allocations: 162.5 kB / 407 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.497e-05/0.476, allocations: 35.56 kB / 407 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.4779, allocations: 1.328 MB / 408.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.4779, allocations: 19.98 kB / 408.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.478, allocations: 0 / 408.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001593/0.4796, allocations: 1.429 MB / 409.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/0.4822, allocations: 2.096 MB / 411.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.423e-06/0.4822, allocations: 3.938 kB / 411.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.4826, allocations: 91.91 kB / 412 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000326/0.483, allocations: 68.8 kB / 412 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.483, allocations: 12 kB / 412.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003842/0.4834, allocations: 0.5874 MB / 412.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4834, allocations: 4.062 kB / 412.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.4852, allocations: 1.282 MB / 413.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.4854, allocations: 132.2 kB / 414.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.4854, allocations: 11.91 kB / 414.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.4858, allocations: 39.84 kB / 414.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.363e-05/0.4859, allocations: 31.95 kB / 414.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.4859, allocations: 20.05 kB / 414.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000252/0.4862, allocations: 235 kB / 414.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4862, allocations: 3.938 kB / 414.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002696/0.4889, allocations: 0.8551 MB / 415.3 MB, free: 8.195 MB / 350.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.004223/0.4931, allocations: 0.9799 MB / 416.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.4946, allocations: 0.6464 MB / 416.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4946, allocations: 0 / 416.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006669/0.4952, allocations: 412.7 kB / 417.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.4964, allocations: 184.9 kB / 417.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.4987, allocations: 1.516 MB / 419 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.4991, allocations: 0.8727 MB / 419.9 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003718/0.4995, allocations: 139 kB / 420 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.087e-05/0.4996, allocations: 39.42 kB / 420 MB, free: 3.355 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.4996, allocations: 4 kB / 420 MB, free: 3.352 MB / 350.1 MB Notification: Performance of Templates: time 0.05027/0.5499, allocations: 35.29 MB / 455.3 MB, free: 4 kB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)