Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001338/0.001346, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001629/0.001629, allocations: 185.8 kB / 17.55 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.619/1.619, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.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.001278/0.001278, allocations: 48.3 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.09343, allocations: 46.64 MB / 326.2 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03944/0.1329, allocations: 32.49 MB / 358.6 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01657/0.1495, allocations: 15.77 MB / 374.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.1499, allocations: 7.938 kB / 374.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008025/0.1507, allocations: 238.9 kB / 374.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007031/0.1515, allocations: 338.2 kB / 375 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1966/0.348, allocations: 5.122 MB / 380.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.3494, allocations: 0.983 MB / 381.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.3496, allocations: 110 kB / 381.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004504/0.3541, allocations: 2.172 MB / 383.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003808/0.3546, allocations: 307.2 kB / 383.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.83e-05/0.3546, allocations: 35.88 kB / 383.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006535/0.3612, allocations: 3.521 MB / 387.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.3614, allocations: 105.2 kB / 387.3 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004571/0.3619, allocations: 218.9 kB / 387.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005712/0.3676, allocations: 2.356 MB / 389.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3676, allocations: 0 / 389.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3676, allocations: 4 kB / 389.9 MB, free: 11.72 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3677, allocations: 1.125 kB / 389.9 MB, free: 11.72 MB / 318.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.002265/0.3699, allocations: 0.8172 MB / 390.7 MB, free: 11.22 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.37, allocations: 9.031 kB / 390.7 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008286/0.3708, allocations: 89.48 kB / 390.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.3712, allocations: 302.1 kB / 391.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.3712, allocations: 24.94 kB / 391.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.3713, allocations: 36.12 kB / 391.2 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.372, allocations: 447.1 kB / 391.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3721, allocations: 2.625 kB / 391.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.3721, allocations: 16.56 kB / 391.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.3721, allocations: 7.844 kB / 391.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005547/0.3727, allocations: 316.8 kB / 391.9 MB, free: 10.82 MB / 318.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.00236/0.375, allocations: 2.622 MB / 394.6 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004989/0.3755, allocations: 253.2 kB / 394.8 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.3757, allocations: 105.6 kB / 394.9 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03017/0.4059, allocations: 15.48 MB / 410.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.406, allocations: 30.56 kB / 410.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.595e-06/0.406, allocations: 0 / 410.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.004317/0.4103, allocations: 1.323 MB / 411.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.4103, allocations: 55.25 kB / 411.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.4106, allocations: 270 kB / 412.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.4106, allocations: 29.45 kB / 412.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.4107, allocations: 191.8 kB / 412.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.05e-05/0.4108, allocations: 113.4 kB / 412.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.4109, allocations: 78.91 kB / 412.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.411, allocations: 335.8 kB / 412.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.4112, allocations: 109 kB / 412.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.4114, allocations: 213.8 kB / 413.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.4118, allocations: 358.2 kB / 413.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4118, allocations: 6.25 kB / 413.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000656/0.4125, allocations: 441.4 kB / 413.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4125, allocations: 7.688 kB / 413.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4125, allocations: 2.969 kB / 413.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003461/0.416, allocations: 260.5 kB / 414.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.4163, allocations: 81.72 kB / 414.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.4178, allocations: 1.98 MB / 416.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.4181, allocations: 21.69 kB / 416.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.4182, allocations: 21.36 kB / 416.3 MB, free: 10.13 MB / 334.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.000161/0.4183, allocations: 161.9 kB / 416.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.852e-05/0.4184, allocations: 37.19 kB / 416.5 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009265/0.4193, allocations: 0.9451 MB / 417.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4194, allocations: 8.359 kB / 417.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.4194, allocations: 0 / 417.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008486/0.4202, allocations: 1.129 MB / 418.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.4219, allocations: 1.584 MB / 420.1 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.4219, allocations: 0 / 420.1 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.4221, allocations: 47.97 kB / 420.2 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.4239, allocations: 300.2 kB / 420.5 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.4239, allocations: 3.688 kB / 420.5 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005104/0.4245, allocations: 0.671 MB / 421.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4245, allocations: 0 / 421.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.4255, allocations: 0.9534 MB / 422.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.4256, allocations: 124.3 kB / 422.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.4257, allocations: 15.47 kB / 422.2 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.4259, allocations: 15.3 kB / 422.3 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.426, allocations: 15.42 kB / 422.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.426, allocations: 13.52 kB / 422.3 MB, free: 6.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002442/0.4263, allocations: 239.7 kB / 422.5 MB, free: 6.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4263, allocations: 4 kB / 422.5 MB, free: 6.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001867/0.4281, allocations: 0.4926 MB / 423 MB, free: 5.746 MB / 334.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.001811/0.43, allocations: 0.5055 MB / 423.5 MB, free: 5.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009545/0.4309, allocations: 0.5378 MB / 424.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4309, allocations: 0 / 424.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004024/0.4313, allocations: 303.4 kB / 424.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.4324, allocations: 199.9 kB / 424.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.4343, allocations: 1.185 MB / 425.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.4348, allocations: 0.8165 MB / 426.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000352/0.4351, allocations: 114.3 kB / 426.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.49e-05/0.4352, allocations: 35.42 kB / 426.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of SimCode: time 2.094e-06/0.4352, allocations: 0 / 426.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of Templates: time 0.02632/0.4616, allocations: 18.82 MB / 445.5 MB, free: 15.79 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)