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.001735/0.001735, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001995/0.001995, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.523/1.523, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.002309/0.002309, allocations: 51.92 kB / 280 MB, free: 3.156 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1403, allocations: 46.63 MB / 326.6 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03608/0.1764, allocations: 32.56 MB / 359.2 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01866/0.1951, allocations: 15.74 MB / 374.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006135/0.1958, allocations: 4 kB / 374.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009551/0.1968, allocations: 266.4 kB / 375.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007657/0.1976, allocations: 357.9 kB / 375.6 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2385/0.4361, allocations: 5.786 MB / 381.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.438, allocations: 0.9896 MB / 382.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003403/0.4384, allocations: 107.2 kB / 382.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006504/0.4449, allocations: 2.199 MB / 384.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006855/0.4456, allocations: 309 kB / 384.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.984e-05/0.4457, allocations: 39.69 kB / 385 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01468/0.4604, allocations: 5.932 MB / 390.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003264/0.4608, allocations: 111.7 kB / 391 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006634/0.4614, allocations: 224.2 kB / 391.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01208/0.4735, allocations: 3.779 MB / 395 MB, free: 11.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4736, allocations: 0 / 395 MB, free: 11.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4736, allocations: 0 / 395 MB, free: 11.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.4736, allocations: 4 kB / 395 MB, free: 11.19 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.003491/0.4771, allocations: 1.017 MB / 396 MB, free: 10.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.4771, allocations: 10.91 kB / 396 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.4785, allocations: 152 kB / 396.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.4789, allocations: 316 kB / 396.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.479, allocations: 31.91 kB / 396.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.479, allocations: 29.88 kB / 396.6 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.4803, allocations: 0.5476 MB / 397.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.4804, allocations: 6.266 kB / 397.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.4804, allocations: 16.33 kB / 397.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.4804, allocations: 8.125 kB / 397.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.4819, allocations: 0.5022 MB / 397.6 MB, free: 10.17 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.002777/0.4847, allocations: 2.611 MB / 400.3 MB, free: 7.953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.4861, allocations: 435.9 kB / 400.7 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/0.4865, allocations: 171 kB / 400.8 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006993/0.4872, allocations: 0.5629 MB / 401.4 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.4872, allocations: 36.88 kB / 401.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.234e-06/0.4872, allocations: 0 / 401.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.004539/0.4918, allocations: 1.503 MB / 402.9 MB, free: 6.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.4918, allocations: 65.2 kB / 403 MB, free: 6.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.4921, allocations: 245.4 kB / 403.2 MB, free: 6.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.4921, allocations: 36.33 kB / 403.3 MB, free: 6.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.4922, allocations: 180.9 kB / 403.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/0.4923, allocations: 118.3 kB / 403.6 MB, free: 6.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.4924, allocations: 76.75 kB / 403.7 MB, free: 6.094 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.4925, allocations: 337.7 kB / 404 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.4928, allocations: 141.7 kB / 404.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.4933, allocations: 242.5 kB / 404.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007812/0.4941, allocations: 393 kB / 404.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4941, allocations: 0 / 404.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001216/0.4953, allocations: 0.5061 MB / 405.2 MB, free: 5.324 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4953, allocations: 6.531 kB / 405.3 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4953, allocations: 2.75 kB / 405.3 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004929/0.4958, allocations: 114 kB / 405.4 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.4962, allocations: 92.41 kB / 405.5 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.4977, allocations: 2.5 MB / 408 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.498, allocations: 35.97 kB / 408 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.498, allocations: 13.88 kB / 408 MB, free: 2.809 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.0001812/0.4982, allocations: 163.8 kB / 408.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.4983, allocations: 30.59 kB / 408.2 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.5001, allocations: 1.334 MB / 409.5 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.5001, allocations: 21.56 kB / 409.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.5001, allocations: 0 / 409.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001553/0.5017, allocations: 1.421 MB / 411 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.504, allocations: 2.107 MB / 413.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.504, allocations: 2.562 kB / 413.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.5044, allocations: 92.89 kB / 413.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003052/0.5047, allocations: 70.2 kB / 413.2 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.5048, allocations: 14.67 kB / 413.3 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003193/0.5051, allocations: 0.5915 MB / 413.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5051, allocations: 0 / 413.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.507, allocations: 1.271 MB / 415.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.5072, allocations: 127.7 kB / 415.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.439e-05/0.5072, allocations: 26.14 kB / 415.3 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.5075, allocations: 20.77 kB / 415.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.5076, allocations: 37.48 kB / 415.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.5077, allocations: 14.98 kB / 415.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002751/0.5079, allocations: 234.6 kB / 415.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.508, allocations: 0 / 415.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.004344/0.5123, allocations: 0.8563 MB / 416.4 MB, free: 14.29 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.006414/0.5187, allocations: 0.9707 MB / 417.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002148/0.5209, allocations: 0.664 MB / 418.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5209, allocations: 1.422 kB / 418.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007741/0.5217, allocations: 423.7 kB / 418.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.5231, allocations: 203.8 kB / 418.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.5255, allocations: 1.268 MB / 419.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.526, allocations: 0.8718 MB / 420.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000429/0.5264, allocations: 155 kB / 421 MB, free: 9.816 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/0.5265, allocations: 35.44 kB / 421 MB, free: 9.781 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5266, allocations: 0 / 421 MB, free: 9.781 MB / 334.1 MB Notification: Performance of Templates: time 0.05315/0.5797, allocations: 35.81 MB / 456.8 MB, free: 6 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)