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.001531/0.001532, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002669/0.002669, allocations: 189.8 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.53/1.53, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.001166/0.001166, allocations: 47.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2516, allocations: 46.62 MB / 324.9 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03476/0.2864, allocations: 32.5 MB / 357.4 MB, free: 3.516 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01765/0.3041, allocations: 15.78 MB / 373.1 MB, free: 3.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000406/0.3046, allocations: 4 kB / 373.1 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009026/0.3055, allocations: 238.8 kB / 373.4 MB, free: 3.453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007448/0.3062, allocations: 342.2 kB / 373.7 MB, free: 3.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0177/0.3239, allocations: 5.141 MB / 378.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.3254, allocations: 1.005 MB / 379.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.3256, allocations: 113 kB / 380 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004905/0.3305, allocations: 2.193 MB / 382.2 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.3309, allocations: 318.8 kB / 382.5 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.077e-05/0.331, allocations: 40 kB / 382.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01211/0.3431, allocations: 5.99 MB / 388.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.3434, allocations: 115.7 kB / 388.6 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003507/0.3438, allocations: 227.1 kB / 388.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008395/0.3522, allocations: 3.812 MB / 392.6 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3522, allocations: 0 / 392.6 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3522, allocations: 0 / 392.6 MB, free: 120 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3522, allocations: 0 / 392.6 MB, free: 120 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.002296/0.3545, allocations: 0.9864 MB / 393.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3546, allocations: 15.97 kB / 393.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.3559, allocations: 148.4 kB / 393.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.3563, allocations: 315.7 kB / 394.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.3563, allocations: 21.03 kB / 394.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.3564, allocations: 32.38 kB / 394.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.3576, allocations: 0.5151 MB / 394.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.3576, allocations: 0 / 394.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/0.3577, allocations: 12 kB / 394.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.3577, allocations: 12 kB / 394.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006147/0.3583, allocations: 329.8 kB / 395 MB, free: 13.62 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.003096/0.3614, allocations: 2.553 MB / 397.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.362, allocations: 274.7 kB / 397.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.3621, allocations: 112.8 kB / 397.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05853/0.4207, allocations: 30.89 MB / 428.8 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/0.4208, allocations: 38.56 kB / 428.9 MB, free: 7.926 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.645e-06/0.4208, allocations: 0 / 428.9 MB, free: 7.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.003297/0.4241, allocations: 1.199 MB / 430.1 MB, free: 6.648 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.4241, allocations: 55.41 kB / 430.1 MB, free: 6.582 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.4244, allocations: 258.5 kB / 430.4 MB, free: 6.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.4244, allocations: 33.64 kB / 430.4 MB, free: 6.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4245, allocations: 192 kB / 430.6 MB, free: 6.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.831e-05/0.4246, allocations: 110.5 kB / 430.7 MB, free: 5.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.4247, allocations: 74.05 kB / 430.8 MB, free: 5.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4248, allocations: 346.7 kB / 431.1 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.425, allocations: 96.84 kB / 431.2 MB, free: 5.461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.4252, allocations: 218.9 kB / 431.4 MB, free: 5.195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.4257, allocations: 346.4 kB / 431.8 MB, free: 4.805 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4257, allocations: 0 / 431.8 MB, free: 4.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006492/0.4264, allocations: 414.9 kB / 432.2 MB, free: 4.387 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.4264, allocations: 6.969 kB / 432.2 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.4264, allocations: 4 kB / 432.2 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000267/0.4267, allocations: 65.62 kB / 432.2 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.427, allocations: 87.89 kB / 432.3 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/0.4286, allocations: 2.525 MB / 434.9 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.4289, allocations: 24.14 kB / 434.9 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.4289, allocations: 20 kB / 434.9 MB, free: 1.465 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.0001809/0.4291, allocations: 169.6 kB / 435.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.4292, allocations: 31.62 kB / 435.1 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.4302, allocations: 0.8616 MB / 436 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.4303, allocations: 11.94 kB / 436 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.4303, allocations: 4 kB / 436 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009559/0.4312, allocations: 1.044 MB / 437 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.4328, allocations: 1.485 MB / 438.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4328, allocations: 0 / 438.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.433, allocations: 59.84 kB / 438.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002975/0.4333, allocations: 68.8 kB / 438.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.4333, allocations: 11.98 kB / 438.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003449/0.4337, allocations: 0.5875 MB / 439.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4337, allocations: 8 kB / 439.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008831/0.4346, allocations: 0.8275 MB / 440.1 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-05/0.4347, allocations: 112.7 kB / 440.2 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.4347, allocations: 11.91 kB / 440.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.4351, allocations: 35.97 kB / 440.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.4351, allocations: 23.95 kB / 440.2 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.4352, allocations: 19.98 kB / 440.3 MB, free: 11.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.4354, allocations: 239 kB / 440.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4354, allocations: 0 / 440.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002364/0.4378, allocations: 0.8589 MB / 441.4 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.003368/0.4411, allocations: 0.9631 MB / 442.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.4423, allocations: 0.4885 MB / 442.8 MB, free: 9.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4423, allocations: 4.062 kB / 442.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.4427, allocations: 248.4 kB / 443.1 MB, free: 9.031 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.4438, allocations: 188.2 kB / 443.2 MB, free: 8.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.4458, allocations: 1.176 MB / 444.4 MB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.4462, allocations: 0.8172 MB / 445.2 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000397/0.4466, allocations: 179 kB / 445.4 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.4467, allocations: 35.42 kB / 445.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4467, allocations: 0 / 445.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of Templates: time 0.1935/0.6402, allocations: 34.82 MB / 480.3 MB, free: 98.59 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)