Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.006694/0.006694, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001465/0.001465, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.452/1.452, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.001133/0.001133, allocations: 46.16 kB / 326.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09508/0.09622, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03217/0.1284, allocations: 32.57 MB / 405.8 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01719/0.1457, allocations: 15.73 MB / 421.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002941/0.146, allocations: 4 kB / 421.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007872/0.1468, allocations: 274.3 kB / 421.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006788/0.1475, allocations: 362 kB / 422.1 MB, free: 200 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01627/0.1638, allocations: 5.795 MB / 427.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.1653, allocations: 1.013 MB / 429 MB, free: 9.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003065/0.1656, allocations: 101 kB / 429.1 MB, free: 9.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005941/0.1716, allocations: 2.2 MB / 431.3 MB, free: 7.031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007462/0.1724, allocations: 310.8 kB / 431.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.1725, allocations: 40 kB / 431.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01273/0.1853, allocations: 6.076 MB / 437.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.1855, allocations: 111.7 kB / 437.8 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003958/0.186, allocations: 227.2 kB / 438 MB, free: 280 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009728/0.1957, allocations: 3.797 MB / 441.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1957, allocations: 4 kB / 441.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1957, allocations: 0 / 441.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.1958, 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.002439/0.1982, allocations: 0.9866 MB / 442.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.1983, allocations: 12.03 kB / 442.8 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.1997, allocations: 152.3 kB / 442.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/0.2003, allocations: 331.5 kB / 443.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.2003, allocations: 21.03 kB / 443.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.2004, allocations: 36.38 kB / 443.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.2017, allocations: 0.5151 MB / 443.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.2017, allocations: 3.938 kB / 443.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.116e-05/0.2018, allocations: 12 kB / 443.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.2018, allocations: 12 kB / 443.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.2025, allocations: 325.9 kB / 444.2 MB, free: 9.953 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.002999/0.2055, allocations: 2.549 MB / 446.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/0.2061, allocations: 274.8 kB / 447 MB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.2063, allocations: 112.8 kB / 447.1 MB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.309/0.5153, allocations: 31.02 MB / 478.1 MB, free: 57.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.5154, allocations: 34.12 kB / 478.2 MB, free: 57.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.274e-06/0.5154, allocations: 7.828 kB / 478.2 MB, free: 57.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.003199/0.5186, allocations: 1.191 MB / 479.4 MB, free: 57.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.5187, allocations: 57.12 kB / 479.4 MB, free: 57.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.5189, allocations: 262.6 kB / 479.7 MB, free: 56.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.5189, allocations: 33.67 kB / 479.7 MB, free: 56.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.519, allocations: 193.2 kB / 479.9 MB, free: 56.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.5191, allocations: 113.2 kB / 480 MB, free: 56.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.582e-05/0.5192, allocations: 73.33 kB / 480.1 MB, free: 56.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.5193, allocations: 341.7 kB / 480.4 MB, free: 56.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.5194, allocations: 95.81 kB / 480.5 MB, free: 56.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.5196, allocations: 214.8 kB / 480.7 MB, free: 55.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.5199, allocations: 334.1 kB / 481 MB, free: 55.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5199, allocations: 1.969 kB / 481 MB, free: 55.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005689/0.5205, allocations: 416.5 kB / 481.5 MB, free: 55.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.5205, allocations: 7 kB / 481.5 MB, free: 55.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.5205, allocations: 6.062 kB / 481.5 MB, free: 55.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/0.5208, allocations: 64.47 kB / 481.5 MB, free: 55.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.5211, allocations: 87.14 kB / 481.6 MB, free: 55.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.5222, allocations: 2.533 MB / 484.1 MB, free: 52.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.5224, allocations: 11.88 kB / 484.2 MB, free: 52.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.5225, allocations: 25.14 kB / 484.2 MB, free: 52.82 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.0001479/0.5226, allocations: 160.4 kB / 484.3 MB, free: 52.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.39e-05/0.5227, allocations: 38.94 kB / 484.4 MB, free: 52.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000807/0.5235, allocations: 0.8555 MB / 485.2 MB, free: 52.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.5235, allocations: 11.98 kB / 485.2 MB, free: 52.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.5235, allocations: 0 / 485.2 MB, free: 52.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006043/0.5242, allocations: 1.044 MB / 486.3 MB, free: 50.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.5253, allocations: 1.489 MB / 487.8 MB, free: 49.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.5254, allocations: 2.734 kB / 487.8 MB, free: 49.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.5256, allocations: 47.98 kB / 487.8 MB, free: 49.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002671/0.5258, allocations: 80.72 kB / 487.9 MB, free: 49.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.5259, allocations: 8 kB / 487.9 MB, free: 49.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002157/0.5261, allocations: 0.5913 MB / 488.5 MB, free: 48.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5261, allocations: 0 / 488.5 MB, free: 48.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007414/0.5268, allocations: 0.8288 MB / 489.3 MB, free: 47.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.5269, allocations: 104.7 kB / 489.4 MB, free: 47.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.527, allocations: 18.94 kB / 489.5 MB, free: 47.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.5273, allocations: 35.28 kB / 489.5 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.5273, allocations: 15.97 kB / 489.5 MB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.5274, allocations: 12 kB / 489.5 MB, free: 47.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.5275, allocations: 239 kB / 489.8 MB, free: 47.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5276, allocations: 3.094 kB / 489.8 MB, free: 47.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002192/0.5297, allocations: 0.8536 MB / 490.6 MB, free: 46.57 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.003635/0.5334, allocations: 0.9692 MB / 491.6 MB, free: 45.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007718/0.5342, allocations: 491.5 kB / 492.1 MB, free: 45.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.848e-05/0.5342, allocations: 0 / 492.1 MB, free: 45.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.5345, allocations: 244.4 kB / 492.3 MB, free: 45.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/0.5355, allocations: 190.1 kB / 492.5 MB, free: 44.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.5368, allocations: 0.9847 MB / 493.5 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.537, allocations: 0.8172 MB / 494.3 MB, free: 43.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003187/0.5373, allocations: 183.3 kB / 494.5 MB, free: 42.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.5374, allocations: 31.44 kB / 494.5 MB, free: 42.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.5374, allocations: 4 kB / 494.5 MB, free: 42.82 MB / 382.1 MB Notification: Performance of Templates: time 0.03753/0.5749, allocations: 34.86 MB / 0.517 GB, free: 7.934 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)