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.001437/0.001436, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.00179/0.00179, allocations: 183.5 kB / 17.2 MB, free: 6.34 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.527/1.527, 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.0005222/0.0005223, allocations: 8 kB / 280.1 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1103, allocations: 47.58 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3864/0.4967, allocations: 138.8 MB / 466.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.4996, allocations: 2.372 MB / 468.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.4999, allocations: 4 kB / 468.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007009/0.5006, allocations: 191.2 kB / 469.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000544/0.5012, allocations: 227.3 kB / 469.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.5026, allocations: 421.2 kB / 469.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007807/0.5034, allocations: 0.574 MB / 470.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.5037, allocations: 205.4 kB / 470.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.5053, allocations: 0.8068 MB / 471.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.5057, allocations: 255.3 kB / 471.6 MB, free: 9.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.103e-05/0.5057, allocations: 36 kB / 471.6 MB, free: 9.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000875/0.5066, allocations: 435.5 kB / 472 MB, free: 8.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003608/0.507, allocations: 375.2 kB / 472.4 MB, free: 8.227 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.5072, allocations: 189.4 kB / 472.6 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.5084, allocations: 1.176 MB / 473.7 MB, free: 6.859 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5085, allocations: 0 / 473.7 MB, free: 6.859 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5085, allocations: 0 / 473.7 MB, free: 6.859 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.5085, allocations: 0 / 473.7 MB, free: 6.859 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001599/0.5101, allocations: 0.8932 MB / 474.6 MB, free: 5.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.5101, allocations: 8.031 kB / 474.6 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006568/0.5108, allocations: 163 kB / 474.8 MB, free: 5.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007612/0.5116, allocations: 469 kB / 475.3 MB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.5116, allocations: 61.19 kB / 475.3 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.5118, allocations: 64 kB / 475.4 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.5132, allocations: 0.9357 MB / 476.3 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.5133, allocations: 7.984 kB / 476.3 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.965e-05/0.5134, allocations: 32 kB / 476.4 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-05/0.5134, allocations: 49.91 kB / 476.4 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.5147, allocations: 0.8667 MB / 477.3 MB, free: 3.23 MB / 366.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.005213/0.5199, allocations: 3.386 MB / 480.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008788/0.5208, allocations: 0.6347 MB / 481.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.681e-05/0.5208, allocations: 16.53 kB / 481.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.5209, allocations: 51.06 kB / 481.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=59): time 2.474e-06/0.5209, allocations: 0 / 481.4 MB, free: 14.85 MB / 382.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.01491/0.5358, allocations: 6.161 MB / 487.5 MB, free: 8.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.5359, allocations: 60.06 kB / 487.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006645/0.5366, allocations: 0.5447 MB / 488.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.689e-05/0.5366, allocations: 41.7 kB / 488.2 MB, free: 7.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.5368, allocations: 280.5 kB / 488.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.537, allocations: 244.4 kB / 488.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.5371, allocations: 20 kB / 488.7 MB, free: 7.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5373, allocations: 370.8 kB / 489.1 MB, free: 6.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005967/0.5379, allocations: 437.8 kB / 489.5 MB, free: 6.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/0.5385, allocations: 0.5115 MB / 490 MB, free: 5.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/0.5392, allocations: 0.5066 MB / 490.5 MB, free: 5.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5392, allocations: 0 / 490.5 MB, free: 5.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001898/0.5412, allocations: 1.343 MB / 491.8 MB, free: 3.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.5412, allocations: 4 kB / 491.8 MB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.5412, allocations: 4 kB / 491.9 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005796/0.5418, allocations: 329.7 kB / 492.2 MB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009415/0.5427, allocations: 183.8 kB / 492.4 MB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008349/0.5511, allocations: 10.3 MB / 0.4909 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/0.5519, allocations: 83.88 kB / 0.491 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.552, allocations: 43.98 kB / 0.491 GB, free: 7.973 MB / 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.0005485/0.5526, allocations: 269.6 kB / 0.4913 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.5527, allocations: 63.3 kB / 0.4913 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.5548, allocations: 1.29 MB / 0.4926 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.5548, allocations: 8 kB / 0.4926 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5548, allocations: 0 / 0.4926 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001766/0.5566, allocations: 1.61 MB / 0.4942 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/0.5602, allocations: 2.267 MB / 0.4964 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5602, allocations: 0 / 0.4964 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.5614, allocations: 223.8 kB / 0.4966 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.5616, allocations: 64.8 kB / 0.4966 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.35e-05/0.5617, allocations: 43.91 kB / 0.4967 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.563, allocations: 1.444 MB / 0.4981 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.563, allocations: 0 / 0.4981 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.5655, allocations: 1.626 MB / 0.4997 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.5658, allocations: 152.3 kB / 0.4998 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.5659, allocations: 28 kB / 0.4999 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008101/0.5668, allocations: 75.78 kB / 0.4999 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.5669, allocations: 56.53 kB / 0.5 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.567, allocations: 67.94 kB / 0.5 GB, free: 14.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004993/0.5675, allocations: 403.1 kB / 0.5004 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5675, allocations: 0 / 0.5004 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001237/0.5688, allocations: 331.9 kB / 0.5007 GB, free: 13.5 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.00163/0.5704, allocations: 434.8 kB / 0.5012 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002672/0.5731, allocations: 1.869 MB / 0.503 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.5731, allocations: 0 / 0.503 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.5742, allocations: 0.6817 MB / 0.5037 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/0.5767, allocations: 490.5 kB / 0.5041 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004623/0.5813, allocations: 2.55 MB / 0.5066 GB, free: 7.348 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007577/0.5821, allocations: 0.9905 MB / 0.5076 GB, free: 6.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001232/0.5833, allocations: 277.7 kB / 0.5078 GB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/0.5837, allocations: 87.41 kB / 0.5079 GB, free: 5.973 MB / 414.1 MB Notification: Performance of SimCode: time 2.325e-06/0.5837, allocations: 0 / 0.5079 GB, free: 5.973 MB / 414.1 MB Notification: Performance of Templates: time 0.212/0.7957, allocations: 24.78 MB / 0.5321 GB, free: 162.2 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: