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.008247/0.008247, allocations: 100.7 kB / 15.73 MB, free: 6.469 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.001541/0.001541, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.55/1.55, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.001253/0.001253, allocations: 54.86 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0889/0.09017, allocations: 46.62 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.03609/0.1263, allocations: 32.57 MB / 405.8 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01799/0.1443, allocations: 15.73 MB / 421.5 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000331/0.1448, allocations: 7.938 kB / 421.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007453/0.1455, allocations: 266.4 kB / 421.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006526/0.1462, allocations: 357.9 kB / 422.1 MB, free: 324 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01405/0.1602, allocations: 5.796 MB / 427.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.1615, allocations: 0.9737 MB / 428.9 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.1617, allocations: 109 kB / 429 MB, free: 9.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004342/0.1661, allocations: 2.185 MB / 431.2 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00038/0.1665, allocations: 298.8 kB / 431.5 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.587e-05/0.1665, allocations: 36 kB / 431.5 MB, free: 6.871 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006004/0.1725, allocations: 3.605 MB / 435.1 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.1727, allocations: 107.7 kB / 435.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.1729, allocations: 223.1 kB / 435.4 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003064/0.176, allocations: 2.358 MB / 437.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.176, allocations: 0 / 437.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.176, allocations: 0 / 437.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.176, allocations: 0 / 437.8 MB, free: 0.5742 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.00128/0.1773, allocations: 0.8188 MB / 438.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1774, allocations: 8.031 kB / 438.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006891/0.1781, allocations: 88.41 kB / 438.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.1785, allocations: 311.6 kB / 439 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.1786, allocations: 29.03 kB / 439.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.1786, allocations: 32.38 kB / 439.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007555/0.1794, allocations: 442.1 kB / 439.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.1794, allocations: 0 / 439.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.1794, allocations: 16 kB / 439.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.1795, allocations: 8 kB / 439.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005803/0.1801, allocations: 317.8 kB / 439.8 MB, free: 14.4 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.002536/0.1826, allocations: 2.621 MB / 442.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.1831, allocations: 262.5 kB / 442.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.1833, allocations: 104.8 kB / 442.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.249/0.4323, allocations: 15.54 MB / 458.4 MB, free: 51.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.4324, allocations: 35.95 kB / 458.4 MB, free: 51.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/0.4324, allocations: 0.5 kB / 458.4 MB, free: 51.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.00421/0.4366, allocations: 1.295 MB / 459.7 MB, free: 51.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.4367, allocations: 55.75 kB / 459.8 MB, free: 51.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.4369, allocations: 271.8 kB / 460 MB, free: 51.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.4369, allocations: 30.36 kB / 460.1 MB, free: 51.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.437, allocations: 198 kB / 460.2 MB, free: 51.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/0.4371, allocations: 111.8 kB / 460.4 MB, free: 51.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.953e-05/0.4372, allocations: 75.45 kB / 460.4 MB, free: 51.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.472e-05/0.4373, allocations: 340.7 kB / 460.8 MB, free: 50.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.4374, allocations: 102.6 kB / 460.9 MB, free: 50.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.4376, allocations: 222.2 kB / 461.1 MB, free: 50.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.4381, allocations: 360.1 kB / 461.4 MB, free: 50.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4381, allocations: 1.656 kB / 461.4 MB, free: 50.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007436/0.4388, allocations: 441.3 kB / 461.9 MB, free: 50.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.4389, allocations: 7.719 kB / 461.9 MB, free: 50.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.4389, allocations: 5.219 kB / 461.9 MB, free: 50.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/0.4419, allocations: 258.2 kB / 462.1 MB, free: 50.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.4422, allocations: 87.67 kB / 462.2 MB, free: 50.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.4434, allocations: 1.971 MB / 464.2 MB, free: 48.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.4436, allocations: 12.94 kB / 464.2 MB, free: 48.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.4437, allocations: 19.44 kB / 464.2 MB, free: 48.56 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.0001495/0.4438, allocations: 162.2 kB / 464.4 MB, free: 48.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.4439, allocations: 33 kB / 464.4 MB, free: 48.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.4451, allocations: 0.9448 MB / 465.4 MB, free: 48.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.4451, allocations: 7.094 kB / 465.4 MB, free: 48.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4451, allocations: 5.031 kB / 465.4 MB, free: 48.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009333/0.446, allocations: 1.117 MB / 466.5 MB, free: 47.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.4477, allocations: 1.589 MB / 468.1 MB, free: 47.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.4477, allocations: 7.656 kB / 468.1 MB, free: 47.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.4479, allocations: 47.78 kB / 468.1 MB, free: 47.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001544/0.4495, allocations: 286.3 kB / 468.4 MB, free: 47.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.4495, allocations: 10.89 kB / 468.4 MB, free: 47.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003929/0.4499, allocations: 0.6647 MB / 469.1 MB, free: 46.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4499, allocations: 0 / 469.1 MB, free: 46.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000974/0.4509, allocations: 0.969 MB / 470 MB, free: 46.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.451, allocations: 111.1 kB / 470.2 MB, free: 46.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.451, allocations: 14.22 kB / 470.2 MB, free: 46.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.4512, allocations: 7.688 kB / 470.2 MB, free: 46.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.4512, allocations: 21.72 kB / 470.2 MB, free: 46.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.4513, allocations: 11.97 kB / 470.2 MB, free: 46.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.4515, allocations: 239.7 kB / 470.4 MB, free: 46.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4515, allocations: 5.375 kB / 470.4 MB, free: 46.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001344/0.4528, allocations: 0.4915 MB / 470.9 MB, free: 46.47 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.001521/0.4544, allocations: 0.5038 MB / 471.4 MB, free: 46.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007593/0.4551, allocations: 0.5232 MB / 472 MB, free: 46.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4552, allocations: 3.375 kB / 472 MB, free: 46.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.4555, allocations: 297.1 kB / 472.3 MB, free: 46.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009626/0.4565, allocations: 196.1 kB / 472.5 MB, free: 46.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.4577, allocations: 1.004 MB / 473.5 MB, free: 45.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.4579, allocations: 0.8214 MB / 474.3 MB, free: 45.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.4582, allocations: 109.2 kB / 474.4 MB, free: 45.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.4583, allocations: 28.44 kB / 474.4 MB, free: 45.1 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4583, allocations: 0 / 474.4 MB, free: 45.1 MB / 382.1 MB Notification: Performance of Templates: time 0.02192/0.4802, allocations: 19.03 MB / 493.4 MB, free: 32.36 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)