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.005497/0.005497, allocations: 107.6 kB / 15.74 MB, free: 5.988 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.001275/0.001275, allocations: 195.9 kB / 16.68 MB, free: 5.914 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.483/1.483, allocations: 205.1 MB / 222.5 MB, free: 4.352 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.308/0.308, allocations: 38 MB / 307.9 MB, free: 10.34 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.001541/0.001541, allocations: 67.91 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3198, allocations: 56.46 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.647/0.9668, allocations: 183.2 MB / 0.6569 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.9776, allocations: 6.984 MB / 0.6638 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.9788, allocations: 18.97 kB / 0.6638 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.9804, allocations: 415.3 kB / 0.6642 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006931/0.9873, allocations: 2.014 MB / 0.6661 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005435/0.9928, allocations: 1.681 MB / 0.6678 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003868/0.9967, allocations: 2.113 MB / 0.6698 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.9978, allocations: 0.5334 MB / 0.6704 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005699/1.003, allocations: 1.891 MB / 0.6722 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004282/1.008, allocations: 1.472 MB / 0.6737 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004327/1.008, allocations: 76.19 kB / 0.6737 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006505/1.015, allocations: 1.567 MB / 0.6753 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007948/1.016, allocations: 445.2 kB / 0.6757 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001453/1.017, allocations: 0.5541 MB / 0.6762 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006106/1.023, allocations: 2.186 MB / 0.6784 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.339e-05/1.023, allocations: 4.281 kB / 0.6784 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.559e-06/1.023, allocations: 3.938 kB / 0.6784 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.679e-05/1.023, allocations: 1.094 kB / 0.6784 GB, free: 1.082 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.005924/1.029, allocations: 1.421 MB / 0.6798 GB, free: 16.36 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/1.029, allocations: 13.27 kB / 0.6798 GB, free: 16.36 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/1.031, allocations: 277.5 kB / 0.68 GB, free: 16.31 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/1.033, allocations: 0.6324 MB / 0.6806 GB, free: 16.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/1.033, allocations: 115.7 kB / 0.6808 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/1.033, allocations: 68.55 kB / 0.6808 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/1.035, allocations: 1.256 MB / 0.6821 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/1.035, allocations: 5.656 kB / 0.6821 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/1.035, allocations: 38.84 kB / 0.6821 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-05/1.035, allocations: 86.17 kB / 0.6822 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/1.037, allocations: 1.048 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.009653/1.047, allocations: 4.966 MB / 0.688 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/1.047, allocations: 303.7 kB / 0.6883 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/1.047, allocations: 151.9 kB / 0.6885 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002604/1.048, allocations: 146.6 kB / 0.6886 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/1.048, allocations: 37.59 kB / 0.6887 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=28): time 2.194e-06/1.048, allocations: 0.9062 kB / 0.6887 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.006833/1.055, allocations: 1.813 MB / 0.6904 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.055, allocations: 136.9 kB / 0.6906 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/1.056, allocations: 0.9382 MB / 0.6915 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/1.056, allocations: 32.92 kB / 0.6915 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/1.056, allocations: 0.562 MB / 0.6921 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/1.057, allocations: 132.4 kB / 0.6922 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/1.057, allocations: 219 kB / 0.6924 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002103/1.057, allocations: 401.6 kB / 0.6928 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/1.058, allocations: 279.5 kB / 0.693 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009456/1.059, allocations: 0.8644 MB / 0.6939 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/1.06, allocations: 1.178 MB / 0.695 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/1.06, allocations: 5.031 kB / 0.695 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001971/1.062, allocations: 1.236 MB / 0.6962 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/1.062, allocations: 13.16 kB / 0.6963 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/1.062, allocations: 22.7 kB / 0.6963 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/1.063, allocations: 289.6 kB / 0.6966 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/1.064, allocations: 205.6 kB / 0.6968 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/1.065, allocations: 0.9112 MB / 0.6976 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/1.066, allocations: 37.75 kB / 0.6977 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.066, allocations: 70.42 kB / 0.6977 GB, free: 8.871 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.0005567/1.067, allocations: 348.1 kB / 0.6981 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/1.067, allocations: 97.62 kB / 0.6982 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009681/1.068, allocations: 480.5 kB / 0.6986 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/1.068, allocations: 10.28 kB / 0.6986 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.068, allocations: 1.547 kB / 0.6986 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/1.068, allocations: 1.594 kB / 0.6986 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/1.07, allocations: 1.133 MB / 0.6997 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.07, allocations: 1.812 kB / 0.6998 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009804/1.071, allocations: 184.9 kB / 0.6999 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/1.071, allocations: 23.09 kB / 0.6999 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/1.071, allocations: 10.06 kB / 0.7 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002777/1.074, allocations: 2.87 MB / 0.7028 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.074, allocations: 5.812 kB / 0.7028 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/1.076, allocations: 0.6969 MB / 0.7034 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005149/1.076, allocations: 193.6 kB / 0.7036 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/1.076, allocations: 12.19 kB / 0.7036 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/1.077, allocations: 16.7 kB / 0.7037 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.077, allocations: 24.97 kB / 0.7037 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/1.077, allocations: 20.89 kB / 0.7037 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001081/1.078, allocations: 0.6271 MB / 0.7043 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/1.078, allocations: 0 / 0.7043 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00227/1.08, allocations: 419.6 kB / 0.7047 GB, free: 4.602 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.002772/1.083, allocations: 0.7497 MB / 0.7054 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001827/1.085, allocations: 0.673 MB / 0.7061 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.085, allocations: 3.062 kB / 0.7061 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/1.086, allocations: 372.4 kB / 0.7065 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/1.088, allocations: 431.1 kB / 0.7069 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/1.092, allocations: 1.605 MB / 0.7084 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009189/1.093, allocations: 1.028 MB / 0.7094 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001054/1.094, allocations: 312.2 kB / 0.7097 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/1.094, allocations: 77.83 kB / 0.7098 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of SimCode: time 1.272e-06/1.094, allocations: 0 / 0.7098 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of Templates: time 0.04547/1.14, allocations: 23.07 MB / 0.7324 GB, free: 12.31 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)