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.005289/0.005289, allocations: 98.3 kB / 15.73 MB, free: 6.004 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.001219/0.001219, allocations: 193.1 kB / 16.67 MB, free: 5.934 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.51/1.51, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.001107/0.001107, allocations: 50.02 kB / 326.6 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09658/0.0977, allocations: 46.63 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.0296/0.1273, allocations: 32.58 MB / 405.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01768/0.1451, allocations: 15.73 MB / 421.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005065/0.1457, allocations: 4 kB / 421.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.1467, allocations: 266.4 kB / 421.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.1478, allocations: 361.9 kB / 422.1 MB, free: 184 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01862/0.1664, allocations: 5.784 MB / 427.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.1679, allocations: 0.9776 MB / 428.9 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.1682, allocations: 117 kB / 429 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005297/0.1735, allocations: 2.169 MB / 431.2 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003999/0.1739, allocations: 298.8 kB / 431.5 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.694e-05/0.174, allocations: 36 kB / 431.5 MB, free: 6.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006711/0.1807, allocations: 3.617 MB / 435.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.1809, allocations: 103.7 kB / 435.2 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003178/0.1812, allocations: 215.2 kB / 435.4 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004005/0.1852, allocations: 2.362 MB / 437.8 MB, free: 460 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1853, allocations: 0 / 437.8 MB, free: 460 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1853, allocations: 4 kB / 437.8 MB, free: 456 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1853, allocations: 4 kB / 437.8 MB, free: 452 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.001528/0.1868, allocations: 0.8327 MB / 438.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.1869, allocations: 12.03 kB / 438.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007268/0.1876, allocations: 84.66 kB / 438.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.1881, allocations: 311.8 kB / 439 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.1882, allocations: 25.03 kB / 439.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.555e-05/0.1882, allocations: 28.38 kB / 439.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007947/0.189, allocations: 450.1 kB / 439.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.189, allocations: 4 kB / 439.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.1891, allocations: 15.98 kB / 439.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.1891, allocations: 8 kB / 439.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/0.1897, allocations: 317.8 kB / 439.9 MB, free: 14.25 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.002847/0.1926, allocations: 2.626 MB / 442.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.1931, allocations: 254.5 kB / 442.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.1934, allocations: 108.8 kB / 442.9 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2558/0.4492, allocations: 15.54 MB / 458.4 MB, free: 51.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.4493, allocations: 36.34 kB / 458.4 MB, free: 51.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.624e-06/0.4493, allocations: 3.188 kB / 458.4 MB, free: 51.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004608/0.4539, allocations: 1.305 MB / 459.7 MB, free: 51.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.4539, allocations: 55.09 kB / 459.8 MB, free: 51.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.4542, allocations: 263.8 kB / 460 MB, free: 51.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.4543, allocations: 37.16 kB / 460.1 MB, free: 51.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.4544, allocations: 204.4 kB / 460.3 MB, free: 51.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/0.4545, allocations: 114.9 kB / 460.4 MB, free: 51.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.4546, allocations: 78.8 kB / 460.5 MB, free: 51.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.4547, allocations: 343.6 kB / 460.8 MB, free: 50.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.4549, allocations: 97.78 kB / 460.9 MB, free: 50.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.4551, allocations: 226.2 kB / 461.1 MB, free: 50.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.4556, allocations: 347.6 kB / 461.5 MB, free: 50.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.4556, allocations: 2.594 kB / 461.5 MB, free: 50.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000731/0.4563, allocations: 441.2 kB / 461.9 MB, free: 50.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.4564, allocations: 6.922 kB / 461.9 MB, free: 50.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4564, allocations: 3.562 kB / 461.9 MB, free: 50.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003098/0.4595, allocations: 268.9 kB / 462.2 MB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.4598, allocations: 82 kB / 462.3 MB, free: 50.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.4611, allocations: 1.97 MB / 464.2 MB, free: 48.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.4613, allocations: 13 kB / 464.2 MB, free: 48.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.4613, allocations: 19.77 kB / 464.3 MB, free: 48.61 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.0001702/0.4615, allocations: 165 kB / 464.4 MB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.4616, allocations: 31.19 kB / 464.4 MB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.4628, allocations: 0.9528 MB / 465.4 MB, free: 48.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.4628, allocations: 7 kB / 465.4 MB, free: 48.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.4628, allocations: 9.031 kB / 465.4 MB, free: 48.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001002/0.4638, allocations: 1.117 MB / 466.5 MB, free: 47.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.4657, allocations: 1.586 MB / 468.1 MB, free: 47.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4657, allocations: 0 / 468.1 MB, free: 47.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.4659, allocations: 48.03 kB / 468.2 MB, free: 47.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.4675, allocations: 292 kB / 468.4 MB, free: 47.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.4675, allocations: 5.719 kB / 468.5 MB, free: 47.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004293/0.4679, allocations: 0.6758 MB / 469.1 MB, free: 46.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4679, allocations: 0 / 469.1 MB, free: 46.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.469, allocations: 0.9574 MB / 470.1 MB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/0.4691, allocations: 115.9 kB / 470.2 MB, free: 46.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.324e-05/0.4691, allocations: 12.59 kB / 470.2 MB, free: 46.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.4693, allocations: 9.938 kB / 470.2 MB, free: 46.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.4694, allocations: 25.77 kB / 470.2 MB, free: 46.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.4694, allocations: 8.031 kB / 470.3 MB, free: 46.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002334/0.4696, allocations: 247.6 kB / 470.5 MB, free: 46.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4696, allocations: 0 / 470.5 MB, free: 46.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00219/0.4718, allocations: 0.4905 MB / 471 MB, free: 46.54 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.001703/0.4735, allocations: 0.5095 MB / 471.5 MB, free: 46.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008378/0.4744, allocations: 0.5284 MB / 472 MB, free: 46.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4744, allocations: 2.297 kB / 472 MB, free: 46.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004126/0.4748, allocations: 306.2 kB / 472.3 MB, free: 46.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000943/0.4758, allocations: 191.3 kB / 472.5 MB, free: 46.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.4771, allocations: 1.015 MB / 473.5 MB, free: 45.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.4773, allocations: 0.8168 MB / 474.3 MB, free: 45.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000256/0.4776, allocations: 119.6 kB / 474.5 MB, free: 45.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.4777, allocations: 34.47 kB / 474.5 MB, free: 45.14 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4777, allocations: 0 / 474.5 MB, free: 45.14 MB / 382.1 MB Notification: Performance of Templates: time 0.02048/0.4982, allocations: 18.89 MB / 493.4 MB, free: 32.2 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)