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.001013/0.001013, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001059/0.001059, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.513/1.513, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.001487/0.001487, allocations: 47.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3186, allocations: 46.63 MB / 324.9 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04728/0.3659, allocations: 39.34 MB / 364.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.3688, allocations: 2.027 MB / 366.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.3691, allocations: 4 kB / 366.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006309/0.3697, allocations: 151.2 kB / 366.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006179/0.3704, allocations: 294.5 kB / 366.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/0.371, allocations: 271.5 kB / 366.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007984/0.3718, allocations: 0.8407 MB / 367.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.3721, allocations: 104.6 kB / 367.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09453/0.4666, allocations: 43.53 MB / 411.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000808/0.4675, allocations: 290.9 kB / 411.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.4676, allocations: 28 kB / 411.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003893/0.468, allocations: 39.94 kB / 411.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.4682, allocations: 91.72 kB / 411.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004299/0.4687, allocations: 183.3 kB / 412 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006555/0.4694, allocations: 426.6 kB / 412.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4694, allocations: 4 kB / 412.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.4694, allocations: 3.984 kB / 412.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.4694, allocations: 0 / 412.5 MB, free: 11.88 MB / 350.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.001091/0.4705, allocations: 0.5848 MB / 413 MB, free: 11.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4706, allocations: 8.031 kB / 413 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003247/0.4709, allocations: 44.55 kB / 413.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.4713, allocations: 275.8 kB / 413.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.4713, allocations: 16.94 kB / 413.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/0.4714, allocations: 28.28 kB / 413.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.4719, allocations: 307.6 kB / 413.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.4719, allocations: 3.984 kB / 413.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.472, allocations: 12 kB / 413.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.472, allocations: 4 kB / 413.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.4724, allocations: 197.5 kB / 413.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.4742, allocations: 1.428 MB / 415.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.4745, allocations: 182.6 kB / 415.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.4747, allocations: 84.84 kB / 415.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.4747, allocations: 15.97 kB / 415.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.4747, allocations: 30.56 kB / 415.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.733e-06/0.4747, allocations: 4 kB / 415.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.002641/0.4774, allocations: 0.9919 MB / 416.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.4774, allocations: 59.34 kB / 416.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.4777, allocations: 270.5 kB / 417 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.4778, allocations: 29.7 kB / 417 MB, free: 6.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.4779, allocations: 176.2 kB / 417.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.484e-05/0.478, allocations: 86.73 kB / 417.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.4781, allocations: 69.39 kB / 417.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4783, allocations: 338.8 kB / 417.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.4784, allocations: 87.95 kB / 417.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.4786, allocations: 182.8 kB / 417.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.479, allocations: 283 kB / 418.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.479, allocations: 7.875 kB / 418.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007496/0.4798, allocations: 383 kB / 418.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4798, allocations: 8 kB / 418.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.4799, allocations: 8 kB / 418.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002921/0.4802, allocations: 61.61 kB / 418.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.4805, allocations: 67.91 kB / 418.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/0.4836, allocations: 2.878 MB / 421.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.4839, allocations: 31.77 kB / 421.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.484, allocations: 12.06 kB / 421.6 MB, free: 1.934 MB / 350.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.0002042/0.4842, allocations: 149.8 kB / 421.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.541e-05/0.4843, allocations: 27.72 kB / 421.8 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.004e-05/0.4843, allocations: 38.17 kB / 421.8 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.4844, allocations: 4 kB / 421.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4844, allocations: 0 / 421.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006573/0.485, allocations: 0.5709 MB / 422.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.4861, allocations: 0.7027 MB / 423.1 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4861, allocations: 0 / 423.1 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.4864, allocations: 47.91 kB / 423.2 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002813/0.4867, allocations: 52.83 kB / 423.2 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.4868, allocations: 8.141 kB / 423.2 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.4882, allocations: 1.495 MB / 424.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4882, allocations: 0 / 424.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007096/0.4889, allocations: 477.1 kB / 425.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.4891, allocations: 104.8 kB / 425.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.504e-05/0.4892, allocations: 7.938 kB / 425.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.4895, allocations: 12 kB / 425.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.4895, allocations: 24.03 kB / 425.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.4896, allocations: 7.938 kB / 425.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002032/0.4898, allocations: 190 kB / 425.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4898, allocations: 0 / 425.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004681/0.4903, allocations: 88 kB / 425.6 MB, free: 13.61 MB / 366.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.0001599/0.4904, allocations: 108.4 kB / 425.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008737/0.4913, allocations: 489.6 kB / 426.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4913, allocations: 0 / 426.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004788/0.4918, allocations: 238.9 kB / 426.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.4929, allocations: 172.3 kB / 426.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.4943, allocations: 0.776 MB / 427.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.4946, allocations: 0.7645 MB / 428.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003074/0.4949, allocations: 54.92 kB / 428.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/0.495, allocations: 27.44 kB / 428.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.495, allocations: 0 / 428.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of Templates: time 0.01183/0.5068, allocations: 5.664 MB / 433.9 MB, free: 5.234 MB / 366.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)