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.001218/0.001217, allocations: 103.8 kB / 16.92 MB, free: 5.855 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.001206/0.001206, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.362/1.362, allocations: 205.1 MB / 223.7 MB, free: 12.32 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.001187/0.001187, allocations: 47.94 kB / 280 MB, free: 3.152 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09838/0.09957, allocations: 46.62 MB / 326.6 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03442/0.134, allocations: 32.57 MB / 359.2 MB, free: 3.754 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01808/0.1522, allocations: 15.73 MB / 374.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004802/0.1527, allocations: 7.938 kB / 374.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009467/0.1537, allocations: 266.4 kB / 375.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008267/0.1545, allocations: 365.9 kB / 375.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1969/0.3514, allocations: 5.775 MB / 381.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.3532, allocations: 1.012 MB / 382.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.3534, allocations: 101.2 kB / 382.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005138/0.3586, allocations: 2.2 MB / 384.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004302/0.359, allocations: 303.1 kB / 384.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.239e-05/0.3591, allocations: 40.31 kB / 385 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0113/0.3704, allocations: 5.935 MB / 390.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.3707, allocations: 112.1 kB / 391 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004023/0.3711, allocations: 232 kB / 391.3 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007048/0.3781, allocations: 3.796 MB / 395 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3781, allocations: 3.75 kB / 395.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3782, allocations: 0 / 395.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.3782, allocations: 5.281 kB / 395.1 MB, free: 11.76 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.002528/0.3807, allocations: 0.993 MB / 396 MB, free: 11.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.3808, allocations: 7.906 kB / 396.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.3821, allocations: 145.3 kB / 396.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.3825, allocations: 321.3 kB / 396.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.3825, allocations: 27.84 kB / 396.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.3826, allocations: 32.44 kB / 396.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.3837, allocations: 0.518 MB / 397.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.3837, allocations: 0 / 397.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.3838, allocations: 13.88 kB / 397.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3838, allocations: 9.969 kB / 397.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005362/0.3843, allocations: 327.6 kB / 397.4 MB, free: 10.77 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.002321/0.3867, allocations: 2.558 MB / 400 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/0.3872, allocations: 275.1 kB / 400.3 MB, free: 8.527 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.3874, allocations: 114 kB / 400.4 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06478/0.4521, allocations: 30.9 MB / 431.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.4522, allocations: 41.25 kB / 431.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.124e-06/0.4522, allocations: 0 / 431.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00342/0.4557, allocations: 1.199 MB / 432.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.4557, allocations: 55.41 kB / 432.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.456, allocations: 265 kB / 432.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.456, allocations: 37.31 kB / 432.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.4562, allocations: 190.3 kB / 433 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.093e-05/0.4562, allocations: 104.3 kB / 433.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.4563, allocations: 81.25 kB / 433.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4565, allocations: 338.9 kB / 433.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.4567, allocations: 94.64 kB / 433.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.4569, allocations: 220.7 kB / 433.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.4573, allocations: 337.9 kB / 434.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4573, allocations: 4 kB / 434.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006673/0.458, allocations: 417.6 kB / 434.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.458, allocations: 12.09 kB / 434.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.4581, allocations: 7.094 kB / 434.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002793/0.4583, allocations: 55.81 kB / 434.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.4587, allocations: 91.92 kB / 434.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.4604, allocations: 2.528 MB / 437.3 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.4606, allocations: 9.875 kB / 437.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.4607, allocations: 25.97 kB / 437.3 MB, free: 5.98 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.000188/0.4609, allocations: 161.6 kB / 437.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.324e-05/0.461, allocations: 27.72 kB / 437.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.462, allocations: 0.8581 MB / 438.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.462, allocations: 11.98 kB / 438.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.462, allocations: 7.938 kB / 438.4 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009304/0.4629, allocations: 1.04 MB / 439.4 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.4646, allocations: 1.486 MB / 440.9 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-06/0.4646, allocations: 7.938 kB / 440.9 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.4648, allocations: 55.34 kB / 441 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.4651, allocations: 68.7 kB / 441 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.4652, allocations: 12 kB / 441.1 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003529/0.4655, allocations: 0.5909 MB / 441.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4655, allocations: 3.938 kB / 441.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009431/0.4665, allocations: 0.8237 MB / 442.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.221e-05/0.4666, allocations: 112.6 kB / 442.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.4666, allocations: 19.67 kB / 442.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.467, allocations: 20.14 kB / 442.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.467, allocations: 29.31 kB / 442.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.4671, allocations: 15.98 kB / 442.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.4673, allocations: 231.1 kB / 442.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4673, allocations: 0 / 442.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003921/0.4712, allocations: 0.8589 MB / 443.8 MB, free: 15.63 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.005163/0.4764, allocations: 0.9678 MB / 444.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.4775, allocations: 0.4897 MB / 445.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4775, allocations: 0 / 445.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.4779, allocations: 254.3 kB / 445.5 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.479, allocations: 189.4 kB / 445.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.4806, allocations: 0.9869 MB / 446.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.481, allocations: 0.825 MB / 447.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003882/0.4814, allocations: 182.3 kB / 447.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.4814, allocations: 31.44 kB / 447.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4815, allocations: 4 kB / 447.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of Templates: time 0.05338/0.5348, allocations: 34.86 MB / 482.5 MB, free: 8.957 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)