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.01126/0.01126, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001888/0.001888, allocations: 197.2 kB / 16.68 MB, free: 5.969 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.477/1.477, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001301/0.001301, allocations: 58.48 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.09934, allocations: 46.62 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03368/0.1331, allocations: 32.58 MB / 405.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01787/0.151, allocations: 15.72 MB / 421.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000334/0.1514, allocations: 7.938 kB / 421.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007522/0.1522, allocations: 262.4 kB / 421.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006993/0.1529, allocations: 369.9 kB / 422.1 MB, free: 180 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01642/0.1693, allocations: 5.788 MB / 427.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001772/0.1711, allocations: 0.9933 MB / 428.9 MB, free: 9.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.1714, allocations: 105 kB / 429 MB, free: 9.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005669/0.1771, allocations: 2.189 MB / 431.2 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004075/0.1775, allocations: 310.8 kB / 431.5 MB, free: 6.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.053e-05/0.1776, allocations: 40 kB / 431.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01206/0.1896, allocations: 6.076 MB / 437.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.1899, allocations: 111.7 kB / 437.7 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.1903, allocations: 227.1 kB / 438 MB, free: 296 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009207/0.1995, allocations: 3.784 MB / 441.7 MB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1995, allocations: 4 kB / 441.7 MB, free: 12.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1995, allocations: 0 / 441.7 MB, free: 12.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1996, allocations: 0 / 441.7 MB, free: 12.49 MB / 382.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.002834/0.2024, allocations: 1.034 MB / 442.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.2025, allocations: 12.03 kB / 442.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.2037, allocations: 148.6 kB / 442.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/0.2043, allocations: 331.7 kB / 443.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/0.2044, allocations: 33.03 kB / 443.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.2045, allocations: 32.36 kB / 443.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.206, allocations: 0.5579 MB / 443.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.2061, allocations: 0 / 443.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.2061, allocations: 16 kB / 443.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.2061, allocations: 8 kB / 443.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.2076, allocations: 0.4977 MB / 444.4 MB, free: 9.707 MB / 382.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.003301/0.2109, allocations: 2.608 MB / 447 MB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.2125, allocations: 435.5 kB / 447.4 MB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004155/0.2129, allocations: 177 kB / 447.6 MB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007416/0.2136, allocations: 0.556 MB / 448.2 MB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.2137, allocations: 46.44 kB / 448.2 MB, free: 5.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.863e-06/0.2137, allocations: 4 kB / 448.2 MB, free: 5.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004833/0.2186, allocations: 1.497 MB / 449.7 MB, free: 3.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.2186, allocations: 55.41 kB / 449.8 MB, free: 3.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.2189, allocations: 252.9 kB / 450 MB, free: 3.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.2189, allocations: 29.7 kB / 450 MB, free: 3.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.219, allocations: 184.5 kB / 450.2 MB, free: 3.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.876e-05/0.2191, allocations: 130.9 kB / 450.4 MB, free: 3.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.2192, allocations: 78.08 kB / 450.4 MB, free: 3.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2194, allocations: 342.8 kB / 450.8 MB, free: 2.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.2197, allocations: 140.8 kB / 450.9 MB, free: 2.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.2202, allocations: 231.4 kB / 451.1 MB, free: 2.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008065/0.221, allocations: 390.9 kB / 451.5 MB, free: 2.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.221, allocations: 4 kB / 451.5 MB, free: 2.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001212/0.2222, allocations: 0.5075 MB / 452 MB, free: 1.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.2223, allocations: 8 kB / 452 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.2223, allocations: 15.94 kB / 452 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004822/0.2228, allocations: 98.5 kB / 452.1 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.2231, allocations: 88.05 kB / 452.2 MB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2026/0.4257, allocations: 2.502 MB / 454.7 MB, free: 73.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.4262, allocations: 25.22 kB / 454.8 MB, free: 73.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.4262, allocations: 19.5 kB / 454.8 MB, free: 73.11 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.0002203/0.4265, allocations: 165.6 kB / 454.9 MB, free: 73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.019e-05/0.4266, allocations: 31.47 kB / 455 MB, free: 73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.4288, allocations: 1.322 MB / 456.3 MB, free: 72.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.4288, allocations: 18.86 kB / 456.3 MB, free: 72.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.4288, allocations: 0.75 kB / 456.3 MB, free: 72.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001905/0.4307, allocations: 1.429 MB / 457.7 MB, free: 72.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004308/0.4351, allocations: 2.093 MB / 459.8 MB, free: 71.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.4351, allocations: 0 / 459.8 MB, free: 71.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007102/0.4358, allocations: 97.62 kB / 459.9 MB, free: 71.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005634/0.4364, allocations: 78.12 kB / 460 MB, free: 71.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.4364, allocations: 8.141 kB / 460 MB, free: 71.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004034/0.4369, allocations: 0.5925 MB / 460.6 MB, free: 70.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4369, allocations: 1.875 kB / 460.6 MB, free: 70.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/0.44, allocations: 1.281 MB / 461.9 MB, free: 70.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.4402, allocations: 132.2 kB / 462 MB, free: 69.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/0.4403, allocations: 17.5 kB / 462 MB, free: 69.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/0.4408, allocations: 24.72 kB / 462.1 MB, free: 69.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.441, allocations: 36.55 kB / 462.1 MB, free: 69.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.864e-05/0.441, allocations: 14.69 kB / 462.1 MB, free: 69.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003779/0.4414, allocations: 234.2 kB / 462.3 MB, free: 69.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4414, allocations: 0 / 462.3 MB, free: 69.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00386/0.4453, allocations: 0.8623 MB / 463.2 MB, free: 69.72 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.006121/0.4514, allocations: 0.9848 MB / 464.2 MB, free: 69.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002295/0.4538, allocations: 0.6495 MB / 464.8 MB, free: 69.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.4538, allocations: 1.891 kB / 464.8 MB, free: 69.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.4549, allocations: 420.4 kB / 465.2 MB, free: 69.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.4567, allocations: 191.7 kB / 465.4 MB, free: 69.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.4598, allocations: 1.283 MB / 466.7 MB, free: 68.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/0.4603, allocations: 0.8717 MB / 467.6 MB, free: 67.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006369/0.461, allocations: 142.4 kB / 467.7 MB, free: 67.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.4612, allocations: 38.14 kB / 467.8 MB, free: 67.72 MB / 382.1 MB Notification: Performance of SimCode: time 2.555e-06/0.4612, allocations: 0 / 467.8 MB, free: 67.72 MB / 382.1 MB Notification: Performance of Templates: time 0.05703/0.5182, allocations: 35.84 MB / 0.4918 GB, free: 36.66 MB / 382.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)