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.006595/0.006595, allocations: 102 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.001289/0.001289, allocations: 196.2 kB / 16.67 MB, free: 5.965 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.458/1.458, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001214/0.001214, allocations: 50.66 kB / 326.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09536/0.09658, allocations: 46.62 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.03253/0.1291, allocations: 32.57 MB / 405.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0181/0.1473, allocations: 15.72 MB / 421.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003833/0.1478, allocations: 7.938 kB / 421.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008239/0.1486, allocations: 270.4 kB / 421.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007202/0.1493, allocations: 357.9 kB / 422.1 MB, free: 188 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01573/0.1651, allocations: 5.788 MB / 427.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.1665, allocations: 0.9854 MB / 428.9 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.1668, allocations: 105 kB / 429 MB, free: 9.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005134/0.1719, allocations: 2.173 MB / 431.2 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/0.1724, allocations: 302.8 kB / 431.5 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.1724, allocations: 39.94 kB / 431.5 MB, free: 6.742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006895/0.1793, allocations: 3.609 MB / 435.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.1796, allocations: 99.66 kB / 435.2 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.18, allocations: 223.2 kB / 435.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004733/0.1847, allocations: 2.354 MB / 437.8 MB, free: 464 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1847, allocations: 0 / 437.8 MB, free: 464 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1848, allocations: 0 / 437.8 MB, free: 464 kB / 366.1 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.1848, allocations: 0 / 437.8 MB, free: 464 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.001672/0.1865, allocations: 0.8266 MB / 438.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1865, allocations: 8.031 kB / 438.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007952/0.1873, allocations: 84.42 kB / 438.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.1878, allocations: 311.6 kB / 439 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.1878, allocations: 21.03 kB / 439 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.1879, allocations: 36.38 kB / 439.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007951/0.1887, allocations: 450.1 kB / 439.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.1887, allocations: 3.938 kB / 439.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.1888, allocations: 12 kB / 439.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.1888, allocations: 8 kB / 439.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005975/0.1894, allocations: 317.9 kB / 439.8 MB, free: 14.27 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.003039/0.1924, allocations: 2.618 MB / 442.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/0.193, allocations: 254.5 kB / 442.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.1932, allocations: 108.8 kB / 442.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2437/0.4369, allocations: 15.54 MB / 458.4 MB, free: 74.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.437, allocations: 38.67 kB / 458.4 MB, free: 74.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.437, allocations: 1.062 kB / 458.4 MB, free: 74.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004926/0.442, allocations: 1.303 MB / 459.7 MB, free: 74.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.442, allocations: 54.16 kB / 459.8 MB, free: 74.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.4423, allocations: 269.2 kB / 460 MB, free: 74.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.4424, allocations: 33.02 kB / 460 MB, free: 74.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.4425, allocations: 204.6 kB / 460.2 MB, free: 74.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.4426, allocations: 107.2 kB / 460.4 MB, free: 74.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.4427, allocations: 75.62 kB / 460.4 MB, free: 74.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.4428, allocations: 340.2 kB / 460.8 MB, free: 73.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.443, allocations: 97.78 kB / 460.9 MB, free: 73.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.4433, allocations: 224.5 kB / 461.1 MB, free: 73.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.4437, allocations: 350.1 kB / 461.4 MB, free: 73.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4437, allocations: 2.562 kB / 461.4 MB, free: 73.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007117/0.4444, allocations: 449.2 kB / 461.9 MB, free: 73.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.4445, allocations: 6.062 kB / 461.9 MB, free: 73.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4445, allocations: 4.344 kB / 461.9 MB, free: 73.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003223/0.4477, allocations: 266.2 kB / 462.1 MB, free: 73.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.4482, allocations: 79.45 kB / 462.2 MB, free: 73.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.4497, allocations: 1.978 MB / 464.2 MB, free: 71.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.45, allocations: 9.469 kB / 464.2 MB, free: 71.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.4501, allocations: 26.44 kB / 464.2 MB, free: 71.16 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.000215/0.4503, allocations: 162.6 kB / 464.4 MB, free: 71.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.4504, allocations: 27.72 kB / 464.4 MB, free: 71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.4514, allocations: 0.948 MB / 465.3 MB, free: 70.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.4515, allocations: 7.594 kB / 465.4 MB, free: 70.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.4515, allocations: 1 kB / 465.4 MB, free: 70.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008102/0.4523, allocations: 1.119 MB / 466.5 MB, free: 69.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.4541, allocations: 1.582 MB / 468.1 MB, free: 68.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.4541, allocations: 0 / 468.1 MB, free: 68.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.4543, allocations: 55.81 kB / 468.1 MB, free: 68.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00157/0.4559, allocations: 294.8 kB / 468.4 MB, free: 68.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.4559, allocations: 11.14 kB / 468.4 MB, free: 68.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004035/0.4564, allocations: 0.6682 MB / 469.1 MB, free: 68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.4564, allocations: 2.672 kB / 469.1 MB, free: 68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.4574, allocations: 0.9525 MB / 470 MB, free: 67.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.507e-05/0.4575, allocations: 111.6 kB / 470.1 MB, free: 67.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.4576, allocations: 14.64 kB / 470.2 MB, free: 67.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.4578, allocations: 10.88 kB / 470.2 MB, free: 67.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.4578, allocations: 19.42 kB / 470.2 MB, free: 67.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.4578, allocations: 19.36 kB / 470.2 MB, free: 67.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.458, allocations: 236.2 kB / 470.4 MB, free: 67.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.458, allocations: 1.375 kB / 470.4 MB, free: 67.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00151/0.4596, allocations: 0.4937 MB / 470.9 MB, free: 67.07 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.00168/0.4613, allocations: 0.5123 MB / 471.4 MB, free: 66.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008217/0.4621, allocations: 0.527 MB / 472 MB, free: 66.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4621, allocations: 0 / 472 MB, free: 66.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.4625, allocations: 307.4 kB / 472.3 MB, free: 66.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009962/0.4635, allocations: 180.1 kB / 472.4 MB, free: 66.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.4647, allocations: 1.007 MB / 473.5 MB, free: 65.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.465, allocations: 0.8212 MB / 474.3 MB, free: 64.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002624/0.4652, allocations: 120 kB / 474.4 MB, free: 64.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.4653, allocations: 35.16 kB / 474.4 MB, free: 64.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4653, allocations: 3.938 kB / 474.4 MB, free: 64.91 MB / 382.1 MB Notification: Performance of Templates: time 0.0212/0.4865, allocations: 18.87 MB / 493.3 MB, free: 46.95 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)