Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006831/0.006831, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.001326/0.001326, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.505/1.505, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3082/0.3082, allocations: 38 MB / 307.9 MB, free: 10.11 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002677, allocations: 71.91 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3444, allocations: 56.46 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.6418/0.9862, allocations: 183.1 MB / 0.6568 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.9973, allocations: 6.983 MB / 0.6636 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.9986, allocations: 18.59 kB / 0.6636 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/1, allocations: 445.1 kB / 0.6641 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00707/1.007, allocations: 2.041 MB / 0.6661 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006116/1.013, allocations: 1.716 MB / 0.6677 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005233/1.019, allocations: 2.241 MB / 0.6699 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/1.021, allocations: 0.7626 MB / 0.6707 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006724/1.028, allocations: 1.944 MB / 0.6726 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004337/1.032, allocations: 1.584 MB / 0.6741 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008736/1.033, allocations: 100.8 kB / 0.6742 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007159/1.04, allocations: 1.596 MB / 0.6758 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00177/1.042, allocations: 0.6869 MB / 0.6764 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003458/1.045, allocations: 0.7558 MB / 0.6772 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007795/1.053, allocations: 2.746 MB / 0.6799 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/1.053, allocations: 0 / 0.6799 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.695e-06/1.053, allocations: 0 / 0.6799 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.69e-05/1.053, allocations: 1.031 kB / 0.6799 GB, free: 0.9961 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004333/1.058, allocations: 1.678 MB / 0.6815 GB, free: 16.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/1.058, allocations: 9.25 kB / 0.6815 GB, free: 16.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/1.059, allocations: 311.8 kB / 0.6818 GB, free: 16.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/1.06, allocations: 0.7682 MB / 0.6826 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/1.06, allocations: 146.8 kB / 0.6827 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/1.061, allocations: 101.5 kB / 0.6828 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/1.063, allocations: 1.839 MB / 0.6846 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/1.063, allocations: 10.41 kB / 0.6846 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/1.064, allocations: 48.92 kB / 0.6846 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/1.064, allocations: 90.66 kB / 0.6847 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/1.066, allocations: 1.695 MB / 0.6864 GB, free: 15.57 MB / 0.5137 GB 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.009895/1.076, allocations: 6.906 MB / 0.6931 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/1.077, allocations: 0.8689 MB / 0.694 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000651/1.078, allocations: 451.1 kB / 0.6944 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/1.078, allocations: 143.6 kB / 0.6945 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/1.078, allocations: 48.7 kB / 0.6946 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 3.527e-06/1.078, allocations: 0.9375 kB / 0.6946 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72): time 0.01112/1.089, allocations: 4.124 MB / 0.6986 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/1.09, allocations: 109 kB / 0.6987 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/1.091, allocations: 1.109 MB / 0.6998 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/1.091, allocations: 45.02 kB / 0.6999 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/1.092, allocations: 0.5203 MB / 0.7004 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/1.092, allocations: 265.5 kB / 0.7006 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000397/1.092, allocations: 210.8 kB / 0.7008 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.093, allocations: 348 kB / 0.7011 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008873/1.093, allocations: 0.5868 MB / 0.7017 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/1.095, allocations: 0.8678 MB / 0.7026 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/1.097, allocations: 1.451 MB / 0.704 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/1.097, allocations: 2.625 kB / 0.704 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003582/1.1, allocations: 1.999 MB / 0.7059 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/1.101, allocations: 14.95 kB / 0.706 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/1.101, allocations: 8.281 kB / 0.706 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004838/1.105, allocations: 1.325 MB / 0.7073 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/1.106, allocations: 149.5 kB / 0.7074 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/1.109, allocations: 1.931 MB / 0.7093 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/1.11, allocations: 43.97 kB / 0.7093 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/1.11, allocations: 67.98 kB / 0.7094 GB, free: 4.66 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.001024/1.111, allocations: 391 kB / 0.7098 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004281/1.112, allocations: 110.8 kB / 0.7099 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00293/1.115, allocations: 1.394 MB / 0.7112 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/1.115, allocations: 8 kB / 0.7112 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/1.115, allocations: 0 / 0.7112 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/1.115, allocations: 3.984 kB / 0.7112 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005311/1.12, allocations: 2.688 MB / 0.7139 GB, free: 28 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.12, allocations: 0 / 0.7139 GB, free: 28 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/1.122, allocations: 322 kB / 0.7142 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/1.122, allocations: 68.78 kB / 0.7142 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001514/1.122, allocations: 43.91 kB / 0.7143 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002985/1.125, allocations: 3.025 MB / 0.7172 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/1.125, allocations: 4.141 kB / 0.7172 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003281/1.129, allocations: 1.915 MB / 0.7191 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009494/1.13, allocations: 327.7 kB / 0.7194 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004011/1.13, allocations: 31.98 kB / 0.7195 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/1.131, allocations: 47.95 kB / 0.7195 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/1.131, allocations: 60.56 kB / 0.7196 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/1.132, allocations: 63.95 kB / 0.7196 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001406/1.133, allocations: 0.7931 MB / 0.7204 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.332e-06/1.133, allocations: 0 / 0.7204 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002644/1.136, allocations: 0.5107 MB / 0.7209 GB, free: 8.527 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.003082/1.139, allocations: 0.7949 MB / 0.7217 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003214/1.142, allocations: 1.486 MB / 0.7231 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.142, allocations: 4.656 kB / 0.7231 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001871/1.144, allocations: 0.8617 MB / 0.724 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004252/1.148, allocations: 0.7669 MB / 0.7247 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007525/1.156, allocations: 2.869 MB / 0.7275 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.157, allocations: 1.18 MB / 0.7287 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00246/1.16, allocations: 413.8 kB / 0.7291 GB, free: 184 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/1.16, allocations: 107.4 kB / 0.7292 GB, free: 76 kB / 0.5294 GB Notification: Performance of SimCode: time 7.31e-07/1.16, allocations: 0 / 0.7292 GB, free: 76 kB / 0.5294 GB Notification: Performance of Templates: time 0.06998/1.23, allocations: 40.26 MB / 0.7685 GB, free: 7.836 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)