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.001078/0.001078, allocations: 98.58 kB / 16.5 MB, free: 6.652 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.001179/0.001179, allocations: 194.4 kB / 17.42 MB, free: 6.066 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.376/1.376, allocations: 205.1 MB / 223.3 MB, free: 12.39 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.001157/0.001158, allocations: 43.94 kB / 279.3 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.09464, allocations: 46.63 MB / 326 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03175/0.1264, allocations: 33.26 MB / 359.2 MB, free: 3.488 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01958/0.1461, allocations: 16.67 MB / 375.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.1466, allocations: 4 kB / 375.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009177/0.1476, allocations: 234.8 kB / 376.1 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007337/0.1483, allocations: 342.2 kB / 376.5 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.232/0.3803, allocations: 4.676 MB / 381.1 MB, free: 12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002246/0.3826, allocations: 1.432 MB / 382.6 MB, free: 12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.3828, allocations: 83.03 kB / 382.7 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005893/0.3887, allocations: 2.132 MB / 384.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005676/0.3893, allocations: 323.4 kB / 385.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.3894, allocations: 20.09 kB / 385.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01304/0.4024, allocations: 6.001 MB / 391.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.4027, allocations: 90.27 kB / 391.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005998/0.4033, allocations: 205.6 kB / 391.4 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.415, allocations: 3.785 MB / 395.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4151, allocations: 0 / 395.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4151, allocations: 6.031 kB / 395.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.4152, allocations: 0 / 395.2 MB, free: 11.23 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.004066/0.4192, allocations: 1.013 MB / 396.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.4193, allocations: 9.344 kB / 396.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.4206, allocations: 147.5 kB / 396.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.421, allocations: 315.3 kB / 396.7 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.4211, allocations: 32.08 kB / 396.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.4211, allocations: 34.25 kB / 396.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.4225, allocations: 0.5501 MB / 397.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.4225, allocations: 0 / 397.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.4226, allocations: 15.72 kB / 397.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.4226, allocations: 10.44 kB / 397.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.424, allocations: 0.4962 MB / 397.8 MB, free: 9.875 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.003073/0.4271, allocations: 2.603 MB / 400.4 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.4286, allocations: 435.3 kB / 400.8 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004163/0.429, allocations: 169.3 kB / 401 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007487/0.4298, allocations: 0.5648 MB / 401.6 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.4298, allocations: 48.72 kB / 401.6 MB, free: 6.938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.054e-06/0.4299, allocations: 0 / 401.6 MB, free: 6.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.004667/0.4345, allocations: 1.502 MB / 403.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.4346, allocations: 65.66 kB / 403.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.4349, allocations: 250.2 kB / 403.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.4349, allocations: 32.48 kB / 403.5 MB, free: 6.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.435, allocations: 180.4 kB / 403.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.245e-05/0.4351, allocations: 115.5 kB / 403.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.4352, allocations: 84.28 kB / 403.8 MB, free: 5.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.345e-05/0.4353, allocations: 335.3 kB / 404.2 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.4357, allocations: 136.9 kB / 404.3 MB, free: 5.449 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.4361, allocations: 237 kB / 404.5 MB, free: 5.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007982/0.4369, allocations: 393.1 kB / 404.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4369, allocations: 2.344 kB / 404.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001151/0.4381, allocations: 0.5099 MB / 405.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4381, allocations: 5.906 kB / 405.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.4381, allocations: 4.562 kB / 405.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004794/0.4386, allocations: 115 kB / 405.5 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.439, allocations: 85.42 kB / 405.6 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.4405, allocations: 2.406 MB / 408 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.4408, allocations: 47 kB / 408.1 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.4409, allocations: 21.52 kB / 408.1 MB, free: 2.602 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.0002224/0.4411, allocations: 160.8 kB / 408.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.12e-05/0.4412, allocations: 29.44 kB / 408.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.4432, allocations: 1.338 MB / 409.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.4432, allocations: 13.12 kB / 409.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4433, allocations: 2.562 kB / 409.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001688/0.445, allocations: 1.429 MB / 411.1 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/0.4475, allocations: 2.098 MB / 413.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.4475, allocations: 3.281 kB / 413.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.4479, allocations: 94.12 kB / 413.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000291/0.4482, allocations: 72.02 kB / 413.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.4482, allocations: 7.688 kB / 413.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002694/0.4485, allocations: 0.5878 MB / 413.9 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4485, allocations: 5.578 kB / 413.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.4503, allocations: 1.278 MB / 415.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4505, allocations: 129.6 kB / 415.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.4505, allocations: 19.81 kB / 415.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.4508, allocations: 37.19 kB / 415.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/0.4509, allocations: 42.72 kB / 415.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.451, allocations: 15.09 kB / 415.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002349/0.4512, allocations: 233.5 kB / 415.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4512, allocations: 0 / 415.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003961/0.4552, allocations: 0.8542 MB / 416.5 MB, free: 14.44 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.003711/0.4589, allocations: 0.98 MB / 417.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.4602, allocations: 0.6494 MB / 418.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4603, allocations: 0 / 418.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006419/0.4609, allocations: 410.4 kB / 418.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.462, allocations: 187.6 kB / 418.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.4642, allocations: 1.523 MB / 420.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.4647, allocations: 0.8727 MB / 421.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004091/0.4651, allocations: 140.9 kB / 421.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.539e-05/0.4652, allocations: 43.42 kB / 421.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4652, allocations: 0 / 421.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of Templates: time 0.04657/0.5118, allocations: 35.28 MB / 456.6 MB, free: 6.527 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)