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.00136/0.00136, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001451/0.001451, allocations: 189.2 kB / 16.14 MB, free: 6.707 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.427/1.427, allocations: 205.1 MB / 222 MB, free: 4.734 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.00116/0.00116, allocations: 51.94 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2353, allocations: 46.63 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.0345/0.2699, allocations: 33.26 MB / 357.9 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01751/0.2874, allocations: 16.68 MB / 374.6 MB, free: 2.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.2878, allocations: 8 kB / 374.6 MB, free: 2.062 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006978/0.2885, allocations: 230.8 kB / 374.9 MB, free: 1.836 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006668/0.2892, allocations: 358.2 kB / 375.2 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01379/0.303, allocations: 4.673 MB / 379.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.3049, allocations: 1.45 MB / 381.3 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.3052, allocations: 81.02 kB / 381.4 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00565/0.3109, allocations: 2.134 MB / 383.5 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004794/0.3114, allocations: 310.8 kB / 383.8 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.3114, allocations: 20 kB / 383.9 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01219/0.3236, allocations: 5.998 MB / 389.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002874/0.324, allocations: 95.69 kB / 390 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005032/0.3245, allocations: 203.2 kB / 390.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009332/0.3338, allocations: 3.801 MB / 394 MB, free: 14.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.3339, allocations: 4 kB / 394 MB, free: 14.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.3339, allocations: 3.938 kB / 394 MB, free: 14.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.3339, allocations: 0 / 394 MB, free: 14.66 MB / 334.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.00188/0.3358, allocations: 0.9904 MB / 395 MB, free: 13.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3358, allocations: 12.03 kB / 395 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.3371, allocations: 152.4 kB / 395.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.3375, allocations: 311.7 kB / 395.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.3376, allocations: 21.03 kB / 395.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.3376, allocations: 36.36 kB / 395.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.3389, allocations: 0.515 MB / 396 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.3389, allocations: 3.984 kB / 396 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.339, allocations: 15.98 kB / 396 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.339, allocations: 8 kB / 396 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006249/0.3396, allocations: 329.9 kB / 396.3 MB, free: 12.16 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.002864/0.3425, allocations: 2.553 MB / 398.9 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005762/0.3431, allocations: 282.7 kB / 399.2 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.3432, allocations: 108.8 kB / 399.3 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06059/0.4038, allocations: 30.89 MB / 430.2 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.4039, allocations: 42.56 kB / 430.2 MB, free: 6.461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.695e-06/0.4039, allocations: 0 / 430.2 MB, free: 6.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.003659/0.4076, allocations: 1.187 MB / 431.4 MB, free: 5.195 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.4077, allocations: 59.34 kB / 431.5 MB, free: 5.125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.408, allocations: 266.4 kB / 431.7 MB, free: 4.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.408, allocations: 29.7 kB / 431.7 MB, free: 4.824 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.4082, allocations: 192.2 kB / 431.9 MB, free: 4.633 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.136e-05/0.4083, allocations: 106.5 kB / 432 MB, free: 4.527 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.4084, allocations: 78.03 kB / 432.1 MB, free: 4.445 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4086, allocations: 342.8 kB / 432.4 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.4087, allocations: 92.84 kB / 432.5 MB, free: 4.012 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.409, allocations: 214.9 kB / 432.7 MB, free: 3.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.4095, allocations: 346.3 kB / 433.1 MB, free: 3.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4095, allocations: 0 / 433.1 MB, free: 3.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007476/0.4103, allocations: 418.5 kB / 433.5 MB, free: 2.938 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.4103, allocations: 4 kB / 433.5 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4103, allocations: 4 kB / 433.5 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002937/0.4106, allocations: 62.19 kB / 433.6 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.411, allocations: 87.84 kB / 433.6 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.4128, allocations: 2.426 MB / 436.1 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.4131, allocations: 40.05 kB / 436.1 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.4131, allocations: 15.98 kB / 436.1 MB, free: 112 kB / 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.0002323/0.4134, allocations: 169.7 kB / 436.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.798e-05/0.4135, allocations: 27.72 kB / 436.3 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009726/0.4145, allocations: 0.8654 MB / 437.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.4145, allocations: 15.98 kB / 437.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4145, allocations: 0 / 437.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008913/0.4154, allocations: 1.044 MB / 438.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.4172, allocations: 1.489 MB / 439.7 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4172, allocations: 0 / 439.7 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.4174, allocations: 55.91 kB / 439.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002995/0.4177, allocations: 72.8 kB / 439.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.4178, allocations: 11.92 kB / 439.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003575/0.4181, allocations: 0.5913 MB / 440.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4181, allocations: 0 / 440.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009311/0.4191, allocations: 0.8246 MB / 441.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.746e-05/0.4192, allocations: 112.6 kB / 441.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.4192, allocations: 15.84 kB / 441.4 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.4196, allocations: 40.03 kB / 441.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.4197, allocations: 15.97 kB / 441.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.4197, allocations: 15.98 kB / 441.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000241/0.4199, allocations: 235.1 kB / 441.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4199, allocations: 0 / 441.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002433/0.4224, allocations: 0.859 MB / 442.6 MB, free: 9.41 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.004137/0.4265, allocations: 0.974 MB / 443.5 MB, free: 8.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009397/0.4275, allocations: 483.1 kB / 444 MB, free: 7.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4275, allocations: 4.125 kB / 444 MB, free: 7.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.4279, allocations: 252.5 kB / 444.3 MB, free: 7.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.429, allocations: 176.4 kB / 444.4 MB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.4307, allocations: 1.14 MB / 445.6 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.4311, allocations: 0.8211 MB / 446.4 MB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004443/0.4316, allocations: 191 kB / 446.6 MB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.4317, allocations: 39.42 kB / 446.6 MB, free: 5.277 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4317, allocations: 0 / 446.6 MB, free: 5.277 MB / 382.1 MB Notification: Performance of Templates: time 0.2057/0.6374, allocations: 34.48 MB / 481.1 MB, free: 97.17 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)