Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001192/0.001192, allocations: 115.2 kB / 16.63 MB, free: 6.812 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.001044/0.001044, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.51/1.51, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001274/0.001274, allocations: 55.91 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09751/0.0988, allocations: 46.64 MB / 326.2 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03094/0.1298, allocations: 32.49 MB / 358.6 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01787/0.1477, allocations: 15.78 MB / 374.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004667/0.1483, allocations: 4 kB / 374.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009184/0.1492, allocations: 234.8 kB / 374.7 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007836/0.15, allocations: 342.2 kB / 375 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1859/0.3359, allocations: 5.123 MB / 380.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.3373, allocations: 1.009 MB / 381.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.3376, allocations: 112.7 kB / 381.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004878/0.3425, allocations: 2.187 MB / 383.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005169/0.343, allocations: 316.9 kB / 383.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.889e-05/0.3431, allocations: 40.81 kB / 383.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/0.3578, allocations: 5.989 MB / 389.8 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.3582, allocations: 114.1 kB / 389.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006754/0.3589, allocations: 227.1 kB / 390.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.3693, allocations: 3.814 MB / 393.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.3694, allocations: 1.406 kB / 393.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3694, allocations: 3.281 kB / 393.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.3694, allocations: 0 / 393.9 MB, free: 12.24 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.003096/0.3725, allocations: 0.9905 MB / 394.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3725, allocations: 9.625 kB / 394.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.3738, allocations: 149.5 kB / 395.1 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.3742, allocations: 315.8 kB / 395.4 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.3742, allocations: 24.69 kB / 395.4 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.3742, allocations: 32.64 kB / 395.4 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.3754, allocations: 0.5208 MB / 395.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.3754, allocations: 0 / 395.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-05/0.3755, allocations: 17.41 kB / 396 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.3755, allocations: 8.125 kB / 396 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005555/0.376, allocations: 324.8 kB / 396.3 MB, free: 11.26 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.002293/0.3783, allocations: 2.559 MB / 398.8 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/0.3789, allocations: 272.4 kB / 399.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.3791, allocations: 111.3 kB / 399.2 MB, free: 9.125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05793/0.437, allocations: 30.89 MB / 430.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.863e-05/0.4371, allocations: 38.56 kB / 430.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.505e-06/0.4371, allocations: 0 / 430.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003482/0.4406, allocations: 1.204 MB / 431.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.4407, allocations: 59.41 kB / 431.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.4409, allocations: 264.6 kB / 431.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.441, allocations: 33.64 kB / 431.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.4411, allocations: 183.3 kB / 431.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.06e-05/0.4412, allocations: 107.2 kB / 432 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.4413, allocations: 78.66 kB / 432.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.4414, allocations: 337.7 kB / 432.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.4416, allocations: 96.58 kB / 432.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.4418, allocations: 212.1 kB / 432.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.4422, allocations: 349 kB / 433 MB, free: 10.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4423, allocations: 4 kB / 433 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006975/0.443, allocations: 415 kB / 433.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.443, allocations: 15.16 kB / 433.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.443, allocations: 4 kB / 433.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/0.4433, allocations: 59.11 kB / 433.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.4436, allocations: 87.12 kB / 433.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.4453, allocations: 2.53 MB / 436.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.4456, allocations: 35.3 kB / 436.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-05/0.4457, allocations: 19.06 kB / 436.2 MB, free: 7.145 MB / 350.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.0001954/0.4459, allocations: 160.2 kB / 436.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.184e-05/0.446, allocations: 27.72 kB / 436.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009768/0.447, allocations: 0.8632 MB / 437.2 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.447, allocations: 9.859 kB / 437.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.447, allocations: 8.219 kB / 437.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008508/0.4479, allocations: 1.049 MB / 438.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.4495, allocations: 1.487 MB / 439.8 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.4495, allocations: 3.938 kB / 439.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.4497, allocations: 57.17 kB / 439.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003244/0.4501, allocations: 68.8 kB / 439.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.4501, allocations: 10.19 kB / 439.9 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003851/0.4505, allocations: 0.5939 MB / 440.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4505, allocations: 0 / 440.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009506/0.4515, allocations: 0.8225 MB / 441.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.4516, allocations: 112.6 kB / 441.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.4516, allocations: 15.84 kB / 441.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.452, allocations: 27.97 kB / 441.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.452, allocations: 24.03 kB / 441.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.416e-05/0.4521, allocations: 19.98 kB / 441.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002436/0.4523, allocations: 231.1 kB / 441.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4523, allocations: 0 / 441.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003993/0.4563, allocations: 0.8589 MB / 442.6 MB, free: 1.184 MB / 350.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.005373/0.4617, allocations: 0.9834 MB / 443.6 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.4629, allocations: 0.495 MB / 444.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.4629, allocations: 0 / 444.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.4633, allocations: 253.5 kB / 444.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.4644, allocations: 173.1 kB / 444.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.466, allocations: 1.154 MB / 445.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.4664, allocations: 0.8282 MB / 446.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004095/0.4668, allocations: 179 kB / 446.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.948e-05/0.4669, allocations: 31.44 kB / 446.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4669, allocations: 2.078 kB / 446.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of Templates: time 0.04631/0.5132, allocations: 34.82 MB / 481.5 MB, free: 10.43 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)