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.006667/0.006667, allocations: 102.8 kB / 15.73 MB, free: 6.488 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.001334/0.001334, allocations: 199.7 kB / 16.68 MB, free: 6.375 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.52/1.52, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.002123/0.002123, allocations: 50.3 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09337/0.09551, 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.WaterIF97OnePhase_ph): time 0.03513/0.1307, allocations: 32.57 MB / 405.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01959/0.1503, allocations: 15.72 MB / 421.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004141/0.1509, allocations: 11.94 kB / 421.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009013/0.1518, allocations: 258.4 kB / 421.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000787/0.1526, allocations: 369.9 kB / 422.1 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01613/0.1687, allocations: 5.795 MB / 427.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.1702, allocations: 1.013 MB / 428.9 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.1704, allocations: 105 kB / 429.1 MB, free: 9.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005604/0.176, allocations: 2.204 MB / 431.3 MB, free: 7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004659/0.1765, allocations: 306.8 kB / 431.6 MB, free: 6.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.429e-05/0.1766, allocations: 40 kB / 431.6 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01166/0.1883, allocations: 6.08 MB / 437.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.1885, allocations: 115.6 kB / 437.8 MB, free: 472 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.1889, allocations: 227.2 kB / 438 MB, free: 244 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008344/0.1972, allocations: 3.797 MB / 441.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.1973, allocations: 0 / 441.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1973, allocations: 0 / 441.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1973, allocations: 0 / 441.8 MB, free: 12.43 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.002597/0.1999, allocations: 0.9944 MB / 442.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2, allocations: 8.031 kB / 442.8 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.2013, allocations: 148.3 kB / 443 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.2018, allocations: 331.5 kB / 443.3 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.2019, allocations: 29.03 kB / 443.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.2019, allocations: 28.38 kB / 443.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.2031, allocations: 0.5151 MB / 443.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.2032, allocations: 0 / 443.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/0.2032, allocations: 16 kB / 443.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.2032, allocations: 8 kB / 443.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006252/0.2039, allocations: 333.8 kB / 444.2 MB, free: 9.918 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.002839/0.2067, allocations: 2.549 MB / 446.7 MB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005884/0.2073, allocations: 279.8 kB / 447 MB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.2075, allocations: 112.8 kB / 447.1 MB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2704/0.4779, allocations: 31.01 MB / 478.1 MB, free: 57.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.478, allocations: 38 kB / 478.2 MB, free: 57.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.645e-06/0.478, allocations: 0 / 478.2 MB, free: 57.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.003453/0.4815, allocations: 1.205 MB / 479.4 MB, free: 57.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.4815, allocations: 55.38 kB / 479.4 MB, free: 57.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.4818, allocations: 263.5 kB / 479.7 MB, free: 56.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.4819, allocations: 29.7 kB / 479.7 MB, free: 56.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.482, allocations: 192.1 kB / 479.9 MB, free: 56.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/0.4821, allocations: 105.8 kB / 480 MB, free: 56.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.4822, allocations: 77.47 kB / 480.1 MB, free: 56.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.4823, allocations: 341.7 kB / 480.4 MB, free: 56.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.4825, allocations: 101.3 kB / 480.5 MB, free: 56.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.4826, allocations: 212.6 kB / 480.7 MB, free: 55.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.483, allocations: 339.4 kB / 481.1 MB, free: 55.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.483, allocations: 1.594 kB / 481.1 MB, free: 55.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006173/0.4836, allocations: 417.8 kB / 481.5 MB, free: 55.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4837, allocations: 9.25 kB / 481.5 MB, free: 55.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4837, allocations: 3.5 kB / 481.5 MB, free: 55.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002829/0.484, allocations: 57.19 kB / 481.5 MB, free: 55.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.4843, allocations: 87.45 kB / 481.6 MB, free: 55.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.4855, allocations: 2.535 MB / 484.2 MB, free: 52.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.4858, allocations: 11.53 kB / 484.2 MB, free: 52.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.4858, allocations: 18.34 kB / 484.2 MB, free: 52.81 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.0001671/0.486, allocations: 170.1 kB / 484.4 MB, free: 52.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.548e-05/0.4861, allocations: 37.66 kB / 484.4 MB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008438/0.4869, allocations: 0.8573 MB / 485.2 MB, free: 52.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.4869, allocations: 11.98 kB / 485.3 MB, free: 52.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.4869, allocations: 0 / 485.3 MB, free: 52.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006759/0.4876, allocations: 1.04 MB / 486.3 MB, free: 50.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.4889, allocations: 1.483 MB / 487.8 MB, free: 49.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.4889, allocations: 0 / 487.8 MB, free: 49.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.4892, allocations: 63.91 kB / 487.8 MB, free: 49.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002956/0.4895, allocations: 70.53 kB / 487.9 MB, free: 49.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.4895, allocations: 4 kB / 487.9 MB, free: 49.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000237/0.4897, allocations: 0.5991 MB / 488.5 MB, free: 48.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4898, allocations: 0 / 488.5 MB, free: 48.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000768/0.4905, allocations: 0.8248 MB / 489.3 MB, free: 47.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/0.4906, allocations: 108.7 kB / 489.4 MB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.4907, allocations: 19.34 kB / 489.5 MB, free: 47.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.491, allocations: 23.92 kB / 489.5 MB, free: 47.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.491, allocations: 28.12 kB / 489.5 MB, free: 47.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.491, allocations: 15.98 kB / 489.5 MB, free: 47.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.4913, allocations: 235.1 kB / 489.8 MB, free: 47.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4913, allocations: 0 / 489.8 MB, free: 47.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00262/0.4939, allocations: 0.8536 MB / 490.6 MB, free: 46.5 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.004286/0.4982, allocations: 0.9631 MB / 491.6 MB, free: 45.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009208/0.4991, allocations: 493.2 kB / 492.1 MB, free: 45.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4991, allocations: 4 kB / 492.1 MB, free: 45.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003205/0.4995, allocations: 244.4 kB / 492.3 MB, free: 44.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/0.5005, allocations: 187.8 kB / 492.5 MB, free: 44.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.5019, allocations: 0.9836 MB / 493.5 MB, free: 43.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.5022, allocations: 0.8211 MB / 494.3 MB, free: 42.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003482/0.5025, allocations: 185.9 kB / 494.5 MB, free: 42.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.5026, allocations: 31.44 kB / 494.5 MB, free: 42.76 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5026, allocations: 0 / 494.5 MB, free: 42.76 MB / 382.1 MB Notification: Performance of Templates: time 0.043/0.5456, allocations: 34.86 MB / 0.5169 GB, free: 7.875 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)