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.001088/0.001088, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001324/0.001324, allocations: 177.3 kB / 15.95 MB, free: 216 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.435/1.435, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004537/0.0004538, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2474, allocations: 47.58 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.02861/0.2761, allocations: 27.27 MB / 353.7 MB, free: 8.191 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01658/0.2927, allocations: 13.35 MB / 367.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004515/0.2932, allocations: 7.938 kB / 367.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007269/0.2939, allocations: 231 kB / 367.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005453/0.2945, allocations: 247.3 kB / 367.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01439/0.3089, allocations: 4.531 MB / 372.1 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.31, allocations: 0.5583 MB / 372.6 MB, free: 5.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.3102, allocations: 85.02 kB / 372.7 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006488/0.3167, allocations: 3.274 MB / 376 MB, free: 1.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.3171, allocations: 199.2 kB / 376.2 MB, free: 1.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.3172, allocations: 16 kB / 376.2 MB, free: 1.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01267/0.3299, allocations: 5.931 MB / 382.1 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.3301, allocations: 87.7 kB / 382.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.3303, allocations: 109.5 kB / 382.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005165/0.3355, allocations: 2.58 MB / 384.9 MB, free: 8.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3355, allocations: 0 / 384.9 MB, free: 8.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3355, allocations: 0 / 384.9 MB, free: 8.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.3356, allocations: 0 / 384.9 MB, free: 8.938 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.002358/0.3379, allocations: 0.9123 MB / 385.8 MB, free: 7.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.338, allocations: 12.02 kB / 385.8 MB, free: 7.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.3394, allocations: 159.4 kB / 386 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.3398, allocations: 310.5 kB / 386.3 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.3398, allocations: 28.61 kB / 386.3 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.3399, allocations: 32 kB / 386.4 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.3411, allocations: 0.5151 MB / 386.9 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.3411, allocations: 4 kB / 386.9 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.3412, allocations: 16 kB / 386.9 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.3412, allocations: 8 kB / 386.9 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005884/0.3418, allocations: 325.9 kB / 387.2 MB, free: 6.504 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.003063/0.3448, allocations: 2.573 MB / 389.8 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/0.3454, allocations: 270.7 kB / 390.1 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06633/0.4118, allocations: 31.2 MB / 421.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/0.4119, allocations: 34.56 kB / 421.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 4.629e-06/0.4119, allocations: 4 kB / 421.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003854/0.4158, allocations: 1.211 MB / 422.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.4158, allocations: 59.39 kB / 422.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.4162, allocations: 258.5 kB / 422.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.569e-05/0.4163, allocations: 29.7 kB / 422.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.4165, allocations: 188 kB / 423 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.4166, allocations: 110.4 kB / 423.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.4166, allocations: 12 kB / 423.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4168, allocations: 342.8 kB / 423.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.417, allocations: 92.78 kB / 423.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.4172, allocations: 210.9 kB / 423.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.4175, allocations: 124 kB / 423.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4175, allocations: 0 / 423.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007111/0.4182, allocations: 414.6 kB / 424.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.4182, allocations: 11.94 kB / 424.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.4182, allocations: 7.953 kB / 424.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002803/0.4185, allocations: 74.08 kB / 424.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.4189, allocations: 83.91 kB / 424.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.4208, allocations: 2.43 MB / 426.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.4212, allocations: 32.17 kB / 426.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.4212, allocations: 16 kB / 427 MB, free: 10.57 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.0002586/0.4215, allocations: 173.6 kB / 427.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.146e-05/0.4216, allocations: 27.72 kB / 427.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.4227, allocations: 0.859 MB / 428 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.4227, allocations: 12 kB / 428 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.4227, allocations: 4 kB / 428 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009881/0.4237, allocations: 1.049 MB / 429.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.4256, allocations: 1.481 MB / 430.6 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.4256, allocations: 0 / 430.6 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.4258, allocations: 55.91 kB / 430.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003604/0.4262, allocations: 84.77 kB / 430.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.4262, allocations: 7.953 kB / 430.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003616/0.4266, allocations: 0.5874 MB / 431.3 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/0.4266, allocations: 3.984 kB / 431.3 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009789/0.4276, allocations: 0.8315 MB / 432.1 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.4277, allocations: 140.4 kB / 432.3 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.4278, allocations: 4 kB / 432.3 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.4282, allocations: 40.03 kB / 432.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.4282, allocations: 23.97 kB / 432.3 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.4282, allocations: 15.98 kB / 432.4 MB, free: 4.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.4285, allocations: 227.1 kB / 432.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4285, allocations: 0 / 432.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002522/0.431, allocations: 0.859 MB / 433.4 MB, free: 3.852 MB / 366.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.00457/0.4356, allocations: 0.9747 MB / 434.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009258/0.4365, allocations: 484.2 kB / 434.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4365, allocations: 0 / 434.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.4369, allocations: 248.4 kB / 435.1 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.4379, allocations: 176.5 kB / 435.3 MB, free: 1.961 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.4397, allocations: 1.2 MB / 436.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.4401, allocations: 0.8329 MB / 437.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004014/0.4405, allocations: 186.9 kB / 437.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.4406, allocations: 35.38 kB / 437.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4406, allocations: 0 / 437.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of Templates: time 0.2209/0.6615, allocations: 34.78 MB / 472.3 MB, free: 107.3 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: