Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.007683/0.007683, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001561/0.001561, allocations: 192.9 kB / 16.67 MB, free: 5.52 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.443/1.443, 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.001249/0.00125, allocations: 51.94 kB / 326.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0935/0.09476, allocations: 46.62 MB / 373.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.2319/0.3267, allocations: 32.56 MB / 405.8 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02033/0.3471, allocations: 15.73 MB / 421.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004942/0.3477, allocations: 7.938 kB / 421.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.3487, allocations: 267.3 kB / 421.8 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009644/0.3497, allocations: 367.4 kB / 422.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01857/0.3683, allocations: 5.791 MB / 427.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.3696, allocations: 0.9821 MB / 428.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.3698, allocations: 108.1 kB / 429 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005621/0.3754, allocations: 2.195 MB / 431.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004047/0.3759, allocations: 294.9 kB / 431.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.3759, allocations: 39.94 kB / 431.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006661/0.3826, allocations: 3.609 MB / 435.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.3828, allocations: 103.7 kB / 435.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.383, allocations: 215.2 kB / 435.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003421/0.3865, allocations: 2.362 MB / 437.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3865, allocations: 0 / 437.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3865, allocations: 4 kB / 437.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.3865, allocations: 0 / 437.8 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.001243/0.3878, allocations: 0.8116 MB / 438.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3878, allocations: 8.031 kB / 438.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007124/0.3885, allocations: 92.41 kB / 438.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.389, allocations: 307.7 kB / 439 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.389, allocations: 25.02 kB / 439.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.389, allocations: 36.56 kB / 439.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007514/0.3898, allocations: 446.1 kB / 439.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3898, allocations: 0 / 439.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.3899, allocations: 16.88 kB / 439.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.3899, allocations: 8 kB / 439.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005773/0.3905, allocations: 313.8 kB / 439.9 MB, free: 12.75 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.002455/0.3929, allocations: 2.629 MB / 442.5 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005543/0.3935, allocations: 254.5 kB / 442.7 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.3937, allocations: 111.6 kB / 442.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03264/0.4263, allocations: 15.54 MB / 458.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.4264, allocations: 34.56 kB / 458.4 MB, free: 8.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.685e-06/0.4264, allocations: 0 / 458.4 MB, free: 8.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004701/0.4311, allocations: 1.307 MB / 459.7 MB, free: 6.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.4312, allocations: 55.41 kB / 459.8 MB, free: 6.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.4315, allocations: 266.5 kB / 460 MB, free: 6.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.4316, allocations: 37.7 kB / 460.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.4317, allocations: 184.1 kB / 460.3 MB, free: 6.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.923e-05/0.4318, allocations: 114.4 kB / 460.4 MB, free: 6.066 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.4319, allocations: 74.14 kB / 460.4 MB, free: 5.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4321, allocations: 346.8 kB / 460.8 MB, free: 5.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.4323, allocations: 96.78 kB / 460.9 MB, free: 5.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.4325, allocations: 230.8 kB / 461.1 MB, free: 5.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.433, allocations: 350.3 kB / 461.4 MB, free: 4.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.433, allocations: 0 / 461.4 MB, free: 4.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000733/0.4337, allocations: 454.4 kB / 461.9 MB, free: 4.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4337, allocations: 4 kB / 461.9 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4338, allocations: 4 kB / 461.9 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003202/0.437, allocations: 265.4 kB / 462.2 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.4373, allocations: 80.2 kB / 462.2 MB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.4388, allocations: 1.974 MB / 464.2 MB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.439, allocations: 15.94 kB / 464.2 MB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.4391, allocations: 20 kB / 464.2 MB, free: 1.891 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.0001995/0.4393, allocations: 161.9 kB / 464.4 MB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.689e-05/0.4394, allocations: 35.64 kB / 464.4 MB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.4404, allocations: 0.9396 MB / 465.4 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4404, allocations: 7.984 kB / 465.4 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.4405, allocations: 4 kB / 465.4 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001049/0.4415, allocations: 1.118 MB / 466.5 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.4433, allocations: 1.584 MB / 468.1 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4433, allocations: 0 / 468.1 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.4435, allocations: 57.47 kB / 468.1 MB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001611/0.4451, allocations: 280 kB / 468.4 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.4452, allocations: 12 kB / 468.4 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005084/0.4457, allocations: 0.6693 MB / 469.1 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4457, allocations: 64 / 469.1 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.4468, allocations: 0.9537 MB / 470 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.891e-05/0.4469, allocations: 112.6 kB / 470.2 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.447, allocations: 15.84 kB / 470.2 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.4472, allocations: 4 kB / 470.2 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.4472, allocations: 23.97 kB / 470.2 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.4472, allocations: 7.984 kB / 470.2 MB, free: 11.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002424/0.4475, allocations: 247.1 kB / 470.5 MB, free: 11.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4475, allocations: 0 / 470.5 MB, free: 11.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001574/0.4491, allocations: 499.8 kB / 470.9 MB, free: 10.94 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.00239/0.4515, allocations: 0.5125 MB / 471.5 MB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008937/0.4524, allocations: 0.5279 MB / 472 MB, free: 9.879 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4524, allocations: 0 / 472 MB, free: 9.879 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004188/0.4528, allocations: 296.4 kB / 472.3 MB, free: 9.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4538, allocations: 206.3 kB / 472.5 MB, free: 9.391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.4553, allocations: 0.9972 MB / 473.5 MB, free: 8.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.4557, allocations: 0.8282 MB / 474.3 MB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.456, allocations: 115.1 kB / 474.4 MB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.869e-05/0.4561, allocations: 35.44 kB / 474.4 MB, free: 7.367 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4561, allocations: 4 kB / 474.4 MB, free: 7.363 MB / 398.1 MB Notification: Performance of Templates: time 0.0296/0.4857, allocations: 18.89 MB / 493.3 MB, free: 4.438 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)