Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 88.72 kB / 16.31 MB, free: 5.684 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.001462/0.001463, allocations: 179.7 kB / 17.21 MB, free: 5.602 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.524/1.524, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.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.000578/0.0005781, allocations: 12 kB / 280.2 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1102, allocations: 47.57 MB / 327.7 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4161/0.5264, allocations: 159.5 MB / 487.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004756/0.5312, allocations: 3.561 MB / 490.8 MB, free: 7.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004313/0.5316, allocations: 4 kB / 490.8 MB, free: 7.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007029/0.5324, allocations: 167 kB / 490.9 MB, free: 6.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009033/0.5333, allocations: 342.3 kB / 491.3 MB, free: 6.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.5347, allocations: 401.6 kB / 491.7 MB, free: 6.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.5365, allocations: 1.302 MB / 493 MB, free: 4.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000324/0.5368, allocations: 205.5 kB / 493.2 MB, free: 4.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.5398, allocations: 1.118 MB / 494.3 MB, free: 3.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008563/0.5406, allocations: 458.8 kB / 494.7 MB, free: 3.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.5408, allocations: 28 kB / 494.8 MB, free: 3.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.5423, allocations: 0.632 MB / 495.4 MB, free: 2.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005227/0.5428, allocations: 427 kB / 495.8 MB, free: 2.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003788/0.5432, allocations: 189.4 kB / 496 MB, free: 1.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.5449, allocations: 1.229 MB / 497.2 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5449, allocations: 4 kB / 497.2 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5449, allocations: 0 / 497.2 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.441e-05/0.5449, allocations: 0 / 497.2 MB, free: 0.5859 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001759/0.5467, allocations: 0.8932 MB / 498.1 MB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.5468, allocations: 8.031 kB / 498.1 MB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007585/0.5475, allocations: 159 kB / 498.3 MB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007935/0.5483, allocations: 472.9 kB / 498.8 MB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.5484, allocations: 53.2 kB / 498.8 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.5486, allocations: 75.97 kB / 498.9 MB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.5503, allocations: 0.9397 MB / 499.8 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.5503, allocations: 0 / 499.8 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.5504, allocations: 40 kB / 499.9 MB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.816e-05/0.5505, allocations: 37.98 kB / 499.9 MB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.5521, allocations: 0.8628 MB / 0.489 GB, free: 12.96 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006228/0.5583, allocations: 3.457 MB / 0.4924 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008817/0.5592, allocations: 0.6275 MB / 0.493 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004773/0.5597, allocations: 362.2 kB / 0.4934 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.88e-05/0.5598, allocations: 20.53 kB / 0.4934 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.5598, allocations: 47.06 kB / 0.4934 GB, free: 8.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 2.284e-06/0.5598, allocations: 4 kB / 0.4934 GB, free: 8.16 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.01461/0.5744, allocations: 6.228 MB / 0.4995 GB, free: 1.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.5745, allocations: 60.06 kB / 0.4996 GB, free: 1.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007987/0.5753, allocations: 0.537 MB / 0.5001 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.5755, allocations: 45.7 kB / 0.5001 GB, free: 0.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.5758, allocations: 280.5 kB / 0.5004 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.576, allocations: 252.3 kB / 0.5006 GB, free: 356 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.5761, allocations: 20 kB / 0.5007 GB, free: 336 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.5763, allocations: 366.8 kB / 0.501 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006486/0.5769, allocations: 437.7 kB / 0.5014 GB, free: 15.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007444/0.5777, allocations: 0.5177 MB / 0.5019 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007823/0.5785, allocations: 0.4949 MB / 0.5024 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5785, allocations: 0 / 0.5024 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002239/0.5807, allocations: 1.347 MB / 0.5037 GB, free: 13.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.5808, allocations: 8 kB / 0.5037 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.5808, allocations: 0 / 0.5037 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006553/0.5815, allocations: 330.7 kB / 0.5041 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009317/0.5824, allocations: 179.8 kB / 0.5042 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008899/0.5913, allocations: 10.24 MB / 0.5142 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008276/0.5922, allocations: 75.89 kB / 0.5143 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.5923, allocations: 47.98 kB / 0.5143 GB, free: 1.285 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005993/0.5929, allocations: 277.6 kB / 0.5146 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.5932, allocations: 59.34 kB / 0.5147 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.5954, allocations: 1.286 MB / 0.5159 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.5954, allocations: 11.98 kB / 0.5159 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5955, allocations: 0 / 0.5159 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00183/0.5973, allocations: 1.606 MB / 0.5175 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003571/0.6009, allocations: 2.276 MB / 0.5197 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6009, allocations: 0 / 0.5197 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.602, allocations: 219.8 kB / 0.5199 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002192/0.6022, allocations: 64.75 kB / 0.52 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.6023, allocations: 43.97 kB / 0.52 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.6039, allocations: 1.432 MB / 0.5214 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6039, allocations: 3.938 kB / 0.5214 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.6067, allocations: 1.594 MB / 0.523 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.607, allocations: 156.3 kB / 0.5231 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.6071, allocations: 31.92 kB / 0.5232 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007626/0.6079, allocations: 79.78 kB / 0.5232 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.608, allocations: 56.58 kB / 0.5233 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.6082, allocations: 59.95 kB / 0.5234 GB, free: 7.582 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000501/0.6087, allocations: 399.1 kB / 0.5237 GB, free: 7.188 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6087, allocations: 0 / 0.5237 GB, free: 7.188 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001447/0.6101, allocations: 351.9 kB / 0.5241 GB, free: 6.844 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (77): * Single equations (assignments): 76 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001619/0.6118, allocations: 450.8 kB / 0.5245 GB, free: 6.395 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003279/0.6151, allocations: 1.865 MB / 0.5263 GB, free: 4.441 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.6151, allocations: 4.062 kB / 0.5263 GB, free: 4.438 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009956/0.6161, allocations: 0.6818 MB / 0.527 GB, free: 3.742 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/0.6187, allocations: 498.4 kB / 0.5275 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004888/0.6236, allocations: 2.554 MB / 0.53 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.29/0.9136, allocations: 0.9652 MB / 0.5309 GB, free: 72.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001317/0.9149, allocations: 274.6 kB / 0.5312 GB, free: 72.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.9152, allocations: 89.28 kB / 0.5313 GB, free: 72.04 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.9152, allocations: 3.75 kB / 0.5313 GB, free: 72.04 MB / 430.1 MB Notification: Performance of Templates: time 0.03759/0.9528, allocations: 24.51 MB / 0.5552 GB, free: 64.55 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)