Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00698/0.006981, allocations: 100.1 kB / 15.73 MB, free: 6.453 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.001424/0.001424, allocations: 199.8 kB / 16.68 MB, free: 6.355 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.618/1.618, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.001114/0.001114, allocations: 46.03 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1149, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.502/0.6169, allocations: 175.6 MB / 0.536 GB, free: 236 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004884/0.6219, allocations: 3.84 MB / 0.5397 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002507/0.6221, allocations: 7.938 kB / 0.5397 GB, free: 12.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008735/0.6231, allocations: 230.8 kB / 0.54 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006999/0.6238, allocations: 362 kB / 0.5403 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.6253, allocations: 0.5493 MB / 0.5408 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.6265, allocations: 1.107 MB / 0.5419 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.6268, allocations: 108.6 kB / 0.542 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002945/0.6297, allocations: 1.256 MB / 0.5432 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004749/0.6302, allocations: 330.8 kB / 0.5436 GB, free: 8.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.6303, allocations: 48 kB / 0.5436 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.6315, allocations: 455 kB / 0.544 GB, free: 7.953 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.6317, allocations: 227.4 kB / 0.5443 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000335/0.632, allocations: 322.9 kB / 0.5446 GB, free: 7.414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.6333, allocations: 1.079 MB / 0.5456 GB, free: 6.332 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.6333, allocations: 0 / 0.5456 GB, free: 6.332 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.6334, allocations: 0 / 0.5456 GB, free: 6.332 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.6334, allocations: 0 / 0.5456 GB, free: 6.332 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001484/0.6349, allocations: 0.7991 MB / 0.5464 GB, free: 5.484 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.6349, allocations: 12.02 kB / 0.5464 GB, free: 5.473 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006755/0.6356, allocations: 124.5 kB / 0.5465 GB, free: 5.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006912/0.6363, allocations: 373.1 kB / 0.5469 GB, free: 4.945 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.6364, allocations: 33 kB / 0.5469 GB, free: 4.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-05/0.6364, allocations: 39.98 kB / 0.547 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009758/0.6374, allocations: 0.5615 MB / 0.5475 GB, free: 4.289 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.6375, allocations: 3.938 kB / 0.5475 GB, free: 4.285 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.377e-05/0.6375, allocations: 20 kB / 0.5475 GB, free: 4.266 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.6375, allocations: 8 kB / 0.5475 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006693/0.6382, allocations: 450.3 kB / 0.548 GB, free: 3.816 MB / 430.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.003736/0.642, allocations: 2.129 MB / 0.55 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.6423, allocations: 147.7 kB / 0.5502 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.6424, allocations: 84.91 kB / 0.5503 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.6425, allocations: 4 kB / 0.5503 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.6425, allocations: 38.55 kB / 0.5503 GB, free: 1.227 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.894e-06/0.6425, allocations: 4 kB / 0.5503 GB, free: 1.223 MB / 430.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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.006207/0.6487, allocations: 1.737 MB / 0.552 GB, free: 15.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.6488, allocations: 59.41 kB / 0.5521 GB, free: 15.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.6494, allocations: 481.6 kB / 0.5525 GB, free: 14.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.6494, allocations: 33.7 kB / 0.5526 GB, free: 14.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.6497, allocations: 322.3 kB / 0.5529 GB, free: 14.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.456e-05/0.6498, allocations: 94.73 kB / 0.553 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.65, allocations: 122.1 kB / 0.5531 GB, free: 14.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.6502, allocations: 350.8 kB / 0.5534 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.6504, allocations: 141.2 kB / 0.5535 GB, free: 13.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.6509, allocations: 440.5 kB / 0.554 GB, free: 13.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007765/0.6517, allocations: 0.6063 MB / 0.5545 GB, free: 12.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.6518, allocations: 0 / 0.5545 GB, free: 12.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001048/0.6528, allocations: 0.636 MB / 0.5552 GB, free: 11.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.6529, allocations: 8 kB / 0.5552 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.6529, allocations: 12 kB / 0.5552 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002184/0.6531, allocations: 61.62 kB / 0.5552 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.6536, allocations: 135.8 kB / 0.5554 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.6551, allocations: 1.948 MB / 0.5573 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.6555, allocations: 20 kB / 0.5573 GB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/0.6555, allocations: 36 kB / 0.5573 GB, free: 9.355 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * Single equations (assignments): 71 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002537/0.6558, allocations: 213.5 kB / 0.5575 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.6559, allocations: 51.47 kB / 0.5576 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005371/0.6564, allocations: 298.8 kB / 0.5579 GB, free: 8.781 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.6564, allocations: 8 kB / 0.5579 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.6565, allocations: 0 / 0.5579 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005398/0.657, allocations: 0.5278 MB / 0.5584 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.6581, allocations: 0.6985 MB / 0.5591 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6581, allocations: 0 / 0.5591 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.6584, allocations: 59.89 kB / 0.5591 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.234e-05/0.6585, allocations: 20.84 kB / 0.5592 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.6585, allocations: 8 kB / 0.5592 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.6595, allocations: 1.371 MB / 0.5605 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6595, allocations: 3.938 kB / 0.5605 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005847/0.6601, allocations: 423.7 kB / 0.5609 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.6603, allocations: 112.7 kB / 0.561 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.6603, allocations: 11.94 kB / 0.561 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.6606, allocations: 12.12 kB / 0.561 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.6606, allocations: 19.91 kB / 0.5611 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.6607, allocations: 15.98 kB / 0.5611 GB, free: 5.172 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003393/0.661, allocations: 323.1 kB / 0.5614 GB, free: 4.863 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.661, allocations: 4 kB / 0.5614 GB, free: 4.859 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008135/0.6618, allocations: 207.9 kB / 0.5616 GB, free: 4.656 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001238/0.6631, allocations: 466.8 kB / 0.562 GB, free: 4.191 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008383/0.6639, allocations: 471.4 kB / 0.5625 GB, free: 3.719 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6639, allocations: 0 / 0.5625 GB, free: 3.719 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.6642, allocations: 214.5 kB / 0.5627 GB, free: 3.496 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.6654, allocations: 210.5 kB / 0.5629 GB, free: 3.289 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.667, allocations: 0.8585 MB / 0.5637 GB, free: 2.398 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.6675, allocations: 0.8273 MB / 0.5645 GB, free: 1.543 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004083/0.6679, allocations: 140.6 kB / 0.5647 GB, free: 1.406 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.865e-05/0.668, allocations: 47.42 kB / 0.5647 GB, free: 1.359 MB / 446.1 MB Notification: Performance of SimCode: time 4.3e-07/0.668, allocations: 0 / 0.5647 GB, free: 1.359 MB / 446.1 MB Notification: Performance of Templates: time 0.02074/0.6887, allocations: 12.53 MB / 0.5769 GB, free: 4.785 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)