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.009819/0.009819, allocations: 99.47 kB / 15.73 MB, free: 6.449 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.001975/0.001975, allocations: 199.6 kB / 16.68 MB, free: 6.352 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.614/1.614, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.001137/0.001137, allocations: 53.64 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08981/0.09095, allocations: 46.62 MB / 373.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03746/0.1285, allocations: 32.57 MB / 405.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01898/0.1475, allocations: 15.72 MB / 421.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004827/0.1481, allocations: 4 kB / 421.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.1491, allocations: 266.4 kB / 421.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009561/0.1501, allocations: 361.9 kB / 422.1 MB, free: 184 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01755/0.1677, allocations: 5.792 MB / 427.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.1693, allocations: 1.009 MB / 428.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/0.1696, allocations: 105 kB / 429 MB, free: 9.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005553/0.1751, allocations: 2.2 MB / 431.2 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.1757, allocations: 302.8 kB / 431.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.1759, allocations: 40 kB / 431.6 MB, free: 6.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01221/0.1881, allocations: 6.076 MB / 437.7 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.1884, allocations: 111.7 kB / 437.8 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004793/0.1889, allocations: 235.1 kB / 438 MB, free: 268 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.2005, allocations: 3.804 MB / 441.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.2005, allocations: 0 / 441.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2005, allocations: 0 / 441.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.2005, allocations: 0 / 441.8 MB, free: 12.45 MB / 382.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.003361/0.2039, allocations: 1.007 MB / 442.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.204, allocations: 16.02 kB / 442.8 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.2054, allocations: 148.6 kB / 443 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000614/0.206, allocations: 335.7 kB / 443.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.206, allocations: 21.03 kB / 443.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.2061, allocations: 32.38 kB / 443.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.2074, allocations: 0.519 MB / 443.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.2074, allocations: 3.938 kB / 443.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.2075, allocations: 16 kB / 443.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.2075, allocations: 8 kB / 443.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/0.2081, allocations: 325.9 kB / 444.2 MB, free: 9.91 MB / 382.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.003126/0.2113, allocations: 2.562 MB / 446.8 MB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005893/0.2119, allocations: 271.8 kB / 447 MB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.2121, allocations: 112.8 kB / 447.1 MB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2748/0.4869, allocations: 31.03 MB / 478.2 MB, free: 57.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.004e-05/0.487, allocations: 30.56 kB / 478.2 MB, free: 57.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 3.947e-06/0.487, allocations: 0 / 478.2 MB, free: 57.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.003472/0.4905, allocations: 1.198 MB / 479.4 MB, free: 57.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.4905, allocations: 55.28 kB / 479.5 MB, free: 57.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.4908, allocations: 263.5 kB / 479.7 MB, free: 56.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.4909, allocations: 29.7 kB / 479.7 MB, free: 56.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.491, allocations: 195.1 kB / 479.9 MB, free: 56.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.4911, allocations: 116.3 kB / 480 MB, free: 56.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.8e-05/0.4912, allocations: 76.47 kB / 480.1 MB, free: 56.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.4912, allocations: 347.8 kB / 480.5 MB, free: 56.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.4914, allocations: 87.91 kB / 480.5 MB, free: 56.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.4916, allocations: 220.7 kB / 480.8 MB, free: 56.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.4919, allocations: 336.8 kB / 481.1 MB, free: 55.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4919, allocations: 3.406 kB / 481.1 MB, free: 55.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006157/0.4926, allocations: 411.5 kB / 481.5 MB, free: 55.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.4926, allocations: 7.75 kB / 481.5 MB, free: 55.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.4926, allocations: 8.719 kB / 481.5 MB, free: 55.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.4929, allocations: 54.5 kB / 481.6 MB, free: 55.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.4933, allocations: 91.2 kB / 481.7 MB, free: 55.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.4946, allocations: 2.535 MB / 484.2 MB, free: 52.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.4948, allocations: 11.97 kB / 484.2 MB, free: 52.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.4949, allocations: 25.52 kB / 484.2 MB, free: 52.88 MB / 382.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.0001842/0.4951, allocations: 155.3 kB / 484.4 MB, free: 52.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.4952, allocations: 34.41 kB / 484.4 MB, free: 52.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008363/0.496, allocations: 0.871 MB / 485.3 MB, free: 52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.496, allocations: 11.98 kB / 485.3 MB, free: 51.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.496, allocations: 0 / 485.3 MB, free: 51.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006419/0.4967, allocations: 1.044 MB / 486.3 MB, free: 50.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.4979, allocations: 1.485 MB / 487.8 MB, free: 49.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4979, allocations: 6.375 kB / 487.8 MB, free: 49.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.4981, allocations: 51.92 kB / 487.9 MB, free: 49.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002655/0.4984, allocations: 77.3 kB / 488 MB, free: 49.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.4984, allocations: 8 kB / 488 MB, free: 49.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002201/0.4986, allocations: 0.5913 MB / 488.6 MB, free: 48.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4986, allocations: 0 / 488.6 MB, free: 48.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007411/0.4994, allocations: 0.8252 MB / 489.4 MB, free: 47.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.4995, allocations: 117.4 kB / 489.5 MB, free: 47.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.4995, allocations: 10.23 kB / 489.5 MB, free: 47.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.4998, allocations: 27.91 kB / 489.5 MB, free: 47.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.4998, allocations: 27.91 kB / 489.6 MB, free: 47.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.4999, allocations: 12 kB / 489.6 MB, free: 47.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001765/0.5001, allocations: 239.1 kB / 489.8 MB, free: 47.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5001, allocations: 0 / 489.8 MB, free: 47.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00226/0.5023, allocations: 0.8605 MB / 490.7 MB, free: 46.5 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.003815/0.5062, allocations: 0.9821 MB / 491.6 MB, free: 45.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007534/0.5069, allocations: 495.3 kB / 492.1 MB, free: 45.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.507, allocations: 0 / 492.1 MB, free: 45.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00029/0.5072, allocations: 242 kB / 492.4 MB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000935/0.5082, allocations: 189.9 kB / 492.5 MB, free: 44.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.5094, allocations: 0.9947 MB / 493.5 MB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.5096, allocations: 0.8172 MB / 494.4 MB, free: 42.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003104/0.5099, allocations: 186.9 kB / 494.5 MB, free: 42.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.51, allocations: 31.44 kB / 494.6 MB, free: 42.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.51, allocations: 2.156 kB / 494.6 MB, free: 42.66 MB / 382.1 MB Notification: Performance of Templates: time 0.03423/0.5442, allocations: 34.86 MB / 0.517 GB, free: 7.781 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)