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.001541/0.001541, 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.002132/0.002132, allocations: 198.5 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.494/1.494, allocations: 205.1 MB / 222 MB, free: 5 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.001188/0.001188, allocations: 51.92 kB / 278.1 MB, free: 12.99 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2435, allocations: 46.62 MB / 324.7 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.037/0.2806, allocations: 33.26 MB / 357.9 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0192/0.2998, allocations: 16.68 MB / 374.6 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004317/0.3003, allocations: 4 kB / 374.6 MB, free: 2.098 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009195/0.3013, allocations: 238.8 kB / 374.9 MB, free: 1.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007734/0.302, allocations: 350.2 kB / 375.2 MB, free: 1.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01595/0.318, allocations: 4.676 MB / 379.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001878/0.3199, allocations: 1.453 MB / 381.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.3201, allocations: 81.03 kB / 381.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005678/0.3258, allocations: 2.126 MB / 383.5 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004325/0.3263, allocations: 314.8 kB / 383.8 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/0.3263, allocations: 20 kB / 383.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01042/0.3368, allocations: 6.005 MB / 389.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.337, allocations: 91.7 kB / 390 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.3373, allocations: 207.2 kB / 390.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008017/0.3453, allocations: 3.793 MB / 394 MB, free: 14.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3454, allocations: 0 / 394 MB, free: 14.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3454, allocations: 4 kB / 394 MB, free: 14.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3454, allocations: 0 / 394 MB, free: 14.7 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.002055/0.3475, allocations: 0.9942 MB / 395 MB, free: 13.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.3475, allocations: 12.03 kB / 395 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.3488, allocations: 144.4 kB / 395.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.3492, allocations: 319.6 kB / 395.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.3493, allocations: 25.03 kB / 395.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.3493, allocations: 32.38 kB / 395.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.3505, allocations: 0.5189 MB / 396 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.3506, allocations: 0 / 396 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/0.3506, allocations: 16 kB / 396 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3506, allocations: 8 kB / 396 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006132/0.3513, allocations: 325.9 kB / 396.3 MB, free: 12.19 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.00269/0.354, allocations: 2.553 MB / 398.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005593/0.3545, allocations: 278.7 kB / 399.2 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.3547, allocations: 112.8 kB / 399.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05947/0.4142, allocations: 30.89 MB / 430.2 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.4143, allocations: 34.56 kB / 430.2 MB, free: 6.504 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.084e-06/0.4143, allocations: 0 / 430.2 MB, free: 6.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.003567/0.4178, allocations: 1.187 MB / 431.4 MB, free: 5.238 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.4179, allocations: 63.34 kB / 431.4 MB, free: 5.164 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.4182, allocations: 266.4 kB / 431.7 MB, free: 4.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.4182, allocations: 29.7 kB / 431.7 MB, free: 4.863 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.4184, allocations: 188.1 kB / 431.9 MB, free: 4.676 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.31e-05/0.4185, allocations: 114.5 kB / 432 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.4186, allocations: 78.03 kB / 432.1 MB, free: 4.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4187, allocations: 342.8 kB / 432.4 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.4189, allocations: 92.83 kB / 432.5 MB, free: 4.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.4192, allocations: 210.9 kB / 432.7 MB, free: 3.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.4197, allocations: 350.3 kB / 433.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4197, allocations: 0 / 433.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006904/0.4204, allocations: 414.6 kB / 433.5 MB, free: 2.977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.4204, allocations: 4 kB / 433.5 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.4204, allocations: 4 kB / 433.5 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002894/0.4207, allocations: 62.16 kB / 433.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.4211, allocations: 91.83 kB / 433.6 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.4227, allocations: 2.426 MB / 436.1 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.423, allocations: 36.02 kB / 436.1 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.423, allocations: 16 kB / 436.1 MB, free: 152 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.0002373/0.4233, allocations: 161.7 kB / 436.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.793e-05/0.4234, allocations: 31.72 kB / 436.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.4245, allocations: 0.8693 MB / 437.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.4246, allocations: 11.98 kB / 437.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4246, allocations: 0 / 437.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/0.4256, allocations: 1.048 MB / 438.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.4275, allocations: 1.485 MB / 439.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.4275, allocations: 0 / 439.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.4277, allocations: 55.92 kB / 439.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003376/0.4281, allocations: 72.78 kB / 439.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.4281, allocations: 7.938 kB / 439.9 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004555/0.4286, allocations: 0.5952 MB / 440.5 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4286, allocations: 0 / 440.5 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009372/0.4295, allocations: 0.8277 MB / 441.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.4296, allocations: 108.6 kB / 441.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.4297, allocations: 19.78 kB / 441.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.43, allocations: 31.97 kB / 441.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.4301, allocations: 24.03 kB / 441.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.4301, allocations: 15.98 kB / 441.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002225/0.4303, allocations: 231.1 kB / 441.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4303, allocations: 0 / 441.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003135/0.4335, allocations: 0.859 MB / 442.6 MB, free: 9.453 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.003712/0.4372, allocations: 0.9786 MB / 443.5 MB, free: 8.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.4382, allocations: 483.7 kB / 444 MB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4382, allocations: 0 / 444 MB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003668/0.4386, allocations: 256.3 kB / 444.3 MB, free: 7.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.4397, allocations: 172.4 kB / 444.4 MB, free: 7.555 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.4414, allocations: 1.155 MB / 445.6 MB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.4417, allocations: 0.825 MB / 446.4 MB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003888/0.4421, allocations: 191 kB / 446.6 MB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.4422, allocations: 31.44 kB / 446.6 MB, free: 5.309 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4422, allocations: 0 / 446.6 MB, free: 5.309 MB / 382.1 MB Notification: Performance of Templates: time 0.1872/0.6294, allocations: 34.48 MB / 481.1 MB, free: 97.2 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)