Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.0008353/0.0008353, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008969/0.0008969, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004475/0.0004475, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2713, allocations: 47.58 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4247/0.6959, allocations: 159.5 MB / 486 MB, free: 1.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004177/0.7002, allocations: 3.567 MB / 489.5 MB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004622/0.7007, allocations: 4.688 kB / 489.5 MB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006672/0.7013, allocations: 163.2 kB / 489.7 MB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009226/0.7023, allocations: 342.1 kB / 490 MB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.7037, allocations: 415.3 kB / 490.4 MB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.7052, allocations: 1.296 MB / 491.7 MB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.7055, allocations: 203.5 kB / 491.9 MB, free: 1.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.7082, allocations: 1.122 MB / 493.1 MB, free: 1.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007575/0.709, allocations: 447.9 kB / 493.5 MB, free: 1.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.7091, allocations: 28.94 kB / 493.5 MB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.7106, allocations: 0.636 MB / 494.2 MB, free: 1.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005101/0.7111, allocations: 426.9 kB / 494.6 MB, free: 1.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000498/0.7116, allocations: 191 kB / 494.8 MB, free: 1.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.7132, allocations: 1.229 MB / 496 MB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7132, allocations: 0 / 496 MB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.7132, allocations: 0 / 496 MB, free: 1.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.854e-05/0.7133, allocations: 0 / 496 MB, free: 1.277 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.002309/0.7156, allocations: 0.893 MB / 496.9 MB, free: 16.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.7157, allocations: 11.25 kB / 496.9 MB, free: 16.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008871/0.7166, allocations: 156.8 kB / 497.1 MB, free: 16.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008682/0.7174, allocations: 473 kB / 497.5 MB, free: 16.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.768e-05/0.7175, allocations: 54.28 kB / 497.6 MB, free: 16.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.7176, allocations: 65.28 kB / 497.6 MB, free: 16.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.7194, allocations: 0.9493 MB / 498.6 MB, free: 16.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.7195, allocations: 0 / 498.6 MB, free: 16.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.7196, allocations: 33.53 kB / 498.6 MB, free: 16.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.407e-05/0.7197, allocations: 45.19 kB / 498.7 MB, free: 16.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.7211, allocations: 0.8672 MB / 499.5 MB, free: 16.36 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.005248/0.7263, allocations: 3.453 MB / 0.4912 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/0.7271, allocations: 0.6225 MB / 0.4918 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003915/0.7275, allocations: 363.4 kB / 0.4921 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.875e-05/0.7275, allocations: 16.42 kB / 0.4922 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.7276, allocations: 46.47 kB / 0.4922 GB, free: 14.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 2.114e-06/0.7276, allocations: 2.938 kB / 0.4922 GB, free: 14.36 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.01333/0.7409, allocations: 6.213 MB / 0.4983 GB, free: 11.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.741, allocations: 61.95 kB / 0.4983 GB, free: 11.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/0.7416, allocations: 0.5374 MB / 0.4989 GB, free: 11.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.7417, allocations: 43.83 kB / 0.4989 GB, free: 11.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.7419, allocations: 282.6 kB / 0.4992 GB, free: 10.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.7421, allocations: 251.3 kB / 0.4994 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.7422, allocations: 16.38 kB / 0.4994 GB, free: 10.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.7424, allocations: 365.5 kB / 0.4998 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/0.743, allocations: 449.6 kB / 0.5002 GB, free: 10.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/0.7436, allocations: 0.5116 MB / 0.5007 GB, free: 10.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/0.7442, allocations: 0.4977 MB / 0.5012 GB, free: 10.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7442, allocations: 4 kB / 0.5012 GB, free: 10.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001728/0.746, allocations: 1.335 MB / 0.5025 GB, free: 9.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.746, allocations: 7.031 kB / 0.5025 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.746, allocations: 2.875 kB / 0.5025 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005353/0.7465, allocations: 336.5 kB / 0.5028 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008689/0.7474, allocations: 182.5 kB / 0.503 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007725/0.7552, allocations: 10.23 MB / 0.513 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.7558, allocations: 78.84 kB / 0.5131 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-05/0.756, allocations: 47.14 kB / 0.5131 GB, free: 0 / 398.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.0004545/0.7564, allocations: 277 kB / 0.5134 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.7566, allocations: 60.31 kB / 0.5134 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.7586, allocations: 1.297 MB / 0.5147 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.7586, allocations: 6.188 kB / 0.5147 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.7586, allocations: 2.688 kB / 0.5147 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001693/0.7603, allocations: 1.605 MB / 0.5163 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/0.7633, allocations: 2.264 MB / 0.5185 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.7634, allocations: 0 / 0.5185 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.7644, allocations: 221.6 kB / 0.5187 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/0.7646, allocations: 76.39 kB / 0.5188 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.082e-05/0.7646, allocations: 37.09 kB / 0.5188 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.7658, allocations: 1.436 MB / 0.5202 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7658, allocations: 0 / 0.5202 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.7679, allocations: 1.6 MB / 0.5218 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.7682, allocations: 154.6 kB / 0.5219 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.7683, allocations: 30.86 kB / 0.522 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007163/0.769, allocations: 69.8 kB / 0.522 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.7692, allocations: 62.11 kB / 0.5221 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.7693, allocations: 63.06 kB / 0.5221 GB, free: 10.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000483/0.7698, allocations: 402.5 kB / 0.5225 GB, free: 9.992 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7698, allocations: 0 / 0.5225 GB, free: 9.992 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001241/0.771, allocations: 351.5 kB / 0.5229 GB, free: 9.676 MB / 414.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.001493/0.7725, allocations: 449.4 kB / 0.5233 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002306/0.7748, allocations: 1.867 MB / 0.5251 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7749, allocations: 0 / 0.5251 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008988/0.7758, allocations: 0.6828 MB / 0.5258 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.778, allocations: 498.9 kB / 0.5263 GB, free: 6.781 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004018/0.782, allocations: 2.561 MB / 0.5288 GB, free: 4.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.7826, allocations: 0.9691 MB / 0.5297 GB, free: 3.477 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001069/0.7837, allocations: 273.7 kB / 0.53 GB, free: 3.207 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.784, allocations: 88.41 kB / 0.53 GB, free: 3.125 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.784, allocations: 1.75 kB / 0.53 GB, free: 3.125 MB / 414.1 MB Notification: Performance of Templates: time 0.039/0.823, allocations: 24.51 MB / 0.554 GB, free: 10.68 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)