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.0008122/0.0008123, allocations: 86.41 kB / 16.64 MB, free: 6.172 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.0009289/0.0009289, allocations: 181.8 kB / 17.55 MB, free: 5.805 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.542/1.542, allocations: 205.4 MB / 223.7 MB, free: 12.98 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.0007927/0.0007929, allocations: 11.98 kB / 280.7 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1303, allocations: 47.59 MB / 328.3 MB, free: 3.723 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04549/0.1758, allocations: 32.5 MB / 360.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02696/0.2029, allocations: 16.41 MB / 377.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006697/0.2036, allocations: 3.938 kB / 377.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.2049, allocations: 238.8 kB / 377.5 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.2062, allocations: 342.2 kB / 377.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2027/0.409, allocations: 4.665 MB / 382.5 MB, free: 12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002516/0.4115, allocations: 1.455 MB / 383.9 MB, free: 12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.4118, allocations: 79.73 kB / 384 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/0.4164, allocations: 2.126 MB / 386.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004532/0.4169, allocations: 312 kB / 386.4 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.987e-05/0.417, allocations: 17.81 kB / 386.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0106/0.4276, allocations: 5.998 MB / 392.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.4278, allocations: 91.58 kB / 392.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003726/0.4281, allocations: 235.7 kB / 392.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008903/0.4371, allocations: 3.771 MB / 396.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.4371, allocations: 0 / 396.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4371, allocations: 4 kB / 396.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.4371, allocations: 0 / 396.6 MB, free: 10.87 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.002647/0.4398, allocations: 0.9045 MB / 397.5 MB, free: 10.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.4398, allocations: 10.09 kB / 397.5 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.4412, allocations: 166.8 kB / 397.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.4416, allocations: 310.8 kB / 397.9 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.4417, allocations: 26.92 kB / 398 MB, free: 9.891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.954e-05/0.4417, allocations: 33.56 kB / 398 MB, free: 9.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.4429, allocations: 0.5284 MB / 398.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.4429, allocations: 3.984 kB / 398.5 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.443, allocations: 18.66 kB / 398.5 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.443, allocations: 8.906 kB / 398.6 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005561/0.4435, allocations: 327.3 kB / 398.9 MB, free: 9.609 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.002426/0.446, allocations: 2.571 MB / 401.4 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/0.4465, allocations: 267.1 kB / 401.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.4467, allocations: 111.2 kB / 401.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06018/0.5069, allocations: 31.2 MB / 433 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.5069, allocations: 37.12 kB / 433.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.866e-06/0.5069, allocations: 3.938 kB / 433.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003205/0.5102, allocations: 1.221 MB / 434.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.5102, allocations: 55.41 kB / 434.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.5105, allocations: 262.1 kB / 434.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.5105, allocations: 33.45 kB / 434.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.5106, allocations: 192.6 kB / 434.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.5107, allocations: 104.5 kB / 434.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.5108, allocations: 38.58 kB / 434.9 MB, free: 8.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5109, allocations: 342.5 kB / 435.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.511, allocations: 90.59 kB / 435.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.5112, allocations: 218.7 kB / 435.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.5116, allocations: 349.8 kB / 435.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5117, allocations: 0 / 435.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006424/0.5123, allocations: 411.2 kB / 436.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.5123, allocations: 11.98 kB / 436.3 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5123, allocations: 4 kB / 436.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002689/0.5126, allocations: 61.44 kB / 436.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.513, allocations: 90.23 kB / 436.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.5145, allocations: 2.429 MB / 438.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.5147, allocations: 30.81 kB / 439 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.5148, allocations: 19.92 kB / 439 MB, free: 4.715 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.0001923/0.515, allocations: 164.4 kB / 439.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/0.515, allocations: 35.62 kB / 439.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009338/0.516, allocations: 0.8645 MB / 440 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.516, allocations: 10.92 kB / 440 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.516, allocations: 0 / 440 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000819/0.5168, allocations: 1.042 MB / 441.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.5184, allocations: 1.487 MB / 442.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.5184, allocations: 0 / 442.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.5186, allocations: 55.52 kB / 442.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003495/0.519, allocations: 77.62 kB / 442.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.519, allocations: 10.56 kB / 442.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003379/0.5193, allocations: 0.5997 MB / 443.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5194, allocations: 0 / 443.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008702/0.5202, allocations: 0.829 MB / 444.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.5204, allocations: 131.4 kB / 444.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.5204, allocations: 8.625 kB / 444.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.5208, allocations: 38.78 kB / 444.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.5208, allocations: 31.23 kB / 444.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.5208, allocations: 15.48 kB / 444.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002237/0.5211, allocations: 235.2 kB / 444.6 MB, free: 340 kB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5211, allocations: 0 / 444.6 MB, free: 340 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.003269/0.5244, allocations: 0.8595 MB / 445.4 MB, free: 15.51 MB / 366.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.004298/0.5287, allocations: 0.9635 MB / 446.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.5297, allocations: 485.3 kB / 446.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5297, allocations: 0 / 446.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.5301, allocations: 252.1 kB / 447.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.5313, allocations: 189.5 kB / 447.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.533, allocations: 1.214 MB / 448.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.5334, allocations: 0.825 MB / 449.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003988/0.5338, allocations: 189.9 kB / 449.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.5339, allocations: 31.44 kB / 449.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5339, allocations: 0 / 449.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of Templates: time 0.04825/0.5822, allocations: 34.42 MB / 484 MB, free: 9.406 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)