Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001111/0.001112, allocations: 95.22 kB / 16.3 MB, free: 5.996 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.001261/0.001261, allocations: 183.9 kB / 17.2 MB, free: 5.914 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.464/1.464, allocations: 205.4 MB / 223.4 MB, free: 5.77 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.0004286/0.0004286, allocations: 12 kB / 280.1 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2528, allocations: 47.58 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.02916/0.282, allocations: 27.26 MB / 355 MB, free: 8.238 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01668/0.2987, allocations: 13.35 MB / 368.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.2991, allocations: 4 kB / 368.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008821/0.3, allocations: 235 kB / 368.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005321/0.3006, allocations: 251.3 kB / 368.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01375/0.3143, allocations: 4.527 MB / 373.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.3155, allocations: 0.5544 MB / 373.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.3158, allocations: 81.05 kB / 374 MB, free: 5.203 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005979/0.3218, allocations: 3.263 MB / 377.2 MB, free: 1.938 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.3221, allocations: 191.2 kB / 377.4 MB, free: 1.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.3221, allocations: 16 kB / 377.4 MB, free: 1.734 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006519/0.3287, allocations: 3.406 MB / 380.8 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.3289, allocations: 75.72 kB / 380.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.3291, allocations: 105.6 kB / 381 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0029/0.332, allocations: 1.633 MB / 382.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.332, allocations: 0 / 382.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.332, allocations: 0 / 382.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3321, allocations: 0 / 382.6 MB, free: 12.5 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.001541/0.3336, allocations: 0.7484 MB / 383.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3336, allocations: 8.031 kB / 383.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007252/0.3344, allocations: 87.42 kB / 383.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.3348, allocations: 290.6 kB / 383.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.3348, allocations: 32.55 kB / 383.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.3349, allocations: 31.98 kB / 383.8 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000813/0.3357, allocations: 434.2 kB / 384.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.3357, allocations: 4 kB / 384.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.3358, allocations: 19.98 kB / 384.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.3358, allocations: 12 kB / 384.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006256/0.3364, allocations: 317.8 kB / 384.6 MB, free: 10.41 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.002966/0.3394, allocations: 2.622 MB / 387.2 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.34, allocations: 250.5 kB / 387.5 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03278/0.3728, allocations: 15.59 MB / 403.1 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.3729, allocations: 46.5 kB / 403.1 MB, free: 5.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/0.3729, allocations: 0 / 403.1 MB, free: 5.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.004589/0.3775, allocations: 1.308 MB / 404.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.3776, allocations: 55.41 kB / 404.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.3779, allocations: 262.6 kB / 404.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.3779, allocations: 37.7 kB / 404.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.378, allocations: 195.9 kB / 405 MB, free: 3.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.3781, allocations: 106.5 kB / 405.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/0.3781, allocations: 15.94 kB / 405.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3783, allocations: 334.8 kB / 405.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.3784, allocations: 96.84 kB / 405.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.3787, allocations: 230.9 kB / 405.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.3789, allocations: 127.9 kB / 405.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3789, allocations: 0 / 405.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007296/0.3796, allocations: 430.6 kB / 406.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3797, allocations: 7.953 kB / 406.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3797, allocations: 4.5 kB / 406.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/0.3829, allocations: 269.4 kB / 406.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.3832, allocations: 87.83 kB / 406.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.3848, allocations: 1.875 MB / 408.5 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.3852, allocations: 28.2 kB / 408.5 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.3852, allocations: 20 kB / 408.6 MB, free: 52 kB / 334.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.0002469/0.3854, allocations: 162 kB / 408.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.3855, allocations: 31.62 kB / 408.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.3866, allocations: 0.9513 MB / 409.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.3867, allocations: 11.98 kB / 409.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3867, allocations: 4 kB / 409.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001036/0.3877, allocations: 1.114 MB / 410.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.3896, allocations: 1.591 MB / 412.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3896, allocations: 0 / 412.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.3898, allocations: 55.91 kB / 412.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/0.3915, allocations: 291.8 kB / 412.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.3916, allocations: 16 kB / 412.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005579/0.3922, allocations: 0.6655 MB / 413.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3922, allocations: 3.938 kB / 413.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.3933, allocations: 0.9526 MB / 414.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.3934, allocations: 136.4 kB / 414.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.3935, allocations: 11.98 kB / 414.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.3937, allocations: 15.94 kB / 414.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.3938, allocations: 19.97 kB / 414.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.3938, allocations: 16.06 kB / 414.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002433/0.394, allocations: 243 kB / 414.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3941, allocations: 3.938 kB / 414.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00163/0.3957, allocations: 499.8 kB / 415.3 MB, free: 9.027 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.001654/0.3974, allocations: 0.5028 MB / 415.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009213/0.3983, allocations: 0.5188 MB / 416.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3983, allocations: 4 kB / 416.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004182/0.3987, allocations: 288.4 kB / 416.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.3998, allocations: 185 kB / 416.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.4015, allocations: 1.228 MB / 418 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.4019, allocations: 0.8283 MB / 418.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003522/0.4023, allocations: 115.1 kB / 419 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.4024, allocations: 35.42 kB / 419 MB, free: 5.266 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4024, allocations: 0 / 419 MB, free: 5.266 MB / 350.1 MB Notification: Performance of Templates: time 0.02911/0.4315, allocations: 18.53 MB / 437.5 MB, free: 2.707 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) Environment - environmentSimulation: