Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007371/0.007371, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.001388/0.001388, allocations: 192.6 kB / 16.67 MB, free: 6.379 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.526/1.526, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.001326/0.001326, allocations: 54.14 kB / 326.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/0.09886, allocations: 46.62 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03596/0.1349, allocations: 32.58 MB / 405.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01959/0.1545, allocations: 15.73 MB / 421.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004851/0.1551, allocations: 7.938 kB / 421.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009291/0.156, allocations: 266.4 kB / 421.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.1571, allocations: 362 kB / 422.1 MB, free: 188 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01718/0.1743, allocations: 5.788 MB / 427.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.1757, allocations: 1.013 MB / 428.9 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.176, allocations: 101 kB / 429 MB, free: 9.254 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004893/0.1809, allocations: 2.2 MB / 431.2 MB, free: 7.027 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005426/0.1815, allocations: 310.8 kB / 431.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.93e-05/0.1816, allocations: 40 kB / 431.6 MB, free: 6.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/0.1926, allocations: 6.076 MB / 437.7 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.1928, allocations: 111.7 kB / 437.8 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003405/0.1932, allocations: 231.1 kB / 438 MB, free: 272 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008389/0.2016, allocations: 3.789 MB / 441.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.2017, allocations: 8 kB / 441.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2017, allocations: 0 / 441.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.2017, allocations: 0 / 441.8 MB, free: 12.46 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.002913/0.2046, allocations: 0.9866 MB / 442.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2046, allocations: 8.031 kB / 442.8 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.206, allocations: 152.3 kB / 442.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004998/0.2065, allocations: 335.5 kB / 443.3 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.2065, allocations: 21.03 kB / 443.3 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.513e-05/0.2066, allocations: 32.38 kB / 443.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.2078, allocations: 0.5189 MB / 443.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.2079, allocations: 4 kB / 443.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.2079, allocations: 12 kB / 443.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.2079, allocations: 12 kB / 443.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006054/0.2085, allocations: 329.9 kB / 444.2 MB, free: 9.945 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.002821/0.2114, allocations: 2.549 MB / 446.7 MB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.212, allocations: 274.8 kB / 447 MB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.2121, allocations: 116.8 kB / 447.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.264/0.4762, allocations: 31.02 MB / 478.1 MB, free: 57.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.4762, allocations: 34.5 kB / 478.2 MB, free: 57.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.405e-06/0.4763, allocations: 3.828 kB / 478.2 MB, free: 57.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.003321/0.4796, allocations: 1.191 MB / 479.4 MB, free: 57.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.4796, allocations: 55.28 kB / 479.4 MB, free: 57.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.4799, allocations: 264.3 kB / 479.7 MB, free: 56.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.4799, allocations: 33.64 kB / 479.7 MB, free: 56.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.48, allocations: 191.8 kB / 479.9 MB, free: 56.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.544e-05/0.4801, allocations: 113 kB / 480 MB, free: 56.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.822e-05/0.4802, allocations: 77.69 kB / 480.1 MB, free: 56.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.4803, allocations: 341.8 kB / 480.4 MB, free: 56.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.4804, allocations: 94.09 kB / 480.5 MB, free: 56.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.4806, allocations: 218.2 kB / 480.7 MB, free: 56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.481, allocations: 337.1 kB / 481 MB, free: 55.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.481, allocations: 2.078 kB / 481 MB, free: 55.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006084/0.4816, allocations: 417.5 kB / 481.5 MB, free: 55.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4816, allocations: 7.5 kB / 481.5 MB, free: 55.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4816, allocations: 3.719 kB / 481.5 MB, free: 55.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002643/0.4819, allocations: 64 kB / 481.5 MB, free: 55.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.4822, allocations: 83.28 kB / 481.6 MB, free: 55.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.4834, allocations: 2.531 MB / 484.1 MB, free: 52.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.4837, allocations: 9.938 kB / 484.2 MB, free: 52.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.4837, allocations: 17.72 kB / 484.2 MB, free: 52.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002148/0.4839, allocations: 167.8 kB / 484.3 MB, free: 52.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.558e-05/0.484, allocations: 36.81 kB / 484.4 MB, free: 52.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.4851, allocations: 0.8582 MB / 485.2 MB, free: 52.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.4851, allocations: 11.98 kB / 485.2 MB, free: 52.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.4851, allocations: 0 / 485.2 MB, free: 52.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007436/0.4859, allocations: 1.04 MB / 486.3 MB, free: 50.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.4874, allocations: 1.492 MB / 487.8 MB, free: 49.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.4874, allocations: 5.078 kB / 487.8 MB, free: 49.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.4876, allocations: 54.59 kB / 487.8 MB, free: 49.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002781/0.4879, allocations: 68.73 kB / 487.9 MB, free: 49.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.4879, allocations: 8 kB / 487.9 MB, free: 49.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002717/0.4882, allocations: 0.5952 MB / 488.5 MB, free: 48.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4882, allocations: 4.031 kB / 488.5 MB, free: 48.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008161/0.489, allocations: 0.8208 MB / 489.3 MB, free: 47.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.4892, allocations: 108.7 kB / 489.4 MB, free: 47.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.4892, allocations: 15.84 kB / 489.4 MB, free: 47.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.4895, allocations: 28.06 kB / 489.5 MB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.4896, allocations: 23.97 kB / 489.5 MB, free: 47.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.4896, allocations: 19.17 kB / 489.5 MB, free: 47.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.4898, allocations: 235.1 kB / 489.7 MB, free: 47.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4898, allocations: 0 / 489.7 MB, free: 47.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002554/0.4924, allocations: 0.8497 MB / 490.6 MB, free: 46.55 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: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004527/0.4969, allocations: 0.9804 MB / 491.6 MB, free: 45.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008546/0.4978, allocations: 488.3 kB / 492.1 MB, free: 45.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4978, allocations: 4.125 kB / 492.1 MB, free: 45.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.4981, allocations: 248.3 kB / 492.3 MB, free: 45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.4991, allocations: 178.6 kB / 492.5 MB, free: 44.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.5005, allocations: 0.9836 MB / 493.5 MB, free: 43.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.5007, allocations: 0.8172 MB / 494.3 MB, free: 43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003003/0.501, allocations: 184.4 kB / 494.5 MB, free: 42.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.5011, allocations: 39.42 kB / 494.5 MB, free: 42.79 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.5011, allocations: 0 / 494.5 MB, free: 42.79 MB / 382.1 MB Notification: Performance of Templates: time 0.03498/0.5361, allocations: 34.97 MB / 0.517 GB, free: 7.812 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)