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.001716/0.001716, 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.00213/0.00213, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.419/1.419, allocations: 205.1 MB / 222 MB, free: 4.992 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.001099/0.001099, allocations: 51.92 kB / 278.1 MB, free: 12.99 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2259, 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.WaterIF97_ph): time 0.03294/0.2588, allocations: 33.26 MB / 357.9 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01882/0.2777, allocations: 16.68 MB / 374.6 MB, free: 2.098 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003984/0.2782, allocations: 7.938 kB / 374.6 MB, free: 2.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008867/0.2791, allocations: 234.8 kB / 374.9 MB, free: 1.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009332/0.2801, allocations: 350.2 kB / 375.2 MB, free: 1.516 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01585/0.2959, allocations: 4.68 MB / 379.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00179/0.2978, allocations: 1.434 MB / 381.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.2979, allocations: 85.03 kB / 381.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005355/0.3033, allocations: 2.13 MB / 383.5 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000411/0.3037, allocations: 318.7 kB / 383.8 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.3038, allocations: 20 kB / 383.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01279/0.3166, allocations: 5.994 MB / 389.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.3168, allocations: 91.7 kB / 389.9 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.3172, allocations: 207.2 kB / 390.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008546/0.3257, allocations: 3.785 MB / 393.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3258, allocations: 0 / 393.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3258, allocations: 0 / 393.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.3258, allocations: 0 / 393.9 MB, free: 14.72 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.002553/0.3284, allocations: 1.021 MB / 395 MB, free: 13.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3284, allocations: 8.031 kB / 395 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.3297, allocations: 148.4 kB / 395.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.3302, allocations: 311.6 kB / 395.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.3302, allocations: 29.03 kB / 395.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.3304, allocations: 32.38 kB / 395.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.3318, allocations: 0.5541 MB / 396 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.3318, allocations: 0 / 396 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.3318, allocations: 15.98 kB / 396 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.3319, allocations: 8 kB / 396 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.3333, allocations: 0.4977 MB / 396.5 MB, free: 11.98 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.003387/0.3367, allocations: 2.604 MB / 399.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.3382, allocations: 446.3 kB / 399.6 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/0.3386, allocations: 164.8 kB / 399.7 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008885/0.3395, allocations: 0.5641 MB / 400.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3396, allocations: 39 kB / 400.3 MB, free: 7.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 2.084e-06/0.3396, allocations: 0 / 400.3 MB, free: 7.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.004911/0.3445, allocations: 1.512 MB / 401.9 MB, free: 6.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.3445, allocations: 51.41 kB / 401.9 MB, free: 6.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.3449, allocations: 249 kB / 402.2 MB, free: 5.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.3449, allocations: 33.7 kB / 402.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3451, allocations: 188.2 kB / 402.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.162e-05/0.3452, allocations: 122.2 kB / 402.5 MB, free: 5.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.3453, allocations: 74.12 kB / 402.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.3454, allocations: 338.8 kB / 402.9 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.3458, allocations: 136.8 kB / 403 MB, free: 4.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.3463, allocations: 243.4 kB / 403.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009563/0.3472, allocations: 386.8 kB / 403.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3473, allocations: 4 kB / 403.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001247/0.3485, allocations: 0.5072 MB / 404.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3485, allocations: 4 kB / 404.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3486, allocations: 7.938 kB / 404.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004935/0.349, allocations: 106.8 kB / 404.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.3495, allocations: 91.94 kB / 404.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.3513, allocations: 2.408 MB / 406.8 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.3517, allocations: 39.95 kB / 406.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.3518, allocations: 20.09 kB / 406.8 MB, free: 0.9102 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.0001894/0.352, allocations: 161.7 kB / 407 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.608e-05/0.3521, allocations: 35.56 kB / 407 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.354, allocations: 1.328 MB / 408.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.354, allocations: 15.97 kB / 408.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.354, allocations: 0 / 408.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00169/0.3557, allocations: 1.433 MB / 409.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/0.3583, allocations: 2.108 MB / 411.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3583, allocations: 0 / 411.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.3588, allocations: 91.86 kB / 412 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003552/0.3591, allocations: 68.8 kB / 412.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.3592, allocations: 8 kB / 412.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004042/0.3596, allocations: 0.5953 MB / 412.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3596, allocations: 3.984 kB / 412.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.3614, allocations: 1.275 MB / 413.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.3615, allocations: 136.2 kB / 414.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.3616, allocations: 15.91 kB / 414.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.362, allocations: 43.91 kB / 414.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.3621, allocations: 35.94 kB / 414.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.3621, allocations: 12 kB / 414.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002402/0.3623, allocations: 235 kB / 414.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3623, allocations: 0 / 414.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00261/0.365, allocations: 0.859 MB / 415.3 MB, free: 8.203 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.00368/0.3686, allocations: 0.9669 MB / 416.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.3702, allocations: 0.646 MB / 416.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3702, allocations: 0 / 416.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000782/0.371, allocations: 413.3 kB / 417.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.3723, allocations: 184.9 kB / 417.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.3746, allocations: 1.508 MB / 419 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.3751, allocations: 0.8766 MB / 419.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004664/0.3756, allocations: 151 kB / 420 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.3757, allocations: 35.44 kB / 420 MB, free: 3.371 MB / 350.1 MB Notification: Performance of SimCode: time 5.1e-07/0.3757, allocations: 0 / 420 MB, free: 3.371 MB / 350.1 MB Notification: Performance of Templates: time 0.04712/0.4228, allocations: 35.29 MB / 455.3 MB, free: 28 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)