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.007362/0.007362, allocations: 95.31 kB / 15.73 MB, free: 6.043 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.001672/0.001672, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.473/1.473, allocations: 205.1 MB / 222.5 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.001304/0.001304, allocations: 57.97 kB / 326.6 MB, free: 14.54 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09062/0.09194, allocations: 46.63 MB / 373.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03114/0.1231, allocations: 32.57 MB / 405.8 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01762/0.1408, allocations: 15.73 MB / 421.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005171/0.1414, allocations: 8 kB / 421.5 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.1425, allocations: 266.4 kB / 421.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.1438, allocations: 361.9 kB / 422.1 MB, free: 316 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01619/0.16, allocations: 5.784 MB / 427.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.1615, allocations: 0.9738 MB / 428.9 MB, free: 9.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.1618, allocations: 116.9 kB / 429 MB, free: 9.406 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005317/0.1671, allocations: 2.177 MB / 431.2 MB, free: 7.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000452/0.1676, allocations: 294.8 kB / 431.5 MB, free: 6.914 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.118e-05/0.1676, allocations: 36 kB / 431.5 MB, free: 6.879 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007268/0.1749, allocations: 3.613 MB / 435.1 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.1752, allocations: 107.7 kB / 435.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003582/0.1755, allocations: 211.2 kB / 435.4 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005095/0.1806, allocations: 2.365 MB / 437.8 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1807, allocations: 0 / 437.8 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1807, allocations: 0 / 437.8 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.1807, allocations: 0 / 437.8 MB, free: 0.5781 MB / 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.00213/0.1829, allocations: 0.8328 MB / 438.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1829, allocations: 8.031 kB / 438.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007801/0.1837, allocations: 92.64 kB / 438.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.1842, allocations: 307.8 kB / 439 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1843, allocations: 29.03 kB / 439.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.1843, allocations: 28.38 kB / 439.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008007/0.1851, allocations: 450.1 kB / 439.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1852, allocations: 0 / 439.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.1852, allocations: 23.98 kB / 439.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.1852, allocations: 8 kB / 439.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006189/0.1859, allocations: 313.8 kB / 439.9 MB, free: 14.38 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.002848/0.1887, allocations: 2.63 MB / 442.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005564/0.1893, allocations: 258.4 kB / 442.7 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.1895, allocations: 104.8 kB / 442.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2526/0.4421, allocations: 15.55 MB / 458.4 MB, free: 52.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.4422, allocations: 36.72 kB / 458.4 MB, free: 51.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.304e-06/0.4422, allocations: 0 / 458.4 MB, free: 51.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004624/0.4468, allocations: 1.299 MB / 459.7 MB, free: 51.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.4469, allocations: 54.94 kB / 459.8 MB, free: 51.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.4472, allocations: 272.9 kB / 460.1 MB, free: 51.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.4473, allocations: 32.48 kB / 460.1 MB, free: 51.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4474, allocations: 200.1 kB / 460.3 MB, free: 51.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.4475, allocations: 113.1 kB / 460.4 MB, free: 51.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.4476, allocations: 82.36 kB / 460.5 MB, free: 51.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.533e-05/0.4477, allocations: 340.7 kB / 460.8 MB, free: 50.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.4479, allocations: 98.81 kB / 460.9 MB, free: 50.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.4481, allocations: 227.6 kB / 461.1 MB, free: 50.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.4486, allocations: 352.8 kB / 461.5 MB, free: 50.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4486, allocations: 1.094 kB / 461.5 MB, free: 50.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007035/0.4493, allocations: 443.9 kB / 461.9 MB, free: 50.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.4493, allocations: 7.281 kB / 461.9 MB, free: 50.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4493, allocations: 7.344 kB / 461.9 MB, free: 50.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003074/0.4524, allocations: 263.7 kB / 462.2 MB, free: 50.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.4527, allocations: 83.27 kB / 462.3 MB, free: 50.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.4539, allocations: 1.969 MB / 464.2 MB, free: 48.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.4542, allocations: 10.97 kB / 464.2 MB, free: 48.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.4542, allocations: 19.78 kB / 464.3 MB, free: 48.63 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.0002187/0.4544, allocations: 165.3 kB / 464.4 MB, free: 48.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.146e-05/0.4545, allocations: 31.88 kB / 464.4 MB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.4556, allocations: 0.9533 MB / 465.4 MB, free: 48.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.4556, allocations: 9.453 kB / 465.4 MB, free: 48.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.4557, allocations: 3.938 kB / 465.4 MB, free: 48.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000852/0.4565, allocations: 1.115 MB / 466.5 MB, free: 47.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.4581, allocations: 1.585 MB / 468.1 MB, free: 47.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4581, allocations: 0 / 468.1 MB, free: 47.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.4583, allocations: 49.67 kB / 468.2 MB, free: 47.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/0.4599, allocations: 293.8 kB / 468.4 MB, free: 47.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.4599, allocations: 9.312 kB / 468.5 MB, free: 47.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003741/0.4603, allocations: 0.6669 MB / 469.1 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4603, allocations: 0 / 469.1 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009682/0.4613, allocations: 0.9678 MB / 470.1 MB, free: 46.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.4614, allocations: 116.8 kB / 470.2 MB, free: 46.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.4614, allocations: 10.64 kB / 470.2 MB, free: 46.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.4616, allocations: 7.938 kB / 470.2 MB, free: 46.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.4616, allocations: 23.05 kB / 470.2 MB, free: 46.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.4617, allocations: 14.62 kB / 470.3 MB, free: 46.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002261/0.4619, allocations: 239.5 kB / 470.5 MB, free: 46.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4619, allocations: 0 / 470.5 MB, free: 46.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001426/0.4633, allocations: 0.4916 MB / 471 MB, free: 46.57 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.001576/0.4649, allocations: 0.5186 MB / 471.5 MB, free: 46.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008013/0.4657, allocations: 0.5265 MB / 472 MB, free: 46.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4658, allocations: 3.906 kB / 472 MB, free: 46.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.4661, allocations: 297.5 kB / 472.3 MB, free: 46.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009741/0.4671, allocations: 195.4 kB / 472.5 MB, free: 46.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.4683, allocations: 1.013 MB / 473.5 MB, free: 45.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.4685, allocations: 0.8178 MB / 474.3 MB, free: 45.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002484/0.4688, allocations: 115.4 kB / 474.5 MB, free: 45.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.4689, allocations: 32.84 kB / 474.5 MB, free: 45.17 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4689, allocations: 0 / 474.5 MB, free: 45.17 MB / 382.1 MB Notification: Performance of Templates: time 0.02087/0.4897, allocations: 18.89 MB / 493.4 MB, free: 32.4 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)