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_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.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 108 kB / 15.6 MB, free: 132 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.001107/0.001107, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.471/1.471, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.001205/0.001205, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2225, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.0325/0.255, allocations: 32.57 MB / 357.9 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01794/0.273, allocations: 15.72 MB / 373.6 MB, free: 3.469 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003776/0.2735, allocations: 7.938 kB / 373.6 MB, free: 3.461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008719/0.2743, allocations: 274.4 kB / 373.9 MB, free: 3.191 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007509/0.2751, allocations: 361.9 kB / 374.2 MB, free: 2.836 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01612/0.2912, allocations: 5.788 MB / 380 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.2925, allocations: 0.9932 MB / 381 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.2927, allocations: 116.9 kB / 381.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005245/0.2979, allocations: 2.189 MB / 383.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004113/0.2984, allocations: 314.8 kB / 383.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.673e-05/0.2984, allocations: 36 kB / 383.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/0.3096, allocations: 5.939 MB / 389.6 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.3098, allocations: 107.7 kB / 389.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003461/0.3102, allocations: 223.2 kB / 389.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007445/0.3176, allocations: 3.781 MB / 393.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3177, allocations: 0 / 393.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3177, allocations: 0 / 393.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3177, allocations: 0 / 393.7 MB, free: 15.29 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.002374/0.3201, allocations: 1.025 MB / 394.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3201, allocations: 12.03 kB / 394.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.3214, allocations: 140.4 kB / 394.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.3218, allocations: 327.6 kB / 395.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.3219, allocations: 29.03 kB / 395.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.808e-05/0.3219, allocations: 36.38 kB / 395.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.3233, allocations: 0.5424 MB / 395.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.3233, allocations: 7.938 kB / 395.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.3234, allocations: 16 kB / 395.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3234, allocations: 8 kB / 395.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.3249, allocations: 0.5055 MB / 396.3 MB, free: 12.53 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.003123/0.328, allocations: 2.612 MB / 399 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.3295, allocations: 434.3 kB / 399.4 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004246/0.33, allocations: 176.7 kB / 399.6 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008106/0.3308, allocations: 0.5602 MB / 400.1 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3308, allocations: 39.06 kB / 400.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.353e-06/0.3308, allocations: 0 / 400.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.004766/0.3356, allocations: 1.503 MB / 401.7 MB, free: 6.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.3357, allocations: 55.39 kB / 401.7 MB, free: 6.703 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.3359, allocations: 241 kB / 401.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.3359, allocations: 33.7 kB / 402 MB, free: 6.418 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3361, allocations: 180.2 kB / 402.2 MB, free: 6.238 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.309e-05/0.3362, allocations: 122.3 kB / 402.3 MB, free: 6.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3363, allocations: 78.12 kB / 402.4 MB, free: 6.035 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3364, allocations: 338.8 kB / 402.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.3368, allocations: 136.8 kB / 402.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/0.3373, allocations: 247.3 kB / 403.1 MB, free: 5.285 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008488/0.3381, allocations: 382.9 kB / 403.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3381, allocations: 4 kB / 403.4 MB, free: 4.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001265/0.3394, allocations: 0.5111 MB / 403.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3394, allocations: 4.625 kB / 404 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3395, allocations: 7.938 kB / 404 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004913/0.34, allocations: 110.8 kB / 404.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.3403, allocations: 95.81 kB / 404.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.3422, allocations: 2.499 MB / 406.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.3425, allocations: 27.97 kB / 406.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.3426, allocations: 16 kB / 406.7 MB, free: 1.379 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.3428, allocations: 165.9 kB / 406.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.3428, allocations: 27.72 kB / 406.9 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.3448, allocations: 1.331 MB / 408.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.452e-05/0.3448, allocations: 23.97 kB / 408.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.3448, allocations: 0 / 408.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001702/0.3465, allocations: 1.417 MB / 409.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.3492, allocations: 2.108 MB / 411.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3492, allocations: 0 / 411.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004027/0.3496, allocations: 91.86 kB / 411.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003124/0.35, allocations: 72.7 kB / 411.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.35, allocations: 20.05 kB / 412 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000368/0.3504, allocations: 0.5914 MB / 412.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3504, allocations: 0 / 412.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.3523, allocations: 1.274 MB / 413.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.462e-05/0.3524, allocations: 128.3 kB / 413.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.3525, allocations: 23.83 kB / 414 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.3527, allocations: 15.98 kB / 414 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.519e-05/0.3528, allocations: 35.95 kB / 414 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.3529, allocations: 15.98 kB / 414 MB, free: 9.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000254/0.3531, allocations: 235 kB / 414.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3531, allocations: 8 kB / 414.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002836/0.356, allocations: 0.8551 MB / 415.1 MB, free: 8.695 MB / 350.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: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003359/0.3594, allocations: 0.9722 MB / 416.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.361, allocations: 0.6659 MB / 416.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.361, allocations: 0 / 416.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006713/0.3617, allocations: 416.6 kB / 417.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.3628, allocations: 199.7 kB / 417.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.3649, allocations: 1.271 MB / 418.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.3655, allocations: 0.8649 MB / 419.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003576/0.3659, allocations: 147 kB / 419.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.3661, allocations: 39.42 kB / 419.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3661, allocations: 0 / 419.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of Templates: time 0.04965/0.4157, allocations: 35.81 MB / 455.5 MB, free: 200 kB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)