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.007131/0.007131, allocations: 102 kB / 15.73 MB, free: 6.035 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.001255/0.001255, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.411/1.411, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.3553/0.3553, allocations: 38 MB / 307.9 MB, free: 10.12 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.001504/0.001504, allocations: 72.33 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4145, allocations: 56.47 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.6152/1.03, allocations: 183.2 MB / 0.6569 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01381/1.044, allocations: 6.982 MB / 0.6638 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/1.045, allocations: 21.84 kB / 0.6638 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001983/1.047, allocations: 414.7 kB / 0.6642 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/1.057, allocations: 2.01 MB / 0.6661 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007908/1.065, allocations: 1.676 MB / 0.6678 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004873/1.07, allocations: 2.112 MB / 0.6698 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/1.072, allocations: 0.5371 MB / 0.6704 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007127/1.079, allocations: 1.884 MB / 0.6722 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005116/1.084, allocations: 1.47 MB / 0.6736 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006291/1.085, allocations: 75.53 kB / 0.6737 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005436/1.09, allocations: 1.563 MB / 0.6752 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007914/1.091, allocations: 447.6 kB / 0.6757 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/1.092, allocations: 0.5561 MB / 0.6762 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005142/1.097, allocations: 2.186 MB / 0.6783 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/1.098, allocations: 4.719 kB / 0.6784 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.216e-06/1.098, allocations: 0.8125 kB / 0.6784 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.329e-05/1.098, allocations: 0 / 0.6784 GB, free: 1.078 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.0039/1.101, allocations: 1.418 MB / 0.6797 GB, free: 16.36 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.102, allocations: 14.08 kB / 0.6798 GB, free: 16.35 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/1.103, allocations: 284.1 kB / 0.68 GB, free: 16.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/1.105, allocations: 0.6279 MB / 0.6806 GB, free: 16.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/1.105, allocations: 118.6 kB / 0.6807 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/1.105, allocations: 63.25 kB / 0.6808 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/1.107, allocations: 1.262 MB / 0.682 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/1.107, allocations: 6.375 kB / 0.682 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/1.107, allocations: 33.3 kB / 0.6821 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.71e-05/1.107, allocations: 77.59 kB / 0.6822 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/1.109, allocations: 1.054 MB / 0.6832 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.00824/1.117, allocations: 4.968 MB / 0.688 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/1.117, allocations: 308.2 kB / 0.6883 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/1.118, allocations: 150.7 kB / 0.6885 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/1.118, allocations: 143.8 kB / 0.6886 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/1.118, allocations: 35.16 kB / 0.6886 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=28): time 3.036e-06/1.118, allocations: 2.781 kB / 0.6886 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.007008/1.125, allocations: 1.814 MB / 0.6904 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/1.125, allocations: 138.8 kB / 0.6905 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/1.126, allocations: 0.9316 MB / 0.6915 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/1.126, allocations: 42.84 kB / 0.6915 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003984/1.127, allocations: 0.5617 MB / 0.692 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/1.127, allocations: 131.5 kB / 0.6922 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/1.127, allocations: 222.2 kB / 0.6924 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.127, allocations: 396.1 kB / 0.6928 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/1.128, allocations: 276.4 kB / 0.693 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007888/1.128, allocations: 0.8673 MB / 0.6939 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/1.13, allocations: 1.175 MB / 0.695 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/1.13, allocations: 10.5 kB / 0.695 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001863/1.132, allocations: 1.23 MB / 0.6962 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/1.132, allocations: 14 kB / 0.6962 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/1.132, allocations: 21.5 kB / 0.6963 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/1.133, allocations: 289.3 kB / 0.6965 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000527/1.133, allocations: 207.9 kB / 0.6967 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009794/1.134, allocations: 0.9095 MB / 0.6976 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000972/1.135, allocations: 43.12 kB / 0.6977 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/1.135, allocations: 70.23 kB / 0.6977 GB, free: 8.863 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.0004704/1.136, allocations: 349.5 kB / 0.6981 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/1.136, allocations: 92.31 kB / 0.6982 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000895/1.137, allocations: 493.3 kB / 0.6986 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.137, allocations: 3.375 kB / 0.6986 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.137, allocations: 3.312 kB / 0.6986 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/1.137, allocations: 5.438 kB / 0.6986 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/1.139, allocations: 1.129 MB / 0.6997 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.139, allocations: 0 / 0.6997 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009891/1.14, allocations: 182.7 kB / 0.6999 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.464e-05/1.14, allocations: 23.16 kB / 0.6999 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/1.14, allocations: 11.42 kB / 0.6999 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/1.142, allocations: 2.862 MB / 0.7027 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.142, allocations: 3.938 kB / 0.7027 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/1.143, allocations: 0.7058 MB / 0.7034 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004901/1.144, allocations: 192.5 kB / 0.7036 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/1.144, allocations: 19.05 kB / 0.7036 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/1.144, allocations: 11.03 kB / 0.7036 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/1.145, allocations: 27.94 kB / 0.7037 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/1.145, allocations: 20.3 kB / 0.7037 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008124/1.145, allocations: 0.6277 MB / 0.7043 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/1.145, allocations: 0 / 0.7043 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001824/1.147, allocations: 423.3 kB / 0.7047 GB, free: 4.59 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.002/1.149, allocations: 0.7427 MB / 0.7054 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001461/1.151, allocations: 0.6726 MB / 0.7061 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.151, allocations: 2.75 kB / 0.7061 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009328/1.152, allocations: 372.5 kB / 0.7065 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/1.154, allocations: 421.4 kB / 0.7069 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/1.157, allocations: 1.615 MB / 0.7084 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008264/1.158, allocations: 1.04 MB / 0.7094 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001143/1.159, allocations: 307.9 kB / 0.7097 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/1.159, allocations: 74.64 kB / 0.7098 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/1.159, allocations: 3.188 kB / 0.7098 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.03966/1.199, allocations: 22.89 MB / 0.7322 GB, free: 12.45 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)