Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00137/0.001369, allocations: 182.8 kB / 7.652 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.636/1.636, allocations: 194.3 MB / 202.4 MB, free: 8.484 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001683/0.001683, allocations: 109.7 kB / 247.4 MB, free: 6.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2291/0.2291, allocations: 39.94 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.525e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1196, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.371/2.49, allocations: 0.8215 GB / 1.259 GB, free: 103.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/2.491, allocations: 91.06 kB / 1.259 GB, free: 103.4 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786/5.277, allocations: 0.7257 GB / 1.985 GB, free: 73.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.236e-06/5.277, allocations: 0 / 1.985 GB, free: 73.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001287/5.277, allocations: 28.28 kB / 1.985 GB, free: 73.41 MB / 490.7 MB 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.005509/5.283, allocations: 1.366 MB / 1.986 GB, free: 72.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/5.283, allocations: 14.05 kB / 1.986 GB, free: 72.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/5.285, allocations: 284.9 kB / 1.987 GB, free: 72.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/5.287, allocations: 0.6907 MB / 1.987 GB, free: 72.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/5.287, allocations: 93.28 kB / 1.987 GB, free: 72.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/5.287, allocations: 43.12 kB / 1.987 GB, free: 72.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001813/5.289, allocations: 0.8652 MB / 1.988 GB, free: 72.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/5.291, allocations: 1.109 MB / 1.989 GB, free: 72.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/5.291, allocations: 0 / 1.989 GB, free: 72.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002701/5.291, allocations: 10.84 kB / 1.989 GB, free: 72.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.185e-05/5.291, allocations: 69.3 kB / 1.989 GB, free: 72.13 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006742/5.298, allocations: 4.733 MB / 1.994 GB, free: 69.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/5.299, allocations: 236.7 kB / 1.994 GB, free: 69.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/5.299, allocations: 127.2 kB / 1.994 GB, free: 69.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/5.299, allocations: 242.8 kB / 1.995 GB, free: 69.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/5.299, allocations: 38.23 kB / 1.995 GB, free: 69.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 2.154e-06/5.299, allocations: 0 / 1.995 GB, free: 69.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.005847/5.305, allocations: 1.511 MB / 1.996 GB, free: 68.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/5.305, allocations: 131.6 kB / 1.996 GB, free: 68.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/5.306, allocations: 0.6986 MB / 1.997 GB, free: 68.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/5.306, allocations: 25.7 kB / 1.997 GB, free: 68.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/5.307, allocations: 0.5931 MB / 1.998 GB, free: 67.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/5.307, allocations: 131.2 kB / 1.998 GB, free: 67.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/5.307, allocations: 0 / 1.998 GB, free: 67.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/5.307, allocations: 390.6 kB / 1.998 GB, free: 67.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/5.307, allocations: 253.8 kB / 1.998 GB, free: 67.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007148/5.308, allocations: 0.8878 MB / 1.999 GB, free: 66.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000714/5.309, allocations: 447.8 kB / 2 GB, free: 66.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/5.309, allocations: 7.781 kB / 2 GB, free: 66.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001997/5.311, allocations: 1.13 MB / 2.001 GB, free: 66.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/5.311, allocations: 20 kB / 2.001 GB, free: 66.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.566e-05/5.311, allocations: 29.7 kB / 2.001 GB, free: 66.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/5.312, allocations: 257.8 kB / 2.001 GB, free: 66.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006658/5.313, allocations: 235.1 kB / 2.001 GB, free: 66.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/5.314, allocations: 0.8841 MB / 2.002 GB, free: 65.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/5.315, allocations: 43.33 kB / 2.002 GB, free: 65.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/5.315, allocations: 96.56 kB / 2.002 GB, free: 65.78 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002881/5.315, allocations: 160.4 kB / 2.002 GB, free: 65.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/5.316, allocations: 86.28 kB / 2.002 GB, free: 65.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000894/5.317, allocations: 434.9 kB / 2.003 GB, free: 65.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/5.317, allocations: 6.641 kB / 2.003 GB, free: 65.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/5.317, allocations: 5.906 kB / 2.003 GB, free: 65.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/5.317, allocations: 2.812 kB / 2.003 GB, free: 65.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/5.318, allocations: 0.9936 MB / 2.004 GB, free: 65.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/5.318, allocations: 3.844 kB / 2.004 GB, free: 65.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009497/5.319, allocations: 179.6 kB / 2.004 GB, free: 65.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.359e-05/5.319, allocations: 24.86 kB / 2.004 GB, free: 65.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/5.32, allocations: 3.281 kB / 2.004 GB, free: 65.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/5.321, allocations: 2.582 MB / 2.007 GB, free: 62.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/5.321, allocations: 0 / 2.007 GB, free: 62.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/5.322, allocations: 0.6425 MB / 2.007 GB, free: 62.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005575/5.323, allocations: 189.8 kB / 2.007 GB, free: 62.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/5.323, allocations: 3.312 kB / 2.007 GB, free: 62.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006478/5.324, allocations: 31.02 kB / 2.007 GB, free: 62.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/5.324, allocations: 23.27 kB / 2.007 GB, free: 62.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/5.324, allocations: 21.86 kB / 2.007 GB, free: 62.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008525/5.325, allocations: 0.4989 MB / 2.008 GB, free: 62.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/5.325, allocations: 0 / 2.008 GB, free: 62.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002677/5.327, allocations: 469.6 kB / 2.008 GB, free: 62.24 MB / 490.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004535/5.332, allocations: 1.554 MB / 2.01 GB, free: 61.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001633/5.334, allocations: 0.629 MB / 2.011 GB, free: 61.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/5.334, allocations: 3.938 kB / 2.011 GB, free: 61.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008165/5.334, allocations: 331.3 kB / 2.011 GB, free: 61.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/5.336, allocations: 310.5 kB / 2.011 GB, free: 61.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/5.339, allocations: 1.115 MB / 2.012 GB, free: 61.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007386/5.34, allocations: 1.048 MB / 2.013 GB, free: 60.33 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001567/5.342, allocations: 369.4 kB / 2.014 GB, free: 60.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/5.342, allocations: 82.72 kB / 2.014 GB, free: 60.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.272e-06/5.342, allocations: 0 / 2.014 GB, free: 60.3 MB / 490.7 MB Notification: Performance of Templates: time 0.04438/5.386, allocations: 22.1 MB / 2.035 GB, free: 50.42 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)