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.001646/0.001646, allocations: 105.1 kB / 17.06 MB, free: 6.098 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.001847/0.001847, allocations: 200.1 kB / 18 MB, free: 5.168 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.474/1.474, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001206/0.001206, allocations: 55.92 kB / 327.9 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08538/0.08659, allocations: 46.61 MB / 374.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.2253/0.3119, allocations: 32.56 MB / 407.1 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0174/0.3294, allocations: 15.74 MB / 422.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003554/0.3298, allocations: 7.719 kB / 422.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007961/0.3306, allocations: 272.4 kB / 423.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007566/0.3314, allocations: 365.3 kB / 423.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02083/0.3522, allocations: 5.784 MB / 429.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.3537, allocations: 1.005 MB / 430.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.3539, allocations: 104 kB / 430.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005036/0.3589, allocations: 2.209 MB / 432.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003929/0.3594, allocations: 298.8 kB / 432.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.338e-05/0.3594, allocations: 40 kB / 432.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01137/0.3708, allocations: 6.068 MB / 439 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.371, allocations: 115.6 kB / 439.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.3714, allocations: 231.2 kB / 439.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009579/0.381, allocations: 3.8 MB / 443.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.381, allocations: 0 / 443.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.381, allocations: 0 / 443.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.381, allocations: 0 / 443.1 MB, free: 10.94 MB / 366.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.002071/0.3831, allocations: 1.015 MB / 444.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3832, allocations: 8.031 kB / 444.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.3844, allocations: 152.6 kB / 444.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.3849, allocations: 331.7 kB / 444.6 MB, free: 9.355 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.385, allocations: 25.91 kB / 444.6 MB, free: 9.332 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.385, allocations: 28.56 kB / 444.7 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.3862, allocations: 0.519 MB / 445.2 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.3863, allocations: 0 / 445.2 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.3863, allocations: 16 kB / 445.2 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.3863, allocations: 12 kB / 445.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006327/0.387, allocations: 325.8 kB / 445.5 MB, free: 8.402 MB / 366.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.002792/0.3898, allocations: 2.56 MB / 448.1 MB, free: 5.582 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.3903, allocations: 274.7 kB / 448.3 MB, free: 5.305 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.3905, allocations: 117.3 kB / 448.5 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06234/0.4529, allocations: 31.03 MB / 479.5 MB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.4529, allocations: 30.56 kB / 479.5 MB, free: 2.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.745e-06/0.453, allocations: 0 / 479.5 MB, free: 2.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003395/0.4564, allocations: 1.203 MB / 480.7 MB, free: 1.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.4564, allocations: 55.41 kB / 480.8 MB, free: 1.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.4567, allocations: 262.6 kB / 481 MB, free: 0.9609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/0.4568, allocations: 33.64 kB / 481.1 MB, free: 0.9219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.4569, allocations: 184.5 kB / 481.2 MB, free: 0.7383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.537e-05/0.457, allocations: 123 kB / 481.4 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.4571, allocations: 74.12 kB / 481.4 MB, free: 0.5391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4572, allocations: 342.8 kB / 481.8 MB, free: 200 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.4574, allocations: 88.84 kB / 481.9 MB, free: 112 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.4576, allocations: 218.8 kB / 482.1 MB, free: 15.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.4581, allocations: 346.3 kB / 482.4 MB, free: 15.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4581, allocations: 0 / 482.4 MB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000699/0.4588, allocations: 418.9 kB / 482.8 MB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4588, allocations: 8.875 kB / 482.8 MB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4588, allocations: 4 kB / 482.8 MB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002653/0.4591, allocations: 61.62 kB / 482.9 MB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.4595, allocations: 83.91 kB / 483 MB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.4612, allocations: 2.543 MB / 485.5 MB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.4614, allocations: 12 kB / 485.5 MB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.4614, allocations: 16 kB / 485.5 MB, free: 12.11 MB / 414.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.000192/0.4616, allocations: 165.8 kB / 485.7 MB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.4617, allocations: 31.81 kB / 485.7 MB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.4627, allocations: 0.858 MB / 486.6 MB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.4627, allocations: 9.797 kB / 486.6 MB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4628, allocations: 3.938 kB / 486.6 MB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009175/0.4637, allocations: 1.044 MB / 487.7 MB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.4653, allocations: 1.497 MB / 489.2 MB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.4653, allocations: 3.938 kB / 489.2 MB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.4656, allocations: 55.91 kB / 489.2 MB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000294/0.4659, allocations: 68.8 kB / 489.3 MB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.4659, allocations: 4 kB / 489.3 MB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003422/0.4663, allocations: 0.5953 MB / 489.9 MB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4663, allocations: 0 / 489.9 MB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009109/0.4672, allocations: 0.825 MB / 490.7 MB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.482e-05/0.4673, allocations: 116.8 kB / 490.8 MB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.4673, allocations: 11.95 kB / 490.8 MB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.4676, allocations: 29 kB / 490.9 MB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.4677, allocations: 15.97 kB / 490.9 MB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.4677, allocations: 19.98 kB / 490.9 MB, free: 6.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002318/0.468, allocations: 231.1 kB / 491.1 MB, free: 6.289 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.468, allocations: 0 / 491.1 MB, free: 6.289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002466/0.4705, allocations: 0.8657 MB / 492 MB, free: 5.422 MB / 414.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.003701/0.4742, allocations: 0.9809 MB / 493 MB, free: 4.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008779/0.4751, allocations: 496.3 kB / 493.5 MB, free: 3.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4751, allocations: 0 / 493.5 MB, free: 3.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.4754, allocations: 260.3 kB / 493.7 MB, free: 3.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009976/0.4764, allocations: 188.2 kB / 493.9 MB, free: 3.496 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.4779, allocations: 0.9783 MB / 494.9 MB, free: 2.488 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.4782, allocations: 0.8172 MB / 495.7 MB, free: 1.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003576/0.4786, allocations: 187 kB / 495.9 MB, free: 1.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.4787, allocations: 39.42 kB / 495.9 MB, free: 1.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4787, allocations: 0 / 495.9 MB, free: 1.43 MB / 414.1 MB Notification: Performance of Templates: time 0.04344/0.5221, allocations: 34.85 MB / 0.5183 GB, free: 14.52 MB / 462.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)