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.0009023/0.0009023, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001275/0.001276, allocations: 168.7 kB / 15.95 MB, free: 204 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.498/1.498, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0004539/0.000454, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2565, allocations: 47.59 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03106/0.2876, allocations: 30.11 MB / 356.6 MB, free: 5.328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01634/0.304, allocations: 14.63 MB / 371.2 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004696/0.3045, allocations: 4 kB / 371.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006897/0.3052, allocations: 206.8 kB / 371.4 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007231/0.3059, allocations: 338.2 kB / 371.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01495/0.3209, allocations: 4.457 MB / 376.2 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.3225, allocations: 1.192 MB / 377.4 MB, free: 464 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/0.3228, allocations: 81.03 kB / 377.5 MB, free: 380 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00685/0.3297, allocations: 3.293 MB / 380.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005628/0.3303, allocations: 290.8 kB / 381.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.62e-05/0.3304, allocations: 16 kB / 381.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006935/0.3373, allocations: 3.356 MB / 384.5 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.3376, allocations: 83.7 kB / 384.5 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.3378, allocations: 105.6 kB / 384.6 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002908/0.3407, allocations: 1.637 MB / 386.3 MB, free: 7.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3407, allocations: 3.938 kB / 386.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3407, allocations: 0 / 386.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.3407, allocations: 0 / 386.3 MB, free: 7.578 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.001715/0.3425, allocations: 0.7485 MB / 387 MB, free: 6.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.3425, allocations: 8.031 kB / 387 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007924/0.3433, allocations: 83.48 kB / 387.1 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.3439, allocations: 298.5 kB / 387.4 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.3439, allocations: 28.61 kB / 387.4 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/0.344, allocations: 28 kB / 387.5 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009105/0.3449, allocations: 438.2 kB / 387.9 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.3449, allocations: 7.984 kB / 387.9 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.345, allocations: 19.94 kB / 387.9 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.345, allocations: 12 kB / 387.9 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007018/0.3457, allocations: 317.8 kB / 388.2 MB, free: 5.477 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.0028/0.3485, allocations: 2.618 MB / 390.9 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/0.3491, allocations: 250.5 kB / 391.1 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.3492, allocations: 108.8 kB / 391.2 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02961/0.3789, allocations: 15.6 MB / 406.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.379, allocations: 38.56 kB / 406.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 3.096e-06/0.379, allocations: 0 / 406.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.00469/0.3837, allocations: 1.304 MB / 408.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.3837, allocations: 55.41 kB / 408.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.384, allocations: 262.6 kB / 408.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.3841, allocations: 33.7 kB / 408.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.3842, allocations: 207.8 kB / 408.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.972e-05/0.3843, allocations: 102.5 kB / 408.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/0.3843, allocations: 8 kB / 408.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3845, allocations: 334.8 kB / 409.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.3847, allocations: 100.8 kB / 409.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.3849, allocations: 222.9 kB / 409.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.3852, allocations: 132 kB / 409.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3852, allocations: 0 / 409.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007507/0.386, allocations: 439 kB / 410 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.386, allocations: 8 kB / 410 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.386, allocations: 8.031 kB / 410 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002787/0.3888, allocations: 265.3 kB / 410.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.3891, allocations: 75.91 kB / 410.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.3906, allocations: 1.879 MB / 412.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.3909, allocations: 19.94 kB / 412.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.391, allocations: 27.98 kB / 412.3 MB, free: 11.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002054/0.3912, allocations: 162.1 kB / 412.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.3913, allocations: 35.62 kB / 412.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.3924, allocations: 0.9552 MB / 413.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.3924, allocations: 11.98 kB / 413.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3925, allocations: 0 / 413.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009842/0.3934, allocations: 1.107 MB / 414.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.3953, allocations: 1.591 MB / 416.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.3953, allocations: 7.984 kB / 416.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.3956, allocations: 47.92 kB / 416.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/0.3972, allocations: 295.8 kB / 416.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.3972, allocations: 7.984 kB / 416.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005681/0.3978, allocations: 0.6655 MB / 417.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3978, allocations: 32 / 417.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.3992, allocations: 0.9565 MB / 418.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.3994, allocations: 140.4 kB / 418.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/0.3995, allocations: 7.938 kB / 418.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.3997, allocations: 19.92 kB / 418.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.3998, allocations: 23.98 kB / 418.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.3998, allocations: 11.98 kB / 418.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000291/0.4001, allocations: 239.1 kB / 418.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4001, allocations: 0 / 418.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001567/0.4017, allocations: 0.4959 MB / 419 MB, free: 4 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.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 (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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002219/0.4039, allocations: 0.5028 MB / 419.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009705/0.4049, allocations: 0.5185 MB / 420.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4049, allocations: 0 / 420.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004294/0.4054, allocations: 296.3 kB / 420.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.4065, allocations: 189.2 kB / 420.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.4082, allocations: 1.217 MB / 421.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.4087, allocations: 0.8205 MB / 422.6 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003591/0.409, allocations: 119.1 kB / 422.7 MB, free: 284 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.083e-05/0.4091, allocations: 31.44 kB / 422.7 MB, free: 252 kB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4091, allocations: 0 / 422.7 MB, free: 252 kB / 350.1 MB Notification: Performance of Templates: time 0.03085/0.44, allocations: 18.55 MB / 441.3 MB, free: 13.66 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)