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.00534/0.00534, allocations: 99.97 kB / 15.73 MB, free: 6.051 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.001251/0.001251, allocations: 199.8 kB / 16.68 MB, free: 5.965 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.695/1.695, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001276/0.001276, allocations: 54.39 kB / 326.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1024, allocations: 46.63 MB / 373.2 MB, free: 1.262 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4877/0.5901, allocations: 175.6 MB / 0.536 GB, free: 348 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004693/0.5949, allocations: 3.837 MB / 0.5397 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000205/0.5951, allocations: 7.938 kB / 0.5397 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007924/0.5959, allocations: 242.7 kB / 0.54 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006986/0.5967, allocations: 362.1 kB / 0.5403 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.5982, allocations: 0.5417 MB / 0.5408 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.5994, allocations: 1.111 MB / 0.5419 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.5997, allocations: 116.1 kB / 0.542 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003215/0.6029, allocations: 1.264 MB / 0.5433 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004887/0.6034, allocations: 334.8 kB / 0.5436 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.549e-05/0.6035, allocations: 44 kB / 0.5436 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.6046, allocations: 459.1 kB / 0.5441 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.6049, allocations: 227.4 kB / 0.5443 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.6052, allocations: 318.8 kB / 0.5446 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.6066, allocations: 1.078 MB / 0.5456 GB, free: 6.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6066, allocations: 0 / 0.5456 GB, free: 6.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.6066, allocations: 4 kB / 0.5456 GB, free: 6.426 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.6066, allocations: 0 / 0.5456 GB, free: 6.426 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.001587/0.6082, allocations: 0.8108 MB / 0.5464 GB, free: 5.566 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.6083, allocations: 11.97 kB / 0.5465 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006068/0.6089, allocations: 119.5 kB / 0.5466 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000605/0.6095, allocations: 377.1 kB / 0.5469 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.6096, allocations: 29 kB / 0.547 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.6096, allocations: 36 kB / 0.547 GB, free: 4.961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008614/0.6105, allocations: 0.5693 MB / 0.5475 GB, free: 4.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.6105, allocations: 0 / 0.5475 GB, free: 4.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/0.6106, allocations: 16 kB / 0.5476 GB, free: 4.355 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.6106, allocations: 12 kB / 0.5476 GB, free: 4.344 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006389/0.6113, allocations: 442.4 kB / 0.548 GB, free: 3.91 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.003611/0.6149, allocations: 2.129 MB / 0.5501 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.6152, allocations: 151.7 kB / 0.5502 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.6153, allocations: 84.83 kB / 0.5503 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.6154, allocations: 4 kB / 0.5503 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.6154, allocations: 34.5 kB / 0.5503 GB, free: 1.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.6154, allocations: 0 / 0.5503 GB, free: 1.32 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.005964/0.6214, allocations: 1.749 MB / 0.552 GB, free: 15.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.6214, allocations: 51.41 kB / 0.5521 GB, free: 15.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.622, allocations: 485.6 kB / 0.5526 GB, free: 14.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.622, allocations: 33.7 kB / 0.5526 GB, free: 14.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.6222, allocations: 314.3 kB / 0.5529 GB, free: 14.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.837e-05/0.6223, allocations: 94.73 kB / 0.553 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.6225, allocations: 122.2 kB / 0.5531 GB, free: 14.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6227, allocations: 358.8 kB / 0.5534 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.6229, allocations: 130.1 kB / 0.5536 GB, free: 13.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.6234, allocations: 440.5 kB / 0.554 GB, free: 13.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007878/0.6242, allocations: 0.6012 MB / 0.5546 GB, free: 12.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.6242, allocations: 4 kB / 0.5546 GB, free: 12.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001099/0.6253, allocations: 0.6441 MB / 0.5552 GB, free: 11.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.6253, allocations: 8 kB / 0.5552 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.6253, allocations: 12 kB / 0.5552 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002136/0.6256, allocations: 57.73 kB / 0.5553 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/0.6261, allocations: 143.8 kB / 0.5554 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.6277, allocations: 1.935 MB / 0.5573 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.6281, allocations: 24 kB / 0.5573 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.6281, allocations: 40.12 kB / 0.5574 GB, free: 9.441 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.0002418/0.6284, allocations: 221.5 kB / 0.5576 GB, free: 9.215 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/0.6285, allocations: 47.47 kB / 0.5576 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005279/0.629, allocations: 286.9 kB / 0.5579 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.629, allocations: 7.938 kB / 0.5579 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.629, allocations: 0 / 0.5579 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005038/0.6296, allocations: 0.5239 MB / 0.5584 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.6306, allocations: 0.714 MB / 0.5591 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6306, allocations: 0 / 0.5591 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.6309, allocations: 55.91 kB / 0.5592 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/0.631, allocations: 16.84 kB / 0.5592 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.631, allocations: 8 kB / 0.5592 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008696/0.6319, allocations: 1.375 MB / 0.5605 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.6319, allocations: 3.938 kB / 0.5605 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/0.6325, allocations: 431.7 kB / 0.5609 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.6326, allocations: 108.7 kB / 0.561 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.6327, allocations: 11.94 kB / 0.5611 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.633, allocations: 11.98 kB / 0.5611 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.633, allocations: 11.98 kB / 0.5611 GB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.6331, allocations: 19.98 kB / 0.5611 GB, free: 5.258 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000348/0.6334, allocations: 323.1 kB / 0.5614 GB, free: 4.949 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6334, allocations: 0 / 0.5614 GB, free: 4.949 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008072/0.6342, allocations: 216 kB / 0.5616 GB, free: 4.738 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.001268/0.6355, allocations: 454.8 kB / 0.562 GB, free: 4.285 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007986/0.6363, allocations: 476.6 kB / 0.5625 GB, free: 3.809 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.6363, allocations: 0 / 0.5625 GB, free: 3.809 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.6366, allocations: 214.6 kB / 0.5627 GB, free: 3.586 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.6376, allocations: 213.1 kB / 0.5629 GB, free: 3.375 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.6391, allocations: 0.8663 MB / 0.5638 GB, free: 2.477 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.6397, allocations: 0.8195 MB / 0.5646 GB, free: 1.629 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006849/0.6404, allocations: 136.6 kB / 0.5647 GB, free: 1.496 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.6406, allocations: 43.44 kB / 0.5647 GB, free: 1.453 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.6406, allocations: 4 kB / 0.5647 GB, free: 1.449 MB / 446.1 MB Notification: Performance of Templates: time 0.032/0.6726, allocations: 12.45 MB / 0.5769 GB, free: 4.957 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)