Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005107/0.005108, allocations: 102 kB / 15.73 MB, free: 6.035 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.001117/0.001117, allocations: 196.7 kB / 16.68 MB, free: 5.953 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.485/1.485, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001201/0.001201, allocations: 49.95 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1083, allocations: 46.63 MB / 373.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04283/0.1512, allocations: 39.25 MB / 412.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002885/0.1541, allocations: 2.035 MB / 414.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.1544, allocations: 4 kB / 414.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006401/0.1551, allocations: 170.9 kB / 414.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005992/0.1557, allocations: 318.2 kB / 415 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006819/0.1564, allocations: 283.5 kB / 415.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009188/0.1573, allocations: 0.8407 MB / 416.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.1575, allocations: 100.7 kB / 416.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3863/0.5439, allocations: 44.1 MB / 460.3 MB, free: 35.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006823/0.5446, allocations: 270.1 kB / 460.6 MB, free: 35.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.265e-05/0.5447, allocations: 28.41 kB / 460.6 MB, free: 35.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.5449, allocations: 35.36 kB / 460.6 MB, free: 35.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.545, allocations: 93.84 kB / 460.7 MB, free: 35.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.5453, allocations: 183 kB / 460.9 MB, free: 35.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006544/0.5459, allocations: 438 kB / 461.3 MB, free: 35.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5459, allocations: 0 / 461.3 MB, free: 35.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.546, allocations: 0 / 461.3 MB, free: 35.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.546, allocations: 5.281 kB / 461.3 MB, free: 35.55 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001018/0.547, allocations: 0.5799 MB / 461.9 MB, free: 35.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5471, allocations: 9.156 kB / 461.9 MB, free: 35.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.5474, allocations: 46.83 kB / 462 MB, free: 35.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.5478, allocations: 287.5 kB / 462.2 MB, free: 34.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.5478, allocations: 20.06 kB / 462.3 MB, free: 34.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.5479, allocations: 27.19 kB / 462.3 MB, free: 34.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.5484, allocations: 307.3 kB / 462.6 MB, free: 34.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.5484, allocations: 1.031 kB / 462.6 MB, free: 34.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.5485, allocations: 11.28 kB / 462.6 MB, free: 34.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.5485, allocations: 7.734 kB / 462.6 MB, free: 34.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003466/0.5488, allocations: 199.1 kB / 462.8 MB, free: 34.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.5503, allocations: 1.428 MB / 464.2 MB, free: 33.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.5507, allocations: 184.3 kB / 464.4 MB, free: 33.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.5508, allocations: 88.44 kB / 464.5 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.5509, allocations: 3.906 kB / 464.5 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.5509, allocations: 42.95 kB / 464.5 MB, free: 33.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.5509, allocations: 0 / 464.5 MB, free: 33.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.00245/0.5534, allocations: 1.001 MB / 465.5 MB, free: 33.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.5534, allocations: 55.03 kB / 465.6 MB, free: 33.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.5537, allocations: 261.7 kB / 465.9 MB, free: 33.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.5537, allocations: 32.58 kB / 465.9 MB, free: 33.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.5538, allocations: 176.4 kB / 466.1 MB, free: 32.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.5539, allocations: 93.42 kB / 466.2 MB, free: 32.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.554, allocations: 60.25 kB / 466.2 MB, free: 32.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.837e-05/0.5541, allocations: 347.2 kB / 466.5 MB, free: 32.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.5542, allocations: 79.44 kB / 466.6 MB, free: 32.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.5545, allocations: 184.5 kB / 466.8 MB, free: 32.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.5549, allocations: 287.3 kB / 467.1 MB, free: 32.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5549, allocations: 2.875 kB / 467.1 MB, free: 32.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006347/0.5555, allocations: 395 kB / 467.5 MB, free: 32.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.5555, allocations: 9.328 kB / 467.5 MB, free: 32.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5556, allocations: 3.5 kB / 467.5 MB, free: 32.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/0.5558, allocations: 59.47 kB / 467.5 MB, free: 32.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.5561, allocations: 68.45 kB / 467.6 MB, free: 32.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.5578, allocations: 2.883 MB / 470.5 MB, free: 29.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.5581, allocations: 14.59 kB / 470.5 MB, free: 29.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.5581, allocations: 14.97 kB / 470.5 MB, free: 29.54 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.5583, allocations: 149.8 kB / 470.7 MB, free: 29.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.5583, allocations: 24.81 kB / 470.7 MB, free: 29.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.344e-05/0.5584, allocations: 42.95 kB / 470.7 MB, free: 29.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5584, allocations: 2.219 kB / 470.7 MB, free: 29.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5584, allocations: 2.156 kB / 470.7 MB, free: 29.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005064/0.559, allocations: 0.556 MB / 471.3 MB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008782/0.5598, allocations: 0.7037 MB / 472 MB, free: 28.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.5599, allocations: 2.281 kB / 472 MB, free: 28.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.5601, allocations: 48.88 kB / 472.1 MB, free: 28.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001982/0.5603, allocations: 46.64 kB / 472.1 MB, free: 28.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.5603, allocations: 9.938 kB / 472.1 MB, free: 28.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008438/0.5611, allocations: 1.49 MB / 473.6 MB, free: 27.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5612, allocations: 6.531 kB / 473.6 MB, free: 27.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006425/0.5618, allocations: 476.5 kB / 474.1 MB, free: 27.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.5619, allocations: 101.4 kB / 474.2 MB, free: 26.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.5619, allocations: 6 kB / 474.2 MB, free: 26.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.5621, allocations: 4.344 kB / 474.2 MB, free: 26.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.5622, allocations: 25.39 kB / 474.2 MB, free: 26.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.5622, allocations: 9.797 kB / 474.2 MB, free: 26.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.5624, allocations: 195 kB / 474.4 MB, free: 26.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5624, allocations: 0 / 474.4 MB, free: 26.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004186/0.5628, allocations: 86.25 kB / 474.5 MB, free: 26.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000113/0.5629, allocations: 100.7 kB / 474.6 MB, free: 26.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007395/0.5637, allocations: 473.4 kB / 475 MB, free: 26.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.5637, allocations: 1.375 kB / 475 MB, free: 26.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.564, allocations: 240.6 kB / 475.3 MB, free: 26.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008802/0.5649, allocations: 158.3 kB / 475.4 MB, free: 26.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.566, allocations: 0.6856 MB / 476.1 MB, free: 26.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.5662, allocations: 0.7675 MB / 476.9 MB, free: 25.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002246/0.5665, allocations: 57.39 kB / 476.9 MB, free: 25.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.5666, allocations: 25.31 kB / 477 MB, free: 25.39 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5666, allocations: 7.094 kB / 477 MB, free: 25.39 MB / 382.1 MB Notification: Performance of Templates: time 0.009484/0.5761, allocations: 5.745 MB / 482.7 MB, free: 24.73 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)