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_ph.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_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008411/0.0008411, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00568/0.005681, allocations: 170 kB / 16.27 MB, free: 6.652 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.521/1.521, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.0004969/0.0004969, allocations: 16 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2847, allocations: 47.58 MB / 327 MB, free: 1.504 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03545/0.3202, allocations: 32.51 MB / 359.5 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02227/0.3425, allocations: 16.42 MB / 376 MB, free: 2.395 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006309/0.3432, allocations: 4 kB / 376 MB, free: 2.391 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.3443, allocations: 230.8 kB / 376.2 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.3454, allocations: 350.2 kB / 376.5 MB, free: 1.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0148/0.3602, allocations: 4.688 MB / 381.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001858/0.3621, allocations: 1.434 MB / 382.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.3623, allocations: 85.02 kB / 382.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004756/0.3671, allocations: 2.126 MB / 384.9 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.3676, allocations: 314.8 kB / 385.2 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.403e-05/0.3676, allocations: 20 kB / 385.2 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01321/0.3809, allocations: 5.994 MB / 391.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.3812, allocations: 83.72 kB / 391.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004123/0.3816, allocations: 228.8 kB / 391.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.3918, allocations: 3.761 MB / 395.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.3919, allocations: 0 / 395.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3919, allocations: 0 / 395.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3919, allocations: 0 / 395.3 MB, free: 15.03 MB / 334.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.003739/0.3956, allocations: 0.9476 MB / 396.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/0.3957, allocations: 8.031 kB / 396.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.3972, allocations: 164.3 kB / 396.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.3977, allocations: 315.6 kB / 396.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.3977, allocations: 29.03 kB / 396.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.742e-05/0.3978, allocations: 32.38 kB / 396.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.3993, allocations: 0.5775 MB / 397.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.3993, allocations: 0 / 397.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.519e-05/0.3994, allocations: 12 kB / 397.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.3994, allocations: 8 kB / 397.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.401, allocations: 0.5445 MB / 397.9 MB, free: 12.28 MB / 334.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.003298/0.4044, allocations: 2.612 MB / 400.5 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.406, allocations: 482.3 kB / 401 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.4064, allocations: 176.8 kB / 401.1 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008557/0.4073, allocations: 0.568 MB / 401.7 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/0.4074, allocations: 31.06 kB / 401.7 MB, free: 8.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/0.4074, allocations: 0 / 401.7 MB, free: 8.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.005088/0.4125, allocations: 1.606 MB / 403.3 MB, free: 6.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.4125, allocations: 55.41 kB / 403.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.4128, allocations: 256.8 kB / 403.6 MB, free: 6.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.4129, allocations: 29.7 kB / 403.7 MB, free: 6.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.413, allocations: 188.1 kB / 403.9 MB, free: 5.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.339e-05/0.4131, allocations: 114.3 kB / 404 MB, free: 5.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.4132, allocations: 41.7 kB / 404 MB, free: 5.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4133, allocations: 338.8 kB / 404.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.4138, allocations: 152.8 kB / 404.5 MB, free: 5.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.4143, allocations: 255.4 kB / 404.7 MB, free: 4.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009147/0.4152, allocations: 414.9 kB / 405.1 MB, free: 4.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4152, allocations: 0 / 405.1 MB, free: 4.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001371/0.4166, allocations: 0.5307 MB / 405.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4166, allocations: 11.94 kB / 405.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4166, allocations: 3.938 kB / 405.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005221/0.4171, allocations: 114.8 kB / 405.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.4175, allocations: 95.83 kB / 405.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.4195, allocations: 2.432 MB / 408.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.4198, allocations: 51.97 kB / 408.4 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.4199, allocations: 19.98 kB / 408.4 MB, free: 0.9727 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002111/0.4201, allocations: 153.8 kB / 408.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.511e-05/0.4202, allocations: 31.66 kB / 408.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.4222, allocations: 1.374 MB / 410 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.4223, allocations: 15.98 kB / 410 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.4223, allocations: 0 / 410 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001828/0.4241, allocations: 1.46 MB / 411.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.4269, allocations: 2.147 MB / 413.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.427, allocations: 0 / 413.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.4274, allocations: 107.8 kB / 413.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003789/0.4278, allocations: 68.8 kB / 413.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.4279, allocations: 12 kB / 413.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003959/0.4283, allocations: 0.6029 MB / 414.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4283, allocations: 3.984 kB / 414.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.4302, allocations: 1.305 MB / 415.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.4304, allocations: 160.2 kB / 415.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.4304, allocations: 4 kB / 415.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.4308, allocations: 51.81 kB / 415.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.714e-05/0.4309, allocations: 35.94 kB / 415.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.4309, allocations: 12 kB / 415.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002633/0.4312, allocations: 235 kB / 416.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.4312, allocations: 8 kB / 416.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002822/0.434, allocations: 0.8589 MB / 417 MB, free: 8.074 MB / 350.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.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003923/0.4379, allocations: 0.9643 MB / 418 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.4395, allocations: 0.6659 MB / 418.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.4395, allocations: 0 / 418.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007233/0.4403, allocations: 428.7 kB / 419.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.4416, allocations: 184.9 kB / 419.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.4439, allocations: 1.581 MB / 420.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.4443, allocations: 0.8688 MB / 421.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004044/0.4447, allocations: 153.8 kB / 421.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.617e-05/0.4448, allocations: 31.44 kB / 421.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4449, allocations: 0 / 421.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of Templates: time 0.2333/0.6782, allocations: 35.24 MB / 457.1 MB, free: 118.7 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)