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.001479/0.001479, allocations: 105 kB / 17.06 MB, free: 6.027 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.001646/0.001646, allocations: 196 kB / 18 MB, free: 5.105 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.438/1.438, allocations: 205.1 MB / 223.9 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.001261/0.001261, allocations: 51.92 kB / 327.9 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1022, allocations: 46.63 MB / 374.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.2235/0.3257, allocations: 32.56 MB / 407.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0186/0.3444, allocations: 15.74 MB / 422.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003765/0.3448, allocations: 4.125 kB / 422.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008925/0.3457, allocations: 267.8 kB / 423.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007297/0.3465, allocations: 362 kB / 423.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01673/0.3632, allocations: 5.778 MB / 429.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001434/0.3647, allocations: 0.9754 MB / 430.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.3649, allocations: 116.7 kB / 430.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004373/0.3693, allocations: 2.189 MB / 432.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.3697, allocations: 298.8 kB / 432.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.3697, allocations: 36 kB / 432.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006112/0.3758, allocations: 3.609 MB / 436.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.376, allocations: 99.67 kB / 436.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.3762, allocations: 223.2 kB / 436.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.3789, allocations: 2.358 MB / 439.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3789, allocations: 0 / 439.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.379, allocations: 0 / 439.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.379, allocations: 0 / 439.1 MB, free: 14.92 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.00129/0.3803, allocations: 0.8194 MB / 439.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3803, allocations: 8.031 kB / 440 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006819/0.381, allocations: 84.42 kB / 440 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.3814, allocations: 311.6 kB / 440.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.3815, allocations: 29.03 kB / 440.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.3816, allocations: 28.56 kB / 440.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007581/0.3823, allocations: 450.1 kB / 440.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.3823, allocations: 3.938 kB / 440.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.3824, allocations: 16 kB / 440.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3824, allocations: 14.62 kB / 440.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005826/0.383, allocations: 309.9 kB / 441.2 MB, free: 12.74 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.002518/0.3855, allocations: 2.625 MB / 443.8 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000521/0.386, allocations: 250.5 kB / 444 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.3862, allocations: 104.8 kB / 444.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03245/0.4187, allocations: 15.54 MB / 459.7 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.4187, allocations: 38.56 kB / 459.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.264e-06/0.4188, allocations: 3.938 kB / 459.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004461/0.4232, allocations: 1.301 MB / 461 MB, free: 6.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.4233, allocations: 59.34 kB / 461.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.4236, allocations: 270.5 kB / 461.4 MB, free: 6.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.4236, allocations: 29.7 kB / 461.4 MB, free: 6.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.4237, allocations: 192 kB / 461.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.4238, allocations: 114.4 kB / 461.7 MB, free: 6.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.4239, allocations: 74.12 kB / 461.8 MB, free: 5.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4241, allocations: 342.8 kB / 462.1 MB, free: 5.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.4243, allocations: 100.8 kB / 462.2 MB, free: 5.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.4245, allocations: 230.8 kB / 462.4 MB, free: 5.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.425, allocations: 350.4 kB / 462.8 MB, free: 4.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.425, allocations: 2.062 kB / 462.8 MB, free: 4.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007522/0.4258, allocations: 442.8 kB / 463.2 MB, free: 4.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.4258, allocations: 8 kB / 463.2 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.4258, allocations: 4 kB / 463.2 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003054/0.4289, allocations: 265.3 kB / 463.5 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.4292, allocations: 79.91 kB / 463.5 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.4307, allocations: 1.982 MB / 465.5 MB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.4309, allocations: 16 kB / 465.5 MB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.431, allocations: 16 kB / 465.5 MB, free: 1.883 MB / 382.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.0001779/0.4311, allocations: 153.8 kB / 465.7 MB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/0.4312, allocations: 36.97 kB / 465.7 MB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.4323, allocations: 0.9474 MB / 466.7 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.4323, allocations: 7.984 kB / 466.7 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.4323, allocations: 0 / 466.7 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009821/0.4333, allocations: 1.114 MB / 467.8 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.435, allocations: 1.593 MB / 469.4 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.435, allocations: 4 kB / 469.4 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.4352, allocations: 43.98 kB / 469.4 MB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001638/0.4369, allocations: 287.9 kB / 469.7 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.4369, allocations: 8 kB / 469.7 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000526/0.4374, allocations: 0.6702 MB / 470.4 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4375, allocations: 0 / 470.4 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.4386, allocations: 0.9537 MB / 471.4 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.4387, allocations: 116.6 kB / 471.5 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.4387, allocations: 15.84 kB / 471.5 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.4389, allocations: 8 kB / 471.5 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.439, allocations: 19.97 kB / 471.5 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.439, allocations: 12 kB / 471.5 MB, free: 11.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002425/0.4392, allocations: 243 kB / 471.8 MB, free: 11.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4393, allocations: 4.062 kB / 471.8 MB, free: 11.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001617/0.4409, allocations: 0.492 MB / 472.3 MB, free: 10.92 MB / 398.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.001602/0.4425, allocations: 0.5105 MB / 472.8 MB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000857/0.4434, allocations: 0.5318 MB / 473.3 MB, free: 9.859 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4434, allocations: 0 / 473.3 MB, free: 9.859 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.4438, allocations: 296.4 kB / 473.6 MB, free: 9.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.4448, allocations: 195.9 kB / 473.8 MB, free: 9.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.4463, allocations: 1.001 MB / 474.8 MB, free: 8.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.4467, allocations: 0.8204 MB / 475.6 MB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002619/0.4469, allocations: 111.1 kB / 475.7 MB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.447, allocations: 31.44 kB / 475.7 MB, free: 7.367 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.447, allocations: 0 / 475.7 MB, free: 7.367 MB / 398.1 MB Notification: Performance of Templates: time 0.02553/0.4725, allocations: 19.03 MB / 494.8 MB, free: 4.297 MB / 414.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)