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.005527/0.005527, allocations: 100.3 kB / 15.73 MB, free: 6.008 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.001226/0.001226, allocations: 194.7 kB / 16.67 MB, free: 5.926 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.482/1.482, allocations: 205.1 MB / 222.5 MB, free: 4.477 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.002265/0.002265, allocations: 45.17 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1422, 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.04435/0.1866, allocations: 39.25 MB / 412.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00284/0.1895, allocations: 2.027 MB / 414.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.1897, allocations: 7.938 kB / 414.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006122/0.1904, allocations: 178.9 kB / 414.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006048/0.191, allocations: 314.2 kB / 415 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.1917, allocations: 279.5 kB / 415.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008374/0.1925, allocations: 0.8329 MB / 416.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.1927, allocations: 100.7 kB / 416.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3496/0.5423, allocations: 44.09 MB / 460.3 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000713/0.5431, allocations: 272.9 kB / 460.6 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.5432, allocations: 29.06 kB / 460.6 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.5434, allocations: 39.19 kB / 460.6 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.5436, allocations: 88.72 kB / 460.7 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.5438, allocations: 183.2 kB / 460.9 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000605/0.5445, allocations: 439.3 kB / 461.3 MB, free: 35.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5445, allocations: 3.625 kB / 461.3 MB, free: 35.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5445, allocations: 0 / 461.3 MB, free: 35.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.096e-06/0.5445, allocations: 1.062 kB / 461.3 MB, free: 35.66 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.0009158/0.5454, allocations: 0.5907 MB / 461.9 MB, free: 35.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.5455, allocations: 9.422 kB / 461.9 MB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.5458, allocations: 45.27 kB / 462 MB, free: 35.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.5462, allocations: 289.8 kB / 462.2 MB, free: 34.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.5463, allocations: 19.22 kB / 462.3 MB, free: 34.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.5463, allocations: 27.31 kB / 462.3 MB, free: 34.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004787/0.5468, allocations: 307.6 kB / 462.6 MB, free: 34.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.5468, allocations: 0.9062 kB / 462.6 MB, free: 34.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.5469, allocations: 11.06 kB / 462.6 MB, free: 34.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.5469, allocations: 7.562 kB / 462.6 MB, free: 34.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.5472, allocations: 199.8 kB / 462.8 MB, free: 34.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.5487, allocations: 1.431 MB / 464.2 MB, free: 33.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.5491, allocations: 180.5 kB / 464.4 MB, free: 33.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.5493, allocations: 95.72 kB / 464.5 MB, free: 33.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.5493, allocations: 4.328 kB / 464.5 MB, free: 33.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.5493, allocations: 34.56 kB / 464.5 MB, free: 33.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.5493, allocations: 0 / 464.5 MB, free: 33.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002474/0.5518, allocations: 1.007 MB / 465.5 MB, free: 33.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.5519, allocations: 58.12 kB / 465.6 MB, free: 33.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.5521, allocations: 263.2 kB / 465.9 MB, free: 33.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.5521, allocations: 30.36 kB / 465.9 MB, free: 33.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.5523, allocations: 182 kB / 466.1 MB, free: 32.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.524e-05/0.5523, allocations: 98.5 kB / 466.2 MB, free: 32.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-05/0.5524, allocations: 67.52 kB / 466.2 MB, free: 32.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.5525, allocations: 337.3 kB / 466.6 MB, free: 32.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.5527, allocations: 81.44 kB / 466.6 MB, free: 32.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.5529, allocations: 186.1 kB / 466.8 MB, free: 32.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.5532, allocations: 284.8 kB / 467.1 MB, free: 32.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5532, allocations: 2.406 kB / 467.1 MB, free: 32.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006201/0.5539, allocations: 382.5 kB / 467.5 MB, free: 32.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.5539, allocations: 6.625 kB / 467.5 MB, free: 32.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.5539, allocations: 4.625 kB / 467.5 MB, free: 32.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/0.5542, allocations: 67.66 kB / 467.6 MB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.5545, allocations: 67.34 kB / 467.6 MB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.5563, allocations: 2.888 MB / 470.5 MB, free: 29.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.5565, allocations: 11.34 kB / 470.5 MB, free: 29.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.5565, allocations: 15.41 kB / 470.5 MB, free: 29.59 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.0001553/0.5567, allocations: 155.2 kB / 470.7 MB, free: 29.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.5568, allocations: 32.33 kB / 470.7 MB, free: 29.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.5569, allocations: 37.75 kB / 470.8 MB, free: 29.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5569, allocations: 2.312 kB / 470.8 MB, free: 29.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5569, allocations: 1.25 kB / 470.8 MB, free: 29.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005169/0.5574, allocations: 0.5615 MB / 471.3 MB, free: 29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000975/0.5584, allocations: 0.7017 MB / 472 MB, free: 28.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.5584, allocations: 1.469 kB / 472 MB, free: 28.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.5586, allocations: 45.23 kB / 472.1 MB, free: 28.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/0.5588, allocations: 52.5 kB / 472.1 MB, free: 28.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.5589, allocations: 7.625 kB / 472.1 MB, free: 28.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008611/0.5597, allocations: 1.496 MB / 473.6 MB, free: 27.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5598, allocations: 0 / 473.6 MB, free: 27.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006113/0.5604, allocations: 481.5 kB / 474.1 MB, free: 27.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.5604, allocations: 103.2 kB / 474.2 MB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.5605, allocations: 5.375 kB / 474.2 MB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.5607, allocations: 8.641 kB / 474.2 MB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.5607, allocations: 15.03 kB / 474.2 MB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.5608, allocations: 13.22 kB / 474.2 MB, free: 27.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.5609, allocations: 187.7 kB / 474.4 MB, free: 26.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5609, allocations: 0 / 474.4 MB, free: 26.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.5614, allocations: 86 kB / 474.5 MB, free: 26.93 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.0001214/0.5615, allocations: 108.9 kB / 474.6 MB, free: 26.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000726/0.5622, allocations: 478.8 kB / 475.1 MB, free: 26.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5623, allocations: 4 kB / 475.1 MB, free: 26.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.5626, allocations: 234.2 kB / 475.3 MB, free: 26.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008825/0.5635, allocations: 161.1 kB / 475.5 MB, free: 26.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.5646, allocations: 0.7002 MB / 476.2 MB, free: 26.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.5648, allocations: 0.7678 MB / 476.9 MB, free: 25.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000222/0.565, allocations: 52 kB / 477 MB, free: 25.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.5651, allocations: 25.31 kB / 477 MB, free: 25.42 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5651, allocations: 0 / 477 MB, free: 25.42 MB / 382.1 MB Notification: Performance of Templates: time 0.00929/0.5744, allocations: 5.75 MB / 482.8 MB, free: 24.76 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)