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.001372/0.001372, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001928/0.001928, allocations: 194.3 kB / 16.25 MB, free: 6.629 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.536/1.536, allocations: 205.1 MB / 222.1 MB, free: 4.738 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: 47.94 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2389, allocations: 46.62 MB / 324.9 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03494/0.2739, allocations: 32.51 MB / 357.4 MB, free: 3.492 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01817/0.2921, allocations: 15.78 MB / 373.1 MB, free: 3.668 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002819/0.2924, allocations: 0 / 373.1 MB, free: 3.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007875/0.2932, allocations: 250.8 kB / 373.4 MB, free: 3.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006181/0.2939, allocations: 334.2 kB / 373.7 MB, free: 3.094 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01381/0.3077, allocations: 5.13 MB / 378.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.3089, allocations: 1.001 MB / 379.8 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.3091, allocations: 120.9 kB / 380 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/0.3132, allocations: 2.189 MB / 382.1 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.3136, allocations: 318.8 kB / 382.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/0.3137, allocations: 44 kB / 382.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01015/0.3239, allocations: 5.986 MB / 388.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.3242, allocations: 111.7 kB / 388.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004262/0.3246, allocations: 227.2 kB / 388.8 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009703/0.3343, allocations: 3.812 MB / 392.6 MB, free: 108 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.3344, allocations: 0 / 392.6 MB, free: 108 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3344, allocations: 0 / 392.6 MB, free: 108 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3344, allocations: 0 / 392.6 MB, free: 108 kB / 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.002511/0.3369, allocations: 1.002 MB / 393.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.337, allocations: 12.03 kB / 393.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.3383, allocations: 148.4 kB / 393.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.3388, allocations: 303.7 kB / 394.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.3388, allocations: 29.03 kB / 394.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-05/0.3389, allocations: 32.38 kB / 394.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.3401, allocations: 0.5151 MB / 394.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.3402, allocations: 0 / 394.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.3402, allocations: 12 kB / 394.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.3402, allocations: 11.98 kB / 394.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006072/0.3409, allocations: 325.9 kB / 395 MB, free: 13.61 MB / 334.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.003101/0.344, allocations: 2.557 MB / 397.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006264/0.3446, allocations: 278.7 kB / 397.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.3448, allocations: 112.8 kB / 397.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06061/0.4054, allocations: 30.89 MB / 428.8 MB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.427e-05/0.4055, allocations: 38.56 kB / 428.9 MB, free: 7.914 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.873e-06/0.4055, allocations: 0 / 428.9 MB, free: 7.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.003469/0.409, allocations: 1.199 MB / 430.1 MB, free: 6.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.409, allocations: 55.41 kB / 430.1 MB, free: 6.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.4093, allocations: 258.5 kB / 430.4 MB, free: 6.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.4093, allocations: 29.7 kB / 430.4 MB, free: 6.273 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.4095, allocations: 196 kB / 430.6 MB, free: 6.078 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/0.4095, allocations: 110.5 kB / 430.7 MB, free: 5.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.4097, allocations: 81.97 kB / 430.8 MB, free: 5.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4098, allocations: 342.8 kB / 431.1 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.41, allocations: 92.84 kB / 431.2 MB, free: 5.449 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.4102, allocations: 210.9 kB / 431.4 MB, free: 5.191 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.4106, allocations: 346.3 kB / 431.8 MB, free: 4.801 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4106, allocations: 4 kB / 431.8 MB, free: 4.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006837/0.4113, allocations: 414.6 kB / 432.2 MB, free: 4.379 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.4113, allocations: 10.95 kB / 432.2 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.4114, allocations: 4 kB / 432.2 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/0.4116, allocations: 62.19 kB / 432.2 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.412, allocations: 87.84 kB / 432.3 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.4138, allocations: 2.529 MB / 434.9 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.414, allocations: 23.98 kB / 434.9 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.4141, allocations: 20 kB / 434.9 MB, free: 1.453 MB / 366.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.0001823/0.4142, allocations: 165.8 kB / 435.1 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.873e-05/0.4143, allocations: 31.62 kB / 435.1 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.4154, allocations: 0.8655 MB / 436 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.4154, allocations: 15.92 kB / 436 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.4154, allocations: 4 kB / 436 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009267/0.4163, allocations: 1.044 MB / 437 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.418, allocations: 1.489 MB / 438.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.418, allocations: 7.938 kB / 438.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.4182, allocations: 47.98 kB / 438.6 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000311/0.4185, allocations: 68.78 kB / 438.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.4185, allocations: 8 kB / 438.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00036/0.4189, allocations: 0.5952 MB / 439.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4189, allocations: 0 / 439.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.4199, allocations: 0.8275 MB / 440.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.4201, allocations: 108.7 kB / 440.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.466e-05/0.4201, allocations: 11.84 kB / 440.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.4205, allocations: 40.06 kB / 440.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.4206, allocations: 19.97 kB / 440.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.4206, allocations: 15.98 kB / 440.3 MB, free: 11.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002863/0.4209, allocations: 239 kB / 440.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4209, allocations: 0 / 440.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00341/0.4243, allocations: 0.8629 MB / 441.3 MB, free: 10.75 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.003419/0.4278, allocations: 0.9709 MB / 442.3 MB, free: 9.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.4288, allocations: 0.4915 MB / 442.8 MB, free: 9.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4289, allocations: 3.938 kB / 442.8 MB, free: 9.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.4292, allocations: 248.4 kB / 443.1 MB, free: 9.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.4302, allocations: 181.3 kB / 443.2 MB, free: 8.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.4319, allocations: 1.167 MB / 444.4 MB, free: 7.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.4322, allocations: 0.8172 MB / 445.2 MB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004023/0.4326, allocations: 187 kB / 445.4 MB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.4327, allocations: 35.38 kB / 445.4 MB, free: 6.578 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4327, allocations: 0 / 445.4 MB, free: 6.578 MB / 382.1 MB Notification: Performance of Templates: time 0.2295/0.6623, allocations: 34.81 MB / 480.3 MB, free: 98.57 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)