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.001714/0.001714, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001928/0.001928, allocations: 187.3 kB / 16.25 MB, free: 6.625 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.398/1.398, allocations: 205.1 MB / 222.1 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.00114/0.00114, allocations: 47.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2183, allocations: 46.63 MB / 324.9 MB, free: 2.059 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03475/0.2531, allocations: 32.5 MB / 357.4 MB, free: 3.617 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01704/0.2702, allocations: 15.77 MB / 373.1 MB, free: 3.801 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004261/0.2707, allocations: 4 kB / 373.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008346/0.2716, allocations: 242.8 kB / 373.4 MB, free: 3.559 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007711/0.2723, allocations: 338.2 kB / 373.7 MB, free: 3.227 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01661/0.289, allocations: 5.134 MB / 378.8 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.2904, allocations: 0.9932 MB / 379.8 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.2907, allocations: 113 kB / 379.9 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004574/0.2952, allocations: 2.189 MB / 382.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004035/0.2957, allocations: 322.8 kB / 382.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.2957, allocations: 40 kB / 382.5 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/0.306, allocations: 5.99 MB / 388.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.3062, allocations: 111.6 kB / 388.6 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003689/0.3066, allocations: 227.2 kB / 388.8 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009204/0.3158, allocations: 3.797 MB / 392.6 MB, free: 268 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.138e-06/0.3159, allocations: 0 / 392.6 MB, free: 268 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3159, allocations: 0 / 392.6 MB, free: 268 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.3159, allocations: 0 / 392.6 MB, free: 268 kB / 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.002292/0.3182, allocations: 1.014 MB / 393.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.3182, allocations: 11.97 kB / 393.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.3195, allocations: 148.4 kB / 393.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.32, allocations: 315.6 kB / 394.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/0.32, allocations: 33.03 kB / 394.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.3201, allocations: 28.38 kB / 394.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.3215, allocations: 0.5501 MB / 394.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.3215, allocations: 0 / 394.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.3216, allocations: 20 kB / 394.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3216, allocations: 12 kB / 394.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.323, allocations: 0.5016 MB / 395.2 MB, free: 13.51 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.002978/0.326, allocations: 2.608 MB / 397.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.3274, allocations: 438.3 kB / 398.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.3278, allocations: 165.2 kB / 398.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007669/0.3286, allocations: 0.5602 MB / 399 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.3287, allocations: 42.56 kB / 399 MB, free: 9.344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 2.294e-06/0.3287, allocations: 0 / 399 MB, free: 9.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.004709/0.3334, allocations: 1.5 MB / 400.5 MB, free: 7.766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.3334, allocations: 55.41 kB / 400.6 MB, free: 7.699 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.3337, allocations: 249 kB / 400.8 MB, free: 7.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.3338, allocations: 29.7 kB / 400.8 MB, free: 7.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.3339, allocations: 184.1 kB / 401 MB, free: 7.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.853e-05/0.334, allocations: 110.3 kB / 401.1 MB, free: 7.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.3342, allocations: 86.12 kB / 401.2 MB, free: 7.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3343, allocations: 338.7 kB / 401.5 MB, free: 6.688 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.3347, allocations: 140.7 kB / 401.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004266/0.3351, allocations: 243.4 kB / 401.9 MB, free: 6.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007781/0.3359, allocations: 394.8 kB / 402.3 MB, free: 5.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3359, allocations: 0 / 402.3 MB, free: 5.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001201/0.3371, allocations: 0.5073 MB / 402.8 MB, free: 5.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3372, allocations: 11.94 kB / 402.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3372, allocations: 7.938 kB / 402.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005076/0.3377, allocations: 102.8 kB / 402.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.338, allocations: 87.88 kB / 403 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.3402, allocations: 2.511 MB / 405.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.3406, allocations: 40.12 kB / 405.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.3406, allocations: 16 kB / 405.6 MB, free: 2.352 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.0002149/0.3408, allocations: 169.6 kB / 405.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.813e-05/0.3409, allocations: 35.56 kB / 405.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.3428, allocations: 1.32 MB / 407.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.3429, allocations: 23.97 kB / 407.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.3429, allocations: 0 / 407.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001678/0.3446, allocations: 1.421 MB / 408.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002554/0.3471, allocations: 2.108 MB / 410.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3471, allocations: 0 / 410.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.3475, allocations: 91.92 kB / 410.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003358/0.3479, allocations: 68.73 kB / 410.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/0.3479, allocations: 11.98 kB / 410.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003443/0.3483, allocations: 0.5952 MB / 411.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3483, allocations: 0 / 411.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.3501, allocations: 1.27 MB / 412.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.3502, allocations: 144.2 kB / 412.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.3503, allocations: 15.84 kB / 412.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.3506, allocations: 47.86 kB / 412.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3508, allocations: 31.95 kB / 412.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.3508, allocations: 15.98 kB / 412.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002579/0.3511, allocations: 231.1 kB / 413.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3511, allocations: 0 / 413.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00275/0.3538, allocations: 0.859 MB / 414 MB, free: 9.648 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.00466/0.3585, allocations: 0.9643 MB / 415 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.3602, allocations: 0.6659 MB / 415.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3602, allocations: 11.94 kB / 415.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006689/0.3609, allocations: 408.7 kB / 416.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.362, allocations: 204.7 kB / 416.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.3643, allocations: 1.508 MB / 417.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.3647, allocations: 0.8804 MB / 418.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004089/0.3651, allocations: 143 kB / 418.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.3652, allocations: 43.42 kB / 418.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3652, allocations: 0 / 418.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of Templates: time 0.04525/0.4105, allocations: 35.69 MB / 454.5 MB, free: 1.012 MB / 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)