Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001072/0.001073, allocations: 86.8 kB / 16.31 MB, free: 6.449 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.00132/0.00132, allocations: 183.6 kB / 17.21 MB, free: 6.316 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.658/1.658, allocations: 205.4 MB / 223.4 MB, free: 5.492 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.0006706/0.0006709, allocations: 12 kB / 280.2 MB, free: 12.89 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3182, allocations: 47.59 MB / 327.7 MB, free: 1.652 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04502/0.3633, allocations: 36.37 MB / 364.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.3661, allocations: 1.911 MB / 366 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.3664, allocations: 4 kB / 366 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005703/0.367, allocations: 135.2 kB / 366.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006369/0.3676, allocations: 298.4 kB / 366.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.3683, allocations: 219.6 kB / 366.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.3696, allocations: 1.063 MB / 367.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.3698, allocations: 68.69 kB / 367.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1426/0.5125, allocations: 73.14 MB / 440.9 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007778/0.5133, allocations: 263 kB / 441.2 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.5134, allocations: 12 kB / 441.2 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.5137, allocations: 23.98 kB / 441.2 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.5138, allocations: 75.7 kB / 441.3 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.514, allocations: 89.58 kB / 441.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005238/0.5145, allocations: 331.1 kB / 441.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5146, allocations: 0 / 441.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5146, allocations: 0 / 441.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.5146, allocations: 4 kB / 441.7 MB, free: 1.527 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001142/0.5157, allocations: 0.5184 MB / 442.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.5158, allocations: 12.03 kB / 442.2 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003847/0.5162, allocations: 39.7 kB / 442.3 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.5167, allocations: 278.4 kB / 442.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.5167, allocations: 16.56 kB / 442.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.959e-05/0.5168, allocations: 24 kB / 442.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/0.5174, allocations: 299.7 kB / 442.9 MB, free: 244 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.5174, allocations: 7.938 kB / 442.9 MB, free: 236 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.5175, allocations: 15.98 kB / 442.9 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.5175, allocations: 4 kB / 442.9 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.5179, allocations: 197.5 kB / 443.1 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.5201, allocations: 1.448 MB / 444.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.5204, allocations: 171.2 kB / 444.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.5205, allocations: 85.22 kB / 444.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.5206, allocations: 8.172 kB / 444.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.5206, allocations: 38.69 kB / 444.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.375e-06/0.5206, allocations: 0 / 444.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002802/0.5235, allocations: 0.9976 MB / 445.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.5235, allocations: 63.34 kB / 445.9 MB, free: 12.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.5239, allocations: 258.5 kB / 446.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.5239, allocations: 33.7 kB / 446.2 MB, free: 12.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.5241, allocations: 172.2 kB / 446.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-05/0.5242, allocations: 94.64 kB / 446.5 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/0.5242, allocations: 8 kB / 446.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5244, allocations: 338.8 kB / 446.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.5246, allocations: 91.73 kB / 446.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.5248, allocations: 174.9 kB / 447.1 MB, free: 11.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.525, allocations: 111.9 kB / 447.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.525, allocations: 0 / 447.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007971/0.5258, allocations: 391 kB / 447.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.5259, allocations: 8.031 kB / 447.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.5259, allocations: 4 kB / 447.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003241/0.5262, allocations: 61.67 kB / 447.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.5265, allocations: 63.91 kB / 447.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/0.5291, allocations: 2.677 MB / 450.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.5294, allocations: 19.97 kB / 450.4 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.5295, allocations: 16 kB / 450.4 MB, free: 8.152 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.5296, allocations: 157.8 kB / 450.5 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.5297, allocations: 23.72 kB / 450.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.53e-05/0.5298, allocations: 34.19 kB / 450.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.5298, allocations: 7.922 kB / 450.6 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.5298, allocations: 4 kB / 450.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006162/0.5304, allocations: 0.5747 MB / 451.2 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.5316, allocations: 0.7105 MB / 451.9 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.5316, allocations: 144 / 451.9 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.5318, allocations: 35.98 kB / 451.9 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000261/0.5321, allocations: 64.8 kB / 452 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.5321, allocations: 8 kB / 452 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.5334, allocations: 1.382 MB / 453.4 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5334, allocations: 0 / 453.4 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007084/0.5341, allocations: 485 kB / 453.9 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.5342, allocations: 100.8 kB / 454 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.5343, allocations: 11.94 kB / 454 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.5345, allocations: 11.91 kB / 454 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.5346, allocations: 15.97 kB / 454 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.5346, allocations: 15.98 kB / 454 MB, free: 4.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002297/0.5348, allocations: 189.9 kB / 454.2 MB, free: 4.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5348, allocations: 0 / 454.2 MB, free: 4.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004462/0.5353, allocations: 92 kB / 454.3 MB, free: 3.918 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001674/0.5355, allocations: 107.2 kB / 454.4 MB, free: 3.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008083/0.5363, allocations: 474 kB / 454.9 MB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5363, allocations: 0 / 454.9 MB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.5367, allocations: 226.6 kB / 455.1 MB, free: 3.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009188/0.5376, allocations: 160.6 kB / 455.2 MB, free: 2.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.539, allocations: 0.8269 MB / 456.1 MB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.5394, allocations: 0.7606 MB / 456.8 MB, free: 1.285 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003168/0.5397, allocations: 54.92 kB / 456.9 MB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/0.5398, allocations: 27.44 kB / 456.9 MB, free: 1.207 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5398, allocations: 4 kB / 456.9 MB, free: 1.203 MB / 382.1 MB Notification: Performance of Templates: time 0.2096/0.7494, allocations: 5.267 MB / 462.2 MB, free: 123.2 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)