Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.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) 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005205/0.005205, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001245/0.001245, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.458/1.458, allocations: 205.1 MB / 222.6 MB, free: 4.484 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.3337/0.3337, allocations: 38 MB / 307.9 MB, free: 10.17 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.001834/0.001834, allocations: 68.56 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3628, allocations: 56.46 MB / 489.5 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.6727/1.036, allocations: 183.2 MB / 0.6569 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009761/1.045, allocations: 6.985 MB / 0.6638 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/1.046, allocations: 18.12 kB / 0.6638 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/1.048, allocations: 423.1 kB / 0.6642 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007006/1.055, allocations: 2.044 MB / 0.6662 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005775/1.061, allocations: 1.681 MB / 0.6678 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004546/1.065, allocations: 2.115 MB / 0.6699 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/1.067, allocations: 0.5388 MB / 0.6704 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005843/1.072, allocations: 1.901 MB / 0.6723 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/1.076, allocations: 1.477 MB / 0.6737 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00031/1.076, allocations: 75.81 kB / 0.6738 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005606/1.082, allocations: 1.569 MB / 0.6753 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006154/1.082, allocations: 449 kB / 0.6757 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009455/1.083, allocations: 0.55 MB / 0.6763 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004769/1.088, allocations: 2.189 MB / 0.6784 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/1.088, allocations: 4.75 kB / 0.6784 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.91e-07/1.088, allocations: 0 / 0.6784 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.326e-05/1.088, allocations: 0.9375 kB / 0.6784 GB, free: 1.07 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003336/1.092, allocations: 1.42 MB / 0.6798 GB, free: 16.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/1.092, allocations: 13.17 kB / 0.6798 GB, free: 16.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/1.093, allocations: 283.3 kB / 0.6801 GB, free: 16.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/1.094, allocations: 0.6319 MB / 0.6807 GB, free: 16.01 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/1.094, allocations: 112.9 kB / 0.6808 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/1.094, allocations: 71.14 kB / 0.6809 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/1.096, allocations: 1.258 MB / 0.6821 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/1.096, allocations: 2.188 kB / 0.6821 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/1.096, allocations: 35.02 kB / 0.6822 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.7e-05/1.097, allocations: 86.08 kB / 0.6822 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/1.098, allocations: 1.044 MB / 0.6833 GB, free: 15.73 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.006846/1.105, allocations: 4.965 MB / 0.6881 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/1.106, allocations: 309.7 kB / 0.6884 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/1.106, allocations: 152.2 kB / 0.6885 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/1.106, allocations: 139.9 kB / 0.6887 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/1.106, allocations: 44.3 kB / 0.6887 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/1.106, allocations: 0.9375 kB / 0.6887 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.006353/1.112, allocations: 1.817 MB / 0.6905 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/1.112, allocations: 133.5 kB / 0.6906 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/1.114, allocations: 0.9336 MB / 0.6915 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.304e-05/1.114, allocations: 35.45 kB / 0.6916 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/1.114, allocations: 0.56 MB / 0.6921 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/1.114, allocations: 133 kB / 0.6922 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/1.114, allocations: 222.2 kB / 0.6925 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001891/1.115, allocations: 398.8 kB / 0.6928 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/1.115, allocations: 276.8 kB / 0.6931 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/1.116, allocations: 0.867 MB / 0.6939 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/1.117, allocations: 1.173 MB / 0.6951 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/1.117, allocations: 6.438 kB / 0.6951 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001751/1.119, allocations: 1.238 MB / 0.6963 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.119, allocations: 13.41 kB / 0.6963 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/1.119, allocations: 26.91 kB / 0.6963 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/1.12, allocations: 288.2 kB / 0.6966 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/1.121, allocations: 201.7 kB / 0.6968 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/1.122, allocations: 0.9167 MB / 0.6977 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008968/1.123, allocations: 43.48 kB / 0.6977 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.634e-05/1.123, allocations: 66.75 kB / 0.6978 GB, free: 8.855 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005117/1.123, allocations: 345.7 kB / 0.6981 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/1.124, allocations: 94.78 kB / 0.6982 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/1.125, allocations: 482.7 kB / 0.6987 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/1.125, allocations: 11.81 kB / 0.6987 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.125, allocations: 0 / 0.6987 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/1.125, allocations: 5.578 kB / 0.6987 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/1.127, allocations: 1.128 MB / 0.6998 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.127, allocations: 0 / 0.6998 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009852/1.128, allocations: 182.9 kB / 0.7 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/1.128, allocations: 22.78 kB / 0.7 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/1.128, allocations: 13.95 kB / 0.7 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002727/1.131, allocations: 2.866 MB / 0.7028 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.131, allocations: 3.938 kB / 0.7028 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/1.132, allocations: 0.6956 MB / 0.7035 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/1.132, allocations: 194.7 kB / 0.7037 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/1.133, allocations: 12.94 kB / 0.7037 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/1.133, allocations: 21.7 kB / 0.7037 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/1.133, allocations: 21.19 kB / 0.7037 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/1.133, allocations: 17.7 kB / 0.7038 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007903/1.134, allocations: 0.6309 MB / 0.7044 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.91e-07/1.134, allocations: 7.156 kB / 0.7044 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001953/1.136, allocations: 422.4 kB / 0.7048 GB, free: 4.594 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * 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.002712/1.139, allocations: 0.7425 MB / 0.7055 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001439/1.14, allocations: 0.6801 MB / 0.7062 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/1.14, allocations: 1.344 kB / 0.7062 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009633/1.141, allocations: 372.2 kB / 0.7065 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/1.143, allocations: 432 kB / 0.7069 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/1.147, allocations: 1.602 MB / 0.7085 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009361/1.147, allocations: 1.031 MB / 0.7095 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001144/1.149, allocations: 313 kB / 0.7098 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/1.149, allocations: 76.42 kB / 0.7099 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of SimCode: time 7.12e-07/1.149, allocations: 0 / 0.7099 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of Templates: time 0.04565/1.195, allocations: 22.91 MB / 0.7323 GB, free: 12.43 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)