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.006873/0.006873, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001555/0.001555, allocations: 192 kB / 16.67 MB, free: 5.961 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.517/1.517, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001165/0.001165, allocations: 50.17 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1049, allocations: 46.63 MB / 373.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03235/0.1373, allocations: 32.57 MB / 405.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01907/0.1564, allocations: 15.73 MB / 421.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003901/0.1569, allocations: 4 kB / 421.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009367/0.1579, allocations: 270.4 kB / 421.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009135/0.1588, allocations: 369.9 kB / 422.1 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01543/0.1742, allocations: 5.788 MB / 427.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001297/0.1756, allocations: 0.9815 MB / 428.9 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.1758, allocations: 113 kB / 429 MB, free: 9.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005111/0.1809, allocations: 2.185 MB / 431.2 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004091/0.1813, allocations: 302.8 kB / 431.5 MB, free: 6.754 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/0.1814, allocations: 36 kB / 431.5 MB, free: 6.719 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006287/0.1877, allocations: 3.613 MB / 435.2 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.1879, allocations: 95.73 kB / 435.2 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002696/0.1882, allocations: 223.2 kB / 435.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003323/0.1915, allocations: 2.365 MB / 437.8 MB, free: 428 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1915, allocations: 0 / 437.8 MB, free: 428 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1915, allocations: 0 / 437.8 MB, free: 428 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1915, allocations: 0 / 437.8 MB, free: 428 kB / 366.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.001452/0.193, allocations: 0.8357 MB / 438.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.193, allocations: 12.03 kB / 438.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007149/0.1938, allocations: 80.7 kB / 438.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.1943, allocations: 311.7 kB / 439.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.1943, allocations: 25.03 kB / 439.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.1944, allocations: 37.31 kB / 439.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/0.1951, allocations: 446.2 kB / 439.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.1952, allocations: 7.938 kB / 439.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.1952, allocations: 15.94 kB / 439.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1952, allocations: 8 kB / 439.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005861/0.1958, allocations: 317.8 kB / 439.9 MB, free: 14.21 MB / 382.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.002633/0.1985, allocations: 2.618 MB / 442.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.199, allocations: 254.5 kB / 442.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.1992, allocations: 108.8 kB / 442.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2824/0.4816, allocations: 15.55 MB / 458.4 MB, free: 74.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.4816, allocations: 36.78 kB / 458.5 MB, free: 74.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.284e-06/0.4816, allocations: 0 / 458.5 MB, free: 74.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004475/0.4861, allocations: 1.297 MB / 459.8 MB, free: 74.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.4862, allocations: 63.31 kB / 459.8 MB, free: 74.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.4864, allocations: 272.2 kB / 460.1 MB, free: 74.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.4865, allocations: 30.17 kB / 460.1 MB, free: 74.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.398e-05/0.4866, allocations: 202.9 kB / 460.3 MB, free: 74.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.227e-05/0.4866, allocations: 110.9 kB / 460.4 MB, free: 74.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.4867, allocations: 82.09 kB / 460.5 MB, free: 74.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.4868, allocations: 335.7 kB / 460.8 MB, free: 73.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.487, allocations: 101.8 kB / 460.9 MB, free: 73.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.4872, allocations: 217.4 kB / 461.1 MB, free: 73.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.4877, allocations: 357.3 kB / 461.5 MB, free: 73.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4877, allocations: 6.969 kB / 461.5 MB, free: 73.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007094/0.4884, allocations: 441 kB / 461.9 MB, free: 73.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4884, allocations: 11.28 kB / 461.9 MB, free: 73.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.4884, allocations: 6.969 kB / 461.9 MB, free: 73.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003237/0.4917, allocations: 261.7 kB / 462.2 MB, free: 73.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.492, allocations: 85.86 kB / 462.3 MB, free: 73.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.4932, allocations: 1.972 MB / 464.3 MB, free: 71.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.4935, allocations: 12.84 kB / 464.3 MB, free: 71.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.4935, allocations: 22.91 kB / 464.3 MB, free: 71.2 MB / 382.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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001793/0.4937, allocations: 159.6 kB / 464.4 MB, free: 71.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.4938, allocations: 31.94 kB / 464.5 MB, free: 71.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.4949, allocations: 0.9528 MB / 465.4 MB, free: 70.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.4949, allocations: 8.125 kB / 465.4 MB, free: 70.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.4949, allocations: 3.938 kB / 465.4 MB, free: 70.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001186/0.4961, allocations: 1.119 MB / 466.6 MB, free: 69.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.4981, allocations: 1.582 MB / 468.1 MB, free: 68.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.4982, allocations: 0 / 468.1 MB, free: 68.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.4984, allocations: 54.12 kB / 468.2 MB, free: 68.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/0.5001, allocations: 281.9 kB / 468.5 MB, free: 68.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.5001, allocations: 7.094 kB / 468.5 MB, free: 68.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004068/0.5005, allocations: 0.6725 MB / 469.1 MB, free: 68.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5005, allocations: 0 / 469.1 MB, free: 68.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/0.5015, allocations: 0.9694 MB / 470.1 MB, free: 67.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.477e-05/0.5016, allocations: 111.6 kB / 470.2 MB, free: 67.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.5017, allocations: 14.61 kB / 470.2 MB, free: 67.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.5018, allocations: 5.375 kB / 470.2 MB, free: 67.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.5019, allocations: 25.53 kB / 470.3 MB, free: 67.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.5019, allocations: 8.25 kB / 470.3 MB, free: 67.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002306/0.5022, allocations: 244.2 kB / 470.5 MB, free: 67.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5022, allocations: 0 / 470.5 MB, free: 67.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002028/0.5042, allocations: 0.4926 MB / 471 MB, free: 67.09 MB / 382.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 (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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002519/0.5067, allocations: 0.5154 MB / 471.5 MB, free: 66.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009985/0.5077, allocations: 0.5212 MB / 472 MB, free: 66.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.5078, allocations: 4 kB / 472 MB, free: 66.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004193/0.5082, allocations: 305.5 kB / 472.3 MB, free: 66.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.5093, allocations: 191 kB / 472.5 MB, free: 66.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.5108, allocations: 1.017 MB / 473.6 MB, free: 65.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.5111, allocations: 0.8172 MB / 474.4 MB, free: 64.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002827/0.5113, allocations: 117.3 kB / 474.5 MB, free: 64.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/0.5114, allocations: 39.23 kB / 474.5 MB, free: 64.9 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.5114, allocations: 0 / 474.5 MB, free: 64.9 MB / 382.1 MB Notification: Performance of Templates: time 0.02062/0.532, allocations: 18.88 MB / 493.4 MB, free: 46.96 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)