Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.01174/0.01174, allocations: 100.2 kB / 15.73 MB, free: 6.012 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.002036/0.002036, allocations: 197.2 kB / 16.68 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.535/1.535, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.001295/0.001295, allocations: 49.59 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09989/0.1012, 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.03976/0.141, allocations: 32.57 MB / 405.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02042/0.1615, allocations: 15.72 MB / 421.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005516/0.1621, allocations: 4 kB / 421.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000951/0.1631, allocations: 270.4 kB / 421.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009348/0.164, allocations: 358 kB / 422.1 MB, free: 188 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01483/0.1789, allocations: 5.803 MB / 427.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.1801, allocations: 0.9815 MB / 428.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.1804, allocations: 101 kB / 429 MB, free: 9.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005188/0.1856, allocations: 2.189 MB / 431.2 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005567/0.1862, allocations: 302.8 kB / 431.5 MB, free: 6.758 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.733e-05/0.1863, allocations: 36 kB / 431.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006988/0.1933, allocations: 3.609 MB / 435.1 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.1935, allocations: 103.7 kB / 435.2 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003575/0.1939, allocations: 219.1 kB / 435.5 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006252/0.2001, allocations: 2.358 MB / 437.8 MB, free: 440 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2002, allocations: 0 / 437.8 MB, free: 440 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2002, allocations: 0 / 437.8 MB, free: 440 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.2002, allocations: 4 kB / 437.8 MB, free: 436 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.002303/0.2025, allocations: 0.811 MB / 438.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.2026, allocations: 12.03 kB / 438.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.2037, allocations: 92.41 kB / 438.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.2044, allocations: 311.6 kB / 439 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.2044, allocations: 21.03 kB / 439.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.2045, allocations: 32.38 kB / 439.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009254/0.2054, allocations: 446.1 kB / 439.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.2055, allocations: 4 kB / 439.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.2055, allocations: 16 kB / 439.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.2055, allocations: 8 kB / 439.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006755/0.2062, 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.00308/0.2093, allocations: 2.618 MB / 442.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.2099, allocations: 258.5 kB / 442.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.2101, allocations: 116.7 kB / 442.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2472/0.4573, allocations: 15.54 MB / 458.4 MB, free: 52.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.4574, allocations: 36.52 kB / 458.4 MB, free: 52.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.254e-06/0.4574, allocations: 0 / 458.4 MB, free: 52.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.00451/0.4619, allocations: 1.299 MB / 459.7 MB, free: 51.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.4619, allocations: 57.88 kB / 459.8 MB, free: 51.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.4623, allocations: 268.9 kB / 460 MB, free: 51.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.4623, allocations: 31.61 kB / 460.1 MB, free: 51.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.4624, allocations: 198.3 kB / 460.3 MB, free: 51.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.199e-05/0.4625, allocations: 111 kB / 460.4 MB, free: 51.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.4626, allocations: 77.66 kB / 460.4 MB, free: 51.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.4627, allocations: 339.9 kB / 460.8 MB, free: 50.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.4629, allocations: 107.8 kB / 460.9 MB, free: 50.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.4632, allocations: 217.1 kB / 461.1 MB, free: 50.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.4637, allocations: 356.4 kB / 461.4 MB, free: 50.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.4637, allocations: 5.516 kB / 461.5 MB, free: 50.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007646/0.4644, allocations: 435.4 kB / 461.9 MB, free: 50.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.4645, allocations: 7.75 kB / 461.9 MB, free: 50.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4645, allocations: 4.875 kB / 461.9 MB, free: 50.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003014/0.4675, allocations: 264.3 kB / 462.1 MB, free: 50.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.4678, allocations: 81.92 kB / 462.2 MB, free: 50.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.4691, allocations: 1.982 MB / 464.2 MB, free: 48.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.4693, allocations: 11.97 kB / 464.2 MB, free: 48.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.4693, allocations: 18.94 kB / 464.2 MB, free: 48.7 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.0001594/0.4695, allocations: 161.3 kB / 464.4 MB, free: 48.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.4696, allocations: 31.78 kB / 464.4 MB, free: 48.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.4706, allocations: 0.9427 MB / 465.4 MB, free: 48.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.4706, allocations: 11.14 kB / 465.4 MB, free: 48.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.4706, allocations: 3.938 kB / 465.4 MB, free: 48.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009081/0.4715, allocations: 1.116 MB / 466.5 MB, free: 47.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.4732, allocations: 1.589 MB / 468.1 MB, free: 47.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4732, allocations: 4 kB / 468.1 MB, free: 47.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.4734, allocations: 47.77 kB / 468.1 MB, free: 47.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/0.4749, allocations: 284.6 kB / 468.4 MB, free: 47.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.4749, allocations: 10.16 kB / 468.4 MB, free: 47.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003848/0.4753, allocations: 0.6697 MB / 469.1 MB, free: 47.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4753, allocations: 1.188 kB / 469.1 MB, free: 47.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.4764, allocations: 0.964 MB / 470.1 MB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.4764, allocations: 107.9 kB / 470.2 MB, free: 46.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.4765, allocations: 17.78 kB / 470.2 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.4767, allocations: 8.938 kB / 470.2 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.4767, allocations: 19.17 kB / 470.2 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.4767, allocations: 13.47 kB / 470.2 MB, free: 46.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000205/0.4769, allocations: 240 kB / 470.5 MB, free: 46.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4769, allocations: 4.062 kB / 470.5 MB, free: 46.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001596/0.4785, allocations: 0.4911 MB / 471 MB, free: 46.6 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.001688/0.4802, allocations: 0.5155 MB / 471.5 MB, free: 46.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009114/0.4812, allocations: 0.5163 MB / 472 MB, free: 46.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4812, allocations: 1.312 kB / 472 MB, free: 46.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.4815, allocations: 299.9 kB / 472.3 MB, free: 46.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008883/0.4824, allocations: 200.1 kB / 472.5 MB, free: 46.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.4837, allocations: 0.9946 MB / 473.5 MB, free: 45.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.4839, allocations: 0.8287 MB / 474.3 MB, free: 45.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.4842, allocations: 108.2 kB / 474.4 MB, free: 45.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.4842, allocations: 34.25 kB / 474.4 MB, free: 45.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4842, allocations: 0 / 474.4 MB, free: 45.23 MB / 382.1 MB Notification: Performance of Templates: time 0.02082/0.5051, allocations: 18.89 MB / 493.3 MB, free: 32.39 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)