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.001148/0.001148, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001258/0.001258, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.394/1.394, allocations: 205.1 MB / 223.7 MB, free: 12.34 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.001219/0.001219, allocations: 55.92 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09684, allocations: 46.64 MB / 326.6 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03428/0.1312, allocations: 32.56 MB / 359.2 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01782/0.149, allocations: 15.74 MB / 374.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.1494, allocations: 4 kB / 374.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008154/0.1502, allocations: 262.4 kB / 375.2 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007371/0.151, allocations: 365.9 kB / 375.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2325/0.3835, allocations: 5.776 MB / 381.3 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.3853, allocations: 0.9772 MB / 382.3 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.3856, allocations: 107.8 kB / 382.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005923/0.3915, allocations: 2.181 MB / 384.6 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.3921, allocations: 299.7 kB / 384.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.389e-05/0.3922, allocations: 36.38 kB / 384.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00742/0.3996, allocations: 3.517 MB / 388.4 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.3999, allocations: 105.1 kB / 388.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005177/0.4004, allocations: 219.6 kB / 388.8 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005818/0.4063, allocations: 2.357 MB / 391.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4063, allocations: 0 / 391.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4063, allocations: 0 / 391.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.4063, allocations: 1.062 kB / 391.1 MB, free: 11.2 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.001916/0.4082, allocations: 0.8214 MB / 391.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.4083, allocations: 8.25 kB / 391.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008275/0.4091, allocations: 83.98 kB / 392 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.4095, allocations: 300.8 kB / 392.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.4095, allocations: 24.05 kB / 392.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.4096, allocations: 33.44 kB / 392.4 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007314/0.4103, allocations: 448.9 kB / 392.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.4103, allocations: 0 / 392.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.4104, allocations: 15.22 kB / 392.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.4104, allocations: 16.06 kB / 392.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005971/0.411, allocations: 313.7 kB / 393.2 MB, free: 10.29 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.00249/0.4135, allocations: 2.639 MB / 395.8 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.414, allocations: 252.3 kB / 396 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.4142, allocations: 105.8 kB / 396.1 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0333/0.4475, allocations: 15.48 MB / 411.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/0.4476, allocations: 39.52 kB / 411.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.445e-06/0.4476, allocations: 3.469 kB / 411.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.004777/0.4524, allocations: 1.303 MB / 413 MB, free: 12.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.4525, allocations: 61.19 kB / 413 MB, free: 12.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.4528, allocations: 264.7 kB / 413.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.4529, allocations: 33.8 kB / 413.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.4531, allocations: 195.1 kB / 413.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.621e-05/0.4532, allocations: 106.5 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.4533, allocations: 82.53 kB / 413.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4535, allocations: 338.5 kB / 414 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.4536, allocations: 105.3 kB / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.4539, allocations: 214 kB / 414.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.4544, allocations: 353.6 kB / 414.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.4544, allocations: 2.188 kB / 414.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008048/0.4552, allocations: 445.3 kB / 415.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.4552, allocations: 9.797 kB / 415.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4553, allocations: 3.312 kB / 415.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003186/0.4585, allocations: 267.9 kB / 415.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.4588, allocations: 78.25 kB / 415.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.4608, allocations: 1.976 MB / 417.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.4611, allocations: 10.03 kB / 417.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.4612, allocations: 19.66 kB / 417.5 MB, free: 9.504 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.0002347/0.4614, allocations: 166.1 kB / 417.6 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-05/0.4615, allocations: 35.94 kB / 417.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.4628, allocations: 0.9493 MB / 418.6 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.4628, allocations: 11.67 kB / 418.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4628, allocations: 0 / 418.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/0.4639, allocations: 1.113 MB / 419.7 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.466, allocations: 1.599 MB / 421.3 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.466, allocations: 0 / 421.3 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.4662, allocations: 46.67 kB / 421.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001714/0.4679, allocations: 295.2 kB / 421.7 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.468, allocations: 7.75 kB / 421.7 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000576/0.4686, allocations: 0.6642 MB / 422.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4686, allocations: 4.062 kB / 422.3 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.4697, allocations: 0.9526 MB / 423.3 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.4699, allocations: 120.6 kB / 423.4 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/0.47, allocations: 11.31 kB / 423.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.4702, allocations: 3.375 kB / 423.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.4702, allocations: 19.91 kB / 423.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.4702, allocations: 12.06 kB / 423.5 MB, free: 5.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002948/0.4705, allocations: 243.9 kB / 423.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4706, allocations: 0 / 423.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002416/0.473, allocations: 0.489 MB / 424.2 MB, free: 4.574 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.002973/0.476, allocations: 0.5119 MB / 424.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.4771, allocations: 0.547 MB / 425.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.4771, allocations: 0 / 425.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004892/0.4776, allocations: 300.5 kB / 425.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.4788, allocations: 193 kB / 425.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.4805, allocations: 1.019 MB / 426.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.4809, allocations: 0.8167 MB / 427.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003492/0.4813, allocations: 118.4 kB / 427.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.4813, allocations: 31.44 kB / 427.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4813, allocations: 0 / 427.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of Templates: time 0.03236/0.5137, allocations: 18.85 MB / 446.6 MB, free: 14.44 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)