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.00916/0.00916, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.001279/0.001279, allocations: 199 kB / 16.67 MB, free: 5.531 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.463/1.463, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001151/0.001151, allocations: 56.34 kB / 326.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1101, allocations: 46.62 MB / 373.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.2255/0.3356, allocations: 32.56 MB / 405.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01938/0.3551, allocations: 15.74 MB / 421.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005184/0.3557, allocations: 4.188 kB / 421.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009472/0.3566, allocations: 267.5 kB / 421.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.3577, allocations: 367.9 kB / 422.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02354/0.3812, allocations: 5.791 MB / 427.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001936/0.3832, allocations: 0.9919 MB / 428.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000346/0.3836, allocations: 106.5 kB / 429 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006902/0.3905, allocations: 2.218 MB / 431.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007208/0.3912, allocations: 302.8 kB / 431.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.3914, allocations: 44 kB / 431.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01237/0.4038, allocations: 6.068 MB / 437.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.404, allocations: 107.6 kB / 437.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004152/0.4044, allocations: 231.2 kB / 438 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00778/0.4122, allocations: 3.78 MB / 441.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4122, allocations: 0 / 441.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4122, allocations: 0 / 441.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.4123, allocations: 4 kB / 441.8 MB, free: 10.96 MB / 366.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.002647/0.4149, allocations: 1.042 MB / 442.8 MB, free: 9.863 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.415, allocations: 8.031 kB / 442.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.4163, allocations: 152.6 kB / 443 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/0.4168, allocations: 327.7 kB / 443.3 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/0.4169, allocations: 29.03 kB / 443.3 MB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.4169, allocations: 32.56 kB / 443.3 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.4184, allocations: 0.5541 MB / 443.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.4184, allocations: 0 / 443.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.4185, allocations: 12 kB / 443.9 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.4185, allocations: 8 kB / 443.9 MB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.42, allocations: 0.5016 MB / 444.4 MB, free: 8.176 MB / 366.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.003188/0.4232, allocations: 2.613 MB / 447 MB, free: 5.305 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.4248, allocations: 446.9 kB / 447.5 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004247/0.4252, allocations: 161.6 kB / 447.6 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007965/0.426, allocations: 0.568 MB / 448.2 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.426, allocations: 34.56 kB / 448.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.4261, allocations: 0 / 448.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.00487/0.4309, allocations: 1.508 MB / 449.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.431, allocations: 59.34 kB / 449.8 MB, free: 2.344 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.4313, allocations: 245 kB / 450 MB, free: 2.098 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.4313, allocations: 33.7 kB / 450.1 MB, free: 2.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.4314, allocations: 188.5 kB / 450.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.941e-05/0.4315, allocations: 119 kB / 450.4 MB, free: 1.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.4317, allocations: 89.95 kB / 450.5 MB, free: 1.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4318, allocations: 334.8 kB / 450.8 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.4322, allocations: 144.8 kB / 450.9 MB, free: 1.184 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.4328, allocations: 235.4 kB / 451.2 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009902/0.4338, allocations: 394.9 kB / 451.5 MB, free: 496 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4338, allocations: 0 / 451.5 MB, free: 496 kB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001305/0.4352, allocations: 0.5038 MB / 452 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.4352, allocations: 12.03 kB / 452.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4352, allocations: 0 / 452.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005191/0.4357, allocations: 110.4 kB / 452.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.4361, allocations: 89.02 kB / 452.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.4382, allocations: 2.507 MB / 454.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.4385, allocations: 31.97 kB / 454.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.4386, allocations: 16 kB / 454.8 MB, free: 13 MB / 382.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.0002103/0.4388, allocations: 165.7 kB / 455 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.729e-05/0.4389, allocations: 31.8 kB / 455 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.4408, allocations: 1.317 MB / 456.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.4409, allocations: 15.97 kB / 456.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.4409, allocations: 0 / 456.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001823/0.4427, allocations: 1.429 MB / 457.8 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.4456, allocations: 2.109 MB / 459.9 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.4456, allocations: 0 / 459.9 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.446, allocations: 87.86 kB / 460 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003063/0.4463, allocations: 76.75 kB / 460 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.4463, allocations: 11.98 kB / 460 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000436/0.4468, allocations: 0.5952 MB / 460.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4468, allocations: 0 / 460.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.4486, allocations: 1.276 MB / 461.9 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.4487, allocations: 132.6 kB / 462 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.899e-05/0.4487, allocations: 31.88 kB / 462.1 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.449, allocations: 19.98 kB / 462.1 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.4491, allocations: 31.95 kB / 462.1 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.4491, allocations: 15.98 kB / 462.1 MB, free: 5.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002582/0.4494, allocations: 235 kB / 462.4 MB, free: 5.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4494, allocations: 3.938 kB / 462.4 MB, free: 5.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003017/0.4524, allocations: 0.8579 MB / 463.2 MB, free: 4.32 MB / 382.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.003141/0.4556, allocations: 0.9769 MB / 464.2 MB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.4569, allocations: 0.6499 MB / 464.9 MB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4569, allocations: 0.6875 kB / 464.9 MB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006654/0.4576, allocations: 416.7 kB / 465.3 MB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.4587, allocations: 195 kB / 465.5 MB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.4607, allocations: 1.272 MB / 466.7 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.4611, allocations: 0.8767 MB / 467.6 MB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003367/0.4615, allocations: 148.6 kB / 467.7 MB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-05/0.4616, allocations: 39.42 kB / 467.8 MB, free: 15.69 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4616, allocations: 3.938 kB / 467.8 MB, free: 15.69 MB / 398.1 MB Notification: Performance of Templates: time 0.04654/0.5081, allocations: 35.84 MB / 0.4918 GB, free: 11.79 MB / 430.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)