Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 108 kB / 15.6 MB, free: 132 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.001947/0.001947, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.484/1.484, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.001075/0.001075, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2399, allocations: 46.64 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03331/0.2732, allocations: 32.56 MB / 357.9 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01671/0.29, allocations: 15.73 MB / 373.6 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003563/0.2904, allocations: 7.938 kB / 373.6 MB, free: 3.465 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008548/0.2913, allocations: 270.4 kB / 373.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006912/0.292, allocations: 357.9 kB / 374.2 MB, free: 2.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01624/0.3082, allocations: 5.796 MB / 380 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.3095, allocations: 1.005 MB / 381 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.3097, allocations: 112.9 kB / 381.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005062/0.3148, allocations: 2.2 MB / 383.3 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.3152, allocations: 302.8 kB / 383.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.094e-05/0.3153, allocations: 40 kB / 383.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01275/0.328, allocations: 5.932 MB / 389.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002796/0.3283, allocations: 115.6 kB / 389.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004813/0.3288, allocations: 231.2 kB / 390 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008555/0.3374, allocations: 3.793 MB / 393.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3374, allocations: 0 / 393.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3374, allocations: 0 / 393.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3374, allocations: 4 kB / 393.7 MB, free: 15.27 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.002078/0.3395, allocations: 0.9903 MB / 394.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.3396, allocations: 15.97 kB / 394.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.3409, allocations: 148.4 kB / 394.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.3413, allocations: 323.6 kB / 395.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.3414, allocations: 24.97 kB / 395.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.3414, allocations: 32.38 kB / 395.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.3426, allocations: 0.519 MB / 395.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.3426, allocations: 0 / 395.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.3427, allocations: 16 kB / 395.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3427, allocations: 12 kB / 395.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006036/0.3433, allocations: 317.9 kB / 396.1 MB, free: 12.76 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.003021/0.3463, allocations: 2.569 MB / 398.7 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005588/0.3469, allocations: 274.7 kB / 399 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.3471, allocations: 112.8 kB / 399.1 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08641/0.4335, allocations: 30.89 MB / 430 MB, free: 7.105 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.909e-05/0.4336, allocations: 42.56 kB / 430 MB, free: 7.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 4.959e-06/0.4337, allocations: 0 / 430 MB, free: 7.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.006155/0.4398, allocations: 1.192 MB / 431.2 MB, free: 5.785 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.4399, allocations: 59.41 kB / 431.3 MB, free: 5.715 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005117/0.4405, allocations: 254.5 kB / 431.5 MB, free: 5.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.218e-05/0.4406, allocations: 33.7 kB / 431.5 MB, free: 5.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.4408, allocations: 196 kB / 431.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.441, allocations: 102.5 kB / 431.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.4412, allocations: 82.03 kB / 431.9 MB, free: 5.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.4414, allocations: 338.8 kB / 432.2 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.4417, allocations: 96.84 kB / 432.3 MB, free: 4.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.4421, allocations: 210.9 kB / 432.5 MB, free: 4.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008122/0.4429, allocations: 342.3 kB / 432.9 MB, free: 3.953 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.443, allocations: 0 / 432.9 MB, free: 3.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001334/0.4443, allocations: 426.9 kB / 433.3 MB, free: 3.523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.4444, allocations: 8 kB / 433.3 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.4444, allocations: 4 kB / 433.3 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/0.4448, allocations: 57.69 kB / 433.4 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006737/0.4455, allocations: 87.84 kB / 433.5 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.4484, allocations: 2.533 MB / 436 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.4488, allocations: 8 kB / 436 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/0.4489, allocations: 20 kB / 436 MB, free: 0.6133 MB / 366.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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003553/0.4492, allocations: 165.9 kB / 436.2 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.4494, allocations: 27.72 kB / 436.2 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.4513, allocations: 0.8616 MB / 437.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/0.4514, allocations: 15.92 kB / 437.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4514, allocations: 0 / 437.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001656/0.453, allocations: 1.04 MB / 438.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.4562, allocations: 1.485 MB / 439.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.4562, allocations: 7.938 kB / 439.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.4566, allocations: 51.97 kB / 439.7 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005842/0.4572, allocations: 68.7 kB / 439.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.4573, allocations: 15.94 kB / 439.7 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006362/0.4579, allocations: 0.5914 MB / 440.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.458, allocations: 0 / 440.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.4599, allocations: 0.8236 MB / 441.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.4602, allocations: 116.5 kB / 441.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.4603, allocations: 8 kB / 441.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/0.461, allocations: 28.12 kB / 441.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.4611, allocations: 27.89 kB / 441.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.736e-05/0.4612, allocations: 15.98 kB / 441.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000619/0.4619, allocations: 239 kB / 441.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4619, allocations: 0 / 441.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004433/0.4663, allocations: 0.8551 MB / 442.4 MB, free: 9.93 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: 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 (32): * Single equations (assignments): 29 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007173/0.4735, allocations: 0.9709 MB / 443.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002209/0.4758, allocations: 0.5002 MB / 443.9 MB, free: 8.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.4758, allocations: 3.938 kB / 443.9 MB, free: 8.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007169/0.4765, allocations: 244.4 kB / 444.2 MB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.4788, allocations: 187.4 kB / 444.3 MB, free: 8.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.4818, allocations: 1 MB / 445.3 MB, free: 6.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006329/0.4825, allocations: 0.8211 MB / 446.2 MB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007464/0.4832, allocations: 179 kB / 446.3 MB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.4834, allocations: 31.44 kB / 446.4 MB, free: 5.934 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4834, allocations: 4 kB / 446.4 MB, free: 5.93 MB / 382.1 MB Notification: Performance of Templates: time 0.2327/0.7161, allocations: 34.85 MB / 481.2 MB, free: 97.07 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)