Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.01028/0.01029, allocations: 100.4 kB / 15.73 MB, free: 5.98 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.002138/0.002138, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.481/1.481, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001394/0.001394, allocations: 50.95 kB / 326.6 MB, free: 14.53 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1181, allocations: 46.62 MB / 373.2 MB, free: 1.398 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05031/0.1684, allocations: 39.24 MB / 412.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.1723, allocations: 2.039 MB / 414.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005329/0.1729, allocations: 4 kB / 414.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008979/0.1738, allocations: 166.9 kB / 414.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.1749, allocations: 314.3 kB / 415 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000895/0.1758, allocations: 295.4 kB / 415.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.1773, allocations: 0.8329 MB / 416.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004052/0.1777, allocations: 104.7 kB / 416.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3775/0.5553, allocations: 44.08 MB / 460.3 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008235/0.5562, allocations: 273.5 kB / 460.5 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.5563, allocations: 32.5 kB / 460.6 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.5565, allocations: 39.36 kB / 460.6 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.5567, allocations: 91.64 kB / 460.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.557, allocations: 184.4 kB / 460.9 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006941/0.5577, allocations: 434.6 kB / 461.3 MB, free: 35.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5577, allocations: 0 / 461.3 MB, free: 35.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.536e-06/0.5577, allocations: 1.125 kB / 461.3 MB, free: 35.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.5577, allocations: 0 / 461.3 MB, free: 35.79 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.001105/0.5588, allocations: 0.5835 MB / 461.9 MB, free: 35.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.5589, allocations: 10.06 kB / 461.9 MB, free: 35.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.5592, allocations: 47.73 kB / 462 MB, free: 35.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.5597, allocations: 294.1 kB / 462.2 MB, free: 35.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.5597, allocations: 17.62 kB / 462.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.5598, allocations: 24.09 kB / 462.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.5603, allocations: 306.5 kB / 462.6 MB, free: 35.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.5603, allocations: 5.531 kB / 462.6 MB, free: 35.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.5603, allocations: 9.812 kB / 462.6 MB, free: 35.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.5603, allocations: 6.625 kB / 462.6 MB, free: 35.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.5607, allocations: 198.5 kB / 462.8 MB, free: 35.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.5622, allocations: 1.429 MB / 464.2 MB, free: 34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.5625, allocations: 177.2 kB / 464.4 MB, free: 33.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.5627, allocations: 91.17 kB / 464.5 MB, free: 33.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.5627, allocations: 6.547 kB / 464.5 MB, free: 33.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.5628, allocations: 33.42 kB / 464.5 MB, free: 33.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.5628, allocations: 0 / 464.5 MB, free: 33.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002596/0.5654, allocations: 0.9974 MB / 465.5 MB, free: 33.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.5654, allocations: 58.77 kB / 465.6 MB, free: 33.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.5657, allocations: 267.1 kB / 465.8 MB, free: 33.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.5657, allocations: 30.83 kB / 465.9 MB, free: 33.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.5658, allocations: 178.3 kB / 466 MB, free: 33.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/0.5659, allocations: 92.06 kB / 466.1 MB, free: 33.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.566, allocations: 62.33 kB / 466.2 MB, free: 33.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.676e-05/0.5661, allocations: 334 kB / 466.5 MB, free: 32.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.5662, allocations: 84.92 kB / 466.6 MB, free: 32.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.5665, allocations: 184.8 kB / 466.8 MB, free: 32.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.5668, allocations: 289.2 kB / 467.1 MB, free: 32.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5668, allocations: 1.156 kB / 467.1 MB, free: 32.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00067/0.5675, allocations: 393.4 kB / 467.5 MB, free: 32.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.5675, allocations: 5.656 kB / 467.5 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5675, allocations: 2.562 kB / 467.5 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002684/0.5678, allocations: 60.72 kB / 467.5 MB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.5682, allocations: 69.14 kB / 467.6 MB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.5702, allocations: 2.894 MB / 470.5 MB, free: 29.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.5705, allocations: 11.75 kB / 470.5 MB, free: 29.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.5705, allocations: 13.75 kB / 470.5 MB, free: 29.76 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.0001732/0.5707, allocations: 153 kB / 470.7 MB, free: 29.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.5708, allocations: 29.17 kB / 470.7 MB, free: 29.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.79e-05/0.5708, allocations: 31.62 kB / 470.7 MB, free: 29.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.5708, allocations: 13.72 kB / 470.7 MB, free: 29.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5709, allocations: 5.281 kB / 470.7 MB, free: 29.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005615/0.5714, allocations: 0.5646 MB / 471.3 MB, free: 29.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009932/0.5724, allocations: 0.6956 MB / 472 MB, free: 28.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5724, allocations: 0 / 472 MB, free: 28.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.5726, allocations: 47.05 kB / 472 MB, free: 28.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002112/0.5729, allocations: 50.7 kB / 472.1 MB, free: 28.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.5729, allocations: 13.44 kB / 472.1 MB, free: 28.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000866/0.5738, allocations: 1.481 MB / 473.6 MB, free: 27.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5738, allocations: 3.5 kB / 473.6 MB, free: 27.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006377/0.5744, allocations: 479.5 kB / 474.1 MB, free: 27.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.5745, allocations: 104 kB / 474.2 MB, free: 27.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.5745, allocations: 6.156 kB / 474.2 MB, free: 27.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.5747, allocations: 5.031 kB / 474.2 MB, free: 27.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.5748, allocations: 19.94 kB / 474.2 MB, free: 27.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.5748, allocations: 10.06 kB / 474.2 MB, free: 27.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001811/0.575, allocations: 193.8 kB / 474.4 MB, free: 27.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.575, allocations: 0 / 474.4 MB, free: 27.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004304/0.5754, allocations: 85.75 kB / 474.5 MB, free: 27.11 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.0001199/0.5756, allocations: 107 kB / 474.6 MB, free: 27.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007327/0.5763, allocations: 476.9 kB / 475 MB, free: 26.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5763, allocations: 3.094 kB / 475 MB, free: 26.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.5767, allocations: 232.5 kB / 475.3 MB, free: 26.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008844/0.5776, allocations: 157.2 kB / 475.4 MB, free: 26.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.5787, allocations: 0.6901 MB / 476.1 MB, free: 26.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.579, allocations: 0.7661 MB / 476.9 MB, free: 25.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002521/0.5792, allocations: 52.75 kB / 476.9 MB, free: 25.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.749e-05/0.5793, allocations: 25.31 kB / 477 MB, free: 25.62 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5793, allocations: 0 / 477 MB, free: 25.62 MB / 382.1 MB Notification: Performance of Templates: time 0.01079/0.5901, allocations: 5.843 MB / 482.8 MB, free: 24.92 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)