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.0008968/0.0008968, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001132/0.001132, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0004423/0.0004424, allocations: 12 kB / 278.9 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2639, allocations: 47.58 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03401/0.298, allocations: 30.12 MB / 356.6 MB, free: 5.344 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01928/0.3173, allocations: 14.64 MB / 371.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005223/0.3179, allocations: 0 / 371.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009333/0.3189, allocations: 218.8 kB / 371.5 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000992/0.3199, allocations: 334.2 kB / 371.8 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01598/0.3359, allocations: 4.449 MB / 376.2 MB, free: 1.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001913/0.3378, allocations: 1.215 MB / 377.5 MB, free: 452 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.3381, allocations: 85.02 kB / 377.5 MB, free: 364 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007258/0.3454, allocations: 3.309 MB / 380.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008581/0.3463, allocations: 294.8 kB / 381.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.3464, allocations: 20 kB / 381.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01345/0.3599, allocations: 5.806 MB / 387 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.3602, allocations: 87.69 kB / 387 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.3604, allocations: 109.5 kB / 387.2 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005365/0.3658, allocations: 2.584 MB / 389.7 MB, free: 4.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.3658, allocations: 0 / 389.7 MB, free: 4.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3658, allocations: 0 / 389.7 MB, free: 4.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.3659, allocations: 0 / 389.7 MB, free: 4.133 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.002897/0.3688, allocations: 0.9084 MB / 390.6 MB, free: 3.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3688, allocations: 8.031 kB / 390.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.3703, allocations: 167.4 kB / 390.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.3708, allocations: 310.5 kB / 391.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.3709, allocations: 32.61 kB / 391.1 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.3709, allocations: 28 kB / 391.2 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.3723, allocations: 0.519 MB / 391.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3723, allocations: 0 / 391.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.3724, allocations: 20 kB / 391.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.3724, allocations: 11.94 kB / 391.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006895/0.3731, allocations: 321.9 kB / 392 MB, free: 1.695 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.003299/0.3764, allocations: 2.569 MB / 394.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/0.3771, allocations: 270.8 kB / 394.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.3773, allocations: 112.8 kB / 395 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06032/0.4376, allocations: 31.2 MB / 426.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/0.4377, allocations: 38.56 kB / 426.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 4.067e-06/0.4377, allocations: 4 kB / 426.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.003704/0.4414, allocations: 1.215 MB / 427.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.4415, allocations: 59.41 kB / 427.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.4418, allocations: 258.5 kB / 427.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.4418, allocations: 37.64 kB / 427.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.442, allocations: 192 kB / 428 MB, free: 9.828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.032e-05/0.4421, allocations: 110.4 kB / 428.1 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.594e-05/0.4421, allocations: 4 kB / 428.1 MB, free: 9.715 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4422, allocations: 338.8 kB / 428.4 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.4424, allocations: 92.84 kB / 428.5 MB, free: 9.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.4427, allocations: 210.9 kB / 428.7 MB, free: 9.027 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.4429, allocations: 131.9 kB / 428.8 MB, free: 8.898 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4429, allocations: 4 kB / 428.8 MB, free: 8.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007448/0.4437, allocations: 414.9 kB / 429.3 MB, free: 8.477 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.4437, allocations: 11.95 kB / 429.3 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.4437, allocations: 4 kB / 429.3 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002873/0.444, allocations: 65.61 kB / 429.3 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.4444, allocations: 83.91 kB / 429.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.4462, allocations: 2.426 MB / 431.8 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.4466, allocations: 28.08 kB / 431.9 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.4466, allocations: 23.98 kB / 431.9 MB, free: 5.648 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002308/0.4468, allocations: 165.7 kB / 432.1 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-05/0.4469, allocations: 27.72 kB / 432.1 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.448, allocations: 0.8707 MB / 433 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.954e-05/0.4481, allocations: 8 kB / 433 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4481, allocations: 7.938 kB / 433 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009838/0.4491, allocations: 1.037 MB / 434 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.4508, allocations: 1.485 MB / 435.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.4508, allocations: 0 / 435.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.4511, allocations: 59.91 kB / 435.5 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003387/0.4514, allocations: 76.73 kB / 435.6 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.4514, allocations: 12 kB / 435.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003381/0.4518, allocations: 0.5914 MB / 436.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4518, allocations: 0 / 436.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009354/0.4527, allocations: 0.8237 MB / 437 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.4529, allocations: 144.5 kB / 437.2 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.453, allocations: 4 kB / 437.2 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.4534, allocations: 35.97 kB / 437.2 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.4534, allocations: 27.95 kB / 437.3 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.4535, allocations: 15.98 kB / 437.3 MB, free: 16 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002618/0.4537, allocations: 231.1 kB / 437.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4537, allocations: 0 / 437.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002596/0.4563, allocations: 0.8628 MB / 438.4 MB, free: 14.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004295/0.4606, allocations: 0.9668 MB / 439.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.4617, allocations: 484.3 kB / 439.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4617, allocations: 4.062 kB / 439.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.462, allocations: 248.3 kB / 440 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.4632, allocations: 184.4 kB / 440.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.4648, allocations: 1.199 MB / 441.4 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.4652, allocations: 0.8211 MB / 442.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004045/0.4656, allocations: 182.9 kB / 442.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.116e-05/0.4657, allocations: 31.44 kB / 442.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4657, allocations: 0 / 442.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of Templates: time 0.2084/0.674, allocations: 34.81 MB / 477.3 MB, free: 102.3 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)