Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.006653/0.006653, allocations: 105.9 kB / 15.73 MB, free: 6 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.001543/0.001543, allocations: 189 kB / 16.67 MB, free: 5.926 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.519/1.519, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.001211/0.001211, allocations: 55.08 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1146, allocations: 46.63 MB / 373.2 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5085/0.6231, allocations: 175.6 MB / 0.536 GB, free: 356 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004755/0.6279, allocations: 3.835 MB / 0.5397 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003101/0.6282, allocations: 7.938 kB / 0.5397 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008776/0.6292, allocations: 226.7 kB / 0.54 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006982/0.6299, allocations: 362 kB / 0.5403 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.6313, allocations: 0.5422 MB / 0.5408 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.6324, allocations: 1.114 MB / 0.5419 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.6327, allocations: 100.7 kB / 0.542 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002836/0.6355, allocations: 1.26 MB / 0.5432 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004387/0.636, allocations: 338.8 kB / 0.5436 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.227e-05/0.636, allocations: 44 kB / 0.5436 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009688/0.637, allocations: 455.1 kB / 0.544 GB, free: 8.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.6372, allocations: 231.5 kB / 0.5443 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003285/0.6376, allocations: 322.8 kB / 0.5446 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.6387, allocations: 1.071 MB / 0.5456 GB, free: 6.465 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6388, allocations: 0 / 0.5456 GB, free: 6.465 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.6388, allocations: 0 / 0.5456 GB, free: 6.465 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.6388, allocations: 0 / 0.5456 GB, free: 6.465 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.001357/0.6401, allocations: 0.8069 MB / 0.5464 GB, free: 5.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.6402, allocations: 8.031 kB / 0.5464 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006459/0.6408, allocations: 119.5 kB / 0.5465 GB, free: 5.484 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.6414, allocations: 385.1 kB / 0.5469 GB, free: 5.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.6414, allocations: 25 kB / 0.5469 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.6415, allocations: 39.98 kB / 0.547 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008984/0.6424, allocations: 0.5693 MB / 0.5475 GB, free: 4.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.6424, allocations: 0 / 0.5475 GB, free: 4.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.507e-05/0.6425, allocations: 20 kB / 0.5475 GB, free: 4.391 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.6425, allocations: 8 kB / 0.5475 GB, free: 4.383 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006/0.6431, allocations: 450.3 kB / 0.548 GB, free: 3.941 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.003312/0.6464, allocations: 2.121 MB / 0.55 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.6467, allocations: 153.8 kB / 0.5502 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.6468, allocations: 84.89 kB / 0.5503 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.6469, allocations: 7.938 kB / 0.5503 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.6469, allocations: 38.56 kB / 0.5503 GB, free: 1.352 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.6469, allocations: 4 kB / 0.5503 GB, free: 1.348 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.006226/0.6531, allocations: 1.736 MB / 0.552 GB, free: 15.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.6532, allocations: 55.41 kB / 0.5521 GB, free: 15.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/0.6537, allocations: 481.6 kB / 0.5525 GB, free: 14.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.6538, allocations: 33.7 kB / 0.5526 GB, free: 14.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.654, allocations: 322.3 kB / 0.5529 GB, free: 14.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.917e-05/0.6541, allocations: 90.73 kB / 0.5529 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.6542, allocations: 122.2 kB / 0.5531 GB, free: 14.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.6544, allocations: 354.8 kB / 0.5534 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.6546, allocations: 137.2 kB / 0.5535 GB, free: 13.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/0.6551, allocations: 440.5 kB / 0.554 GB, free: 13.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/0.6558, allocations: 0.609 MB / 0.5546 GB, free: 12.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.6558, allocations: 4 kB / 0.5546 GB, free: 12.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009619/0.6568, allocations: 0.6358 MB / 0.5552 GB, free: 11.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.6568, allocations: 8 kB / 0.5552 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.6568, allocations: 12 kB / 0.5552 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/0.657, allocations: 53.7 kB / 0.5552 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.6575, allocations: 144.3 kB / 0.5554 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.6591, allocations: 1.943 MB / 0.5573 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.6595, allocations: 20.75 kB / 0.5573 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.6596, allocations: 47.92 kB / 0.5573 GB, free: 9.469 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.0002341/0.6598, allocations: 209.5 kB / 0.5575 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.44e-05/0.6599, allocations: 51.62 kB / 0.5576 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005258/0.6605, allocations: 286.9 kB / 0.5579 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.6605, allocations: 4 kB / 0.5579 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.6605, allocations: 0 / 0.5579 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005613/0.6611, allocations: 0.5239 MB / 0.5584 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.6621, allocations: 0.7034 MB / 0.5591 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6622, allocations: 0 / 0.5591 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.6625, allocations: 55.91 kB / 0.5591 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.417e-05/0.6625, allocations: 20.84 kB / 0.5591 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.6626, allocations: 11.98 kB / 0.5592 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009993/0.6636, allocations: 1.375 MB / 0.5605 GB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6636, allocations: 3.938 kB / 0.5605 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.6642, allocations: 431.6 kB / 0.5609 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.98e-05/0.6643, allocations: 108.7 kB / 0.561 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.507e-05/0.6643, allocations: 11.94 kB / 0.561 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.6646, allocations: 16.14 kB / 0.561 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.6646, allocations: 11.98 kB / 0.5611 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.6647, allocations: 15.98 kB / 0.5611 GB, free: 5.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003202/0.665, allocations: 327.1 kB / 0.5614 GB, free: 4.988 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.665, allocations: 0 / 0.5614 GB, free: 4.988 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008348/0.6658, allocations: 211.9 kB / 0.5616 GB, free: 4.781 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.001253/0.6671, allocations: 454.8 kB / 0.562 GB, free: 4.328 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007589/0.6679, allocations: 471.3 kB / 0.5625 GB, free: 3.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.6679, allocations: 0 / 0.5625 GB, free: 3.855 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.6681, allocations: 220 kB / 0.5627 GB, free: 3.629 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.6692, allocations: 217.1 kB / 0.5629 GB, free: 3.414 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.671, allocations: 0.8546 MB / 0.5637 GB, free: 2.527 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.6716, allocations: 0.8273 MB / 0.5645 GB, free: 1.672 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004522/0.672, allocations: 136.6 kB / 0.5647 GB, free: 1.539 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.6721, allocations: 43.44 kB / 0.5647 GB, free: 1.496 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6721, allocations: 0 / 0.5647 GB, free: 1.496 MB / 446.1 MB Notification: Performance of Templates: time 0.02243/0.6946, allocations: 12.46 MB / 0.5769 GB, free: 4.992 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)