Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002066, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.453/1.453, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.00135/0.00135, allocations: 55.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2166, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03009/0.2467, allocations: 32.57 MB / 357.9 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01708/0.2638, allocations: 15.73 MB / 373.6 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003463/0.2643, allocations: 4 kB / 373.6 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008275/0.2651, allocations: 266.4 kB / 373.9 MB, free: 3.211 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006865/0.2658, allocations: 361.9 kB / 374.2 MB, free: 2.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01427/0.2801, allocations: 5.796 MB / 380 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.2812, allocations: 0.9738 MB / 381 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.2814, allocations: 117 kB / 381.1 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004991/0.2864, allocations: 2.181 MB / 383.3 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005156/0.287, allocations: 298.8 kB / 383.6 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.603e-05/0.2871, allocations: 32 kB / 383.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006495/0.2936, allocations: 3.52 MB / 387.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.2937, allocations: 107.7 kB / 387.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.294, allocations: 211.2 kB / 387.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00334/0.2974, allocations: 2.362 MB / 389.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2974, allocations: 0 / 389.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2974, allocations: 0 / 389.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.2974, allocations: 0 / 389.8 MB, free: 3.207 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.001389/0.2988, allocations: 0.8148 MB / 390.6 MB, free: 2.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2988, allocations: 8.031 kB / 390.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007124/0.2996, allocations: 96.5 kB / 390.7 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.2999, allocations: 299.7 kB / 391 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.3, allocations: 21.03 kB / 391 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.3, allocations: 32.38 kB / 391.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007273/0.3007, allocations: 450.1 kB / 391.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.3008, allocations: 7.938 kB / 391.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.3008, allocations: 12 kB / 391.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.3008, allocations: 8 kB / 391.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005843/0.3014, allocations: 313.9 kB / 391.9 MB, free: 1.035 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.002758/0.3042, allocations: 2.637 MB / 394.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.3048, allocations: 250.5 kB / 394.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.3049, allocations: 104.8 kB / 394.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03283/0.3378, allocations: 15.48 MB / 410.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.3378, allocations: 38.55 kB / 410.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/0.3379, allocations: 0 / 410.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.004623/0.3425, allocations: 1.308 MB / 411.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.3425, allocations: 51.41 kB / 411.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.3428, allocations: 270.5 kB / 412 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.3429, allocations: 37.7 kB / 412 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.343, allocations: 192 kB / 412.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.225e-05/0.3431, allocations: 106.5 kB / 412.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.3432, allocations: 82.03 kB / 412.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3434, allocations: 334.8 kB / 412.7 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.3436, allocations: 104.8 kB / 412.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.3438, allocations: 222.9 kB / 413 MB, free: 9.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.3443, allocations: 346.4 kB / 413.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3443, allocations: 0 / 413.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007432/0.3451, allocations: 446.5 kB / 413.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3451, allocations: 7.984 kB / 413.8 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3451, allocations: 8.438 kB / 413.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003214/0.3483, allocations: 269.3 kB / 414.1 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.3486, allocations: 79.91 kB / 414.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.3502, allocations: 1.986 MB / 416.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.3504, allocations: 8 kB / 416.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.3504, allocations: 20 kB / 416.2 MB, free: 6.23 MB / 350.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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.3506, allocations: 161.7 kB / 416.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.3507, allocations: 31.62 kB / 416.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.3519, allocations: 0.9397 MB / 417.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.3519, allocations: 15.98 kB / 417.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.352, allocations: 0 / 417.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001062/0.353, allocations: 1.111 MB / 418.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.3548, allocations: 1.591 MB / 420 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.3549, allocations: 3.938 kB / 420 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.3551, allocations: 51.92 kB / 420.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001721/0.3568, allocations: 295.8 kB / 420.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.3569, allocations: 12 kB / 420.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005629/0.3574, allocations: 0.6655 MB / 421 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3574, allocations: 4.031 kB / 421 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.3586, allocations: 0.9525 MB / 422 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.3587, allocations: 112.6 kB / 422.1 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.074e-05/0.3588, allocations: 15.94 kB / 422.1 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.359, allocations: 7.938 kB / 422.1 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.359, allocations: 20.02 kB / 422.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.3591, allocations: 12 kB / 422.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002679/0.3594, allocations: 239 kB / 422.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3594, allocations: 0 / 422.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00146/0.3608, allocations: 0.4921 MB / 422.9 MB, free: 15.25 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.T) * 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 (30): * Single equations (assignments): 27 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001821/0.3627, allocations: 0.5106 MB / 423.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009724/0.3636, allocations: 0.5395 MB / 423.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3637, allocations: 4 kB / 423.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.3641, allocations: 300.3 kB / 424.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.3652, allocations: 204.5 kB / 424.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.3667, allocations: 1.008 MB / 425.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.3671, allocations: 0.8206 MB / 426.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003264/0.3674, allocations: 111.1 kB / 426.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.3675, allocations: 31.44 kB / 426.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3675, allocations: 3.938 kB / 426.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of Templates: time 0.0265/0.394, allocations: 18.85 MB / 445.3 MB, free: 8.789 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)