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.001193/0.001198, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 195.9 kB / 16.53 MB, free: 6.699 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.462/1.462, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.001267/0.001267, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2407, allocations: 46.63 MB / 325.3 MB, free: 2.098 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.0361/0.2769, allocations: 32.56 MB / 357.9 MB, free: 3.406 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0187/0.2956, allocations: 15.73 MB / 373.6 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005343/0.2962, allocations: 15.88 kB / 373.6 MB, free: 3.613 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.2973, allocations: 266.4 kB / 373.9 MB, free: 3.352 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.2983, allocations: 361.9 kB / 374.2 MB, free: 2.996 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01753/0.3159, allocations: 5.788 MB / 380 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002208/0.3181, allocations: 0.9854 MB / 381 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003673/0.3185, allocations: 105 kB / 381.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006635/0.3251, allocations: 2.185 MB / 383.3 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006272/0.3258, allocations: 298.8 kB / 383.6 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.448e-05/0.3259, allocations: 36 kB / 383.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008192/0.3341, allocations: 3.512 MB / 387.1 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.3343, allocations: 103.7 kB / 387.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.3346, allocations: 219.1 kB / 387.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005443/0.3401, allocations: 2.358 MB / 389.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3401, allocations: 4 kB / 389.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3401, allocations: 4 kB / 389.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.3401, allocations: 0 / 389.8 MB, free: 3.348 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.001845/0.342, allocations: 0.807 MB / 390.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.342, allocations: 12.03 kB / 390.6 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007649/0.3428, allocations: 88.5 kB / 390.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.3431, allocations: 299.7 kB / 391 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.3432, allocations: 25.03 kB / 391 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.3432, allocations: 36.38 kB / 391.1 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007348/0.344, allocations: 454.1 kB / 391.5 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.344, allocations: 4 kB / 391.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.344, allocations: 12 kB / 391.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3441, allocations: 8 kB / 391.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000593/0.3447, allocations: 317.8 kB / 391.9 MB, free: 1.176 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.002675/0.3473, allocations: 2.641 MB / 394.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.3478, allocations: 246.5 kB / 394.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.348, allocations: 108.8 kB / 394.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03305/0.3811, allocations: 15.47 MB / 410.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.3812, allocations: 42.55 kB / 410.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/0.3812, allocations: 0 / 410.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.004596/0.3858, allocations: 1.312 MB / 411.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.3858, allocations: 63.28 kB / 411.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.3862, allocations: 266.5 kB / 412 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.3862, allocations: 33.7 kB / 412 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.3864, allocations: 192 kB / 412.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.3866, allocations: 106.5 kB / 412.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.3867, allocations: 86.03 kB / 412.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.3869, allocations: 338.8 kB / 412.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.3871, allocations: 100.8 kB / 412.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.3874, allocations: 218.9 kB / 413 MB, free: 9.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.3879, allocations: 350.3 kB / 413.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3879, allocations: 4 kB / 413.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007468/0.3887, allocations: 442.5 kB / 413.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.3887, allocations: 11.98 kB / 413.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3887, allocations: 4 kB / 413.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003283/0.392, allocations: 269.8 kB / 414.1 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.3923, allocations: 79.84 kB / 414.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.3941, allocations: 1.966 MB / 416.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.3943, allocations: 12.16 kB / 416.2 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.3943, allocations: 20 kB / 416.2 MB, free: 6.379 MB / 350.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.0002053/0.3945, allocations: 165.7 kB / 416.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.3946, allocations: 31.62 kB / 416.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.3958, allocations: 0.9436 MB / 417.3 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.3958, allocations: 15.98 kB / 417.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.3958, allocations: 0 / 417.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001137/0.397, allocations: 1.107 MB / 418.4 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.3989, allocations: 1.595 MB / 420 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3989, allocations: 0 / 420 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.3991, allocations: 51.92 kB / 420.1 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.4009, allocations: 303.9 kB / 420.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.4009, allocations: 4 kB / 420.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005661/0.4015, allocations: 0.6695 MB / 421 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4015, allocations: 0 / 421 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.4027, allocations: 0.9563 MB / 422 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.4028, allocations: 108.6 kB / 422.1 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/0.4029, allocations: 16.06 kB / 422.1 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.403, allocations: 12 kB / 422.1 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.4031, allocations: 15.97 kB / 422.2 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.4031, allocations: 12 kB / 422.2 MB, free: 128 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003767/0.4035, allocations: 243 kB / 422.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4035, allocations: 0 / 422.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001704/0.4052, allocations: 499.8 kB / 422.9 MB, free: 15.4 MB / 366.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.00192/0.4072, allocations: 0.5144 MB / 423.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.4084, allocations: 0.5424 MB / 423.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.4084, allocations: 1 kB / 423.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005704/0.409, allocations: 308.3 kB / 424.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.4101, allocations: 188.6 kB / 424.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.4119, allocations: 1.004 MB / 425.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.4124, allocations: 0.8206 MB / 426.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003516/0.4128, allocations: 111.1 kB / 426.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/0.4129, allocations: 35.44 kB / 426.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.046e-06/0.4129, allocations: 0 / 426.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of Templates: time 0.02928/0.4422, allocations: 18.87 MB / 445.3 MB, free: 8.93 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)