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.0007465/0.0007465, allocations: 89.67 kB / 16.65 MB, free: 6.59 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.000944/0.0009442, allocations: 182.6 kB / 17.56 MB, free: 6.203 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.45/1.45, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0004665/0.0004666, allocations: 16.42 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09895/0.09943, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03478/0.1343, allocations: 32.51 MB / 360.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02039/0.1547, allocations: 16.4 MB / 377.2 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006648/0.1554, allocations: 11.94 kB / 377.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008402/0.1563, allocations: 230.8 kB / 377.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006967/0.157, allocations: 346.2 kB / 377.8 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.205/0.362, allocations: 4.663 MB / 382.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002278/0.3643, allocations: 1.421 MB / 383.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.3645, allocations: 81.5 kB / 384 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005414/0.3699, allocations: 2.115 MB / 386.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005282/0.3705, allocations: 303.2 kB / 386.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.3705, allocations: 16.84 kB / 386.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007426/0.378, allocations: 3.515 MB / 389.9 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.3782, allocations: 81.59 kB / 390 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005557/0.3788, allocations: 224.8 kB / 390.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005039/0.3838, allocations: 2.329 MB / 392.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3839, allocations: 3.719 kB / 392.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.3839, allocations: 0 / 392.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.3839, allocations: 0 / 392.6 MB, free: 12.09 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.001772/0.3857, allocations: 0.7395 MB / 393.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3857, allocations: 10.12 kB / 393.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007955/0.3865, allocations: 86.89 kB / 393.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.3869, allocations: 304.2 kB / 393.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.3869, allocations: 22.12 kB / 393.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.413e-05/0.387, allocations: 35.53 kB / 393.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007316/0.3877, allocations: 449.6 kB / 394.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.3877, allocations: 3.188 kB / 394.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.3878, allocations: 16.34 kB / 394.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.3878, allocations: 6.75 kB / 394.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005943/0.3884, allocations: 325.9 kB / 394.5 MB, free: 11.21 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.002408/0.3908, allocations: 2.616 MB / 397.1 MB, free: 9.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.3913, allocations: 251.1 kB / 397.4 MB, free: 9.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.3915, allocations: 110.1 kB / 397.5 MB, free: 9.102 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03033/0.4219, allocations: 15.59 MB / 413.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.4219, allocations: 45.31 kB / 413.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.705e-06/0.4219, allocations: 3.938 kB / 413.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.004414/0.4264, allocations: 1.313 MB / 414.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.4264, allocations: 54.22 kB / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.4267, allocations: 270.3 kB / 414.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.4268, allocations: 34.17 kB / 414.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.4269, allocations: 192.2 kB / 415 MB, free: 12.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.171e-05/0.427, allocations: 116.4 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/0.4271, allocations: 33.7 kB / 415.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4272, allocations: 340.6 kB / 415.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.4274, allocations: 104 kB / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.4277, allocations: 220.5 kB / 415.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.4281, allocations: 349.6 kB / 416.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4281, allocations: 0 / 416.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006777/0.4288, allocations: 452.7 kB / 416.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4288, allocations: 7.938 kB / 416.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.4288, allocations: 6.047 kB / 416.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003114/0.4319, allocations: 267 kB / 416.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.4322, allocations: 87.3 kB / 416.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.4336, allocations: 1.871 MB / 418.8 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.4339, allocations: 36.45 kB / 418.8 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.434, allocations: 18.75 kB / 418.9 MB, free: 9.602 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.000184/0.4342, allocations: 158.9 kB / 419 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.4342, allocations: 27.59 kB / 419 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.4352, allocations: 0.9571 MB / 420 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.4353, allocations: 9.734 kB / 420 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.4353, allocations: 0 / 420 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009217/0.4362, allocations: 1.114 MB / 421.1 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.438, allocations: 1.598 MB / 422.7 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.438, allocations: 4.859 kB / 422.7 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.4382, allocations: 50.69 kB / 422.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/0.4399, allocations: 289.9 kB / 423.1 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.44, allocations: 12.94 kB / 423.1 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005488/0.4405, allocations: 0.6707 MB / 423.7 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4405, allocations: 0 / 423.7 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.4417, allocations: 0.9505 MB / 424.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.4418, allocations: 136.4 kB / 424.8 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.4419, allocations: 7.5 kB / 424.8 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.4421, allocations: 18.73 kB / 424.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.4422, allocations: 22.09 kB / 424.9 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.4422, allocations: 13.69 kB / 424.9 MB, free: 5.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002538/0.4424, allocations: 242.8 kB / 425.1 MB, free: 5.051 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4424, allocations: 0 / 425.1 MB, free: 5.051 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002405/0.4449, allocations: 499.7 kB / 425.6 MB, free: 4.582 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.002004/0.4469, allocations: 0.5066 MB / 426.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.448, allocations: 0.5192 MB / 426.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.448, allocations: 0 / 426.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004683/0.4485, allocations: 304 kB / 426.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.4496, allocations: 185.5 kB / 427.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.4514, allocations: 1.233 MB / 428.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.4519, allocations: 0.8185 MB / 429.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003482/0.4522, allocations: 122.4 kB / 429.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/0.4523, allocations: 34.94 kB / 429.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4523, allocations: 0 / 429.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of Templates: time 0.0291/0.4814, allocations: 18.42 MB / 447.7 MB, free: 14.98 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)