Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002075/0.002075, allocations: 180.5 kB / 7.651 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.646/1.646, allocations: 194.3 MB / 202.4 MB, free: 8.539 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.0018/0.0018, allocations: 112.4 kB / 247.4 MB, free: 6.211 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.2188/0.2188, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.211e-05/2.213e-05, allocations: 3.984 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 54.87 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.427/2.547, allocations: 0.8206 GB / 1.258 GB, free: 104.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/2.547, allocations: 96.56 kB / 1.258 GB, free: 104.1 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.727/5.274, allocations: 0.7011 GB / 1.96 GB, free: 69.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.675e-06/5.274, allocations: 0 / 1.96 GB, free: 69.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000259/5.275, allocations: 28.17 kB / 1.96 GB, free: 69.14 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.009352/5.284, allocations: 1.558 MB / 1.961 GB, free: 68.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.154e-05/5.284, allocations: 15.52 kB / 1.961 GB, free: 68.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/5.287, allocations: 313.1 kB / 1.961 GB, free: 68.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003701/5.29, allocations: 0.8241 MB / 1.962 GB, free: 68.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002645/5.291, allocations: 111.5 kB / 1.962 GB, free: 68.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007981/5.291, allocations: 61.97 kB / 1.962 GB, free: 68.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004338/5.296, allocations: 1.435 MB / 1.964 GB, free: 68.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004675/5.3, allocations: 1.606 MB / 1.965 GB, free: 67.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.795e-05/5.301, allocations: 7.531 kB / 1.965 GB, free: 67.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003317/5.301, allocations: 3.906 kB / 1.965 GB, free: 67.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/5.301, allocations: 78.88 kB / 1.965 GB, free: 67.86 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.01294/5.314, allocations: 6.558 MB / 1.972 GB, free: 64.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/5.315, allocations: 0.6364 MB / 1.972 GB, free: 64.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005064/5.316, allocations: 355.9 kB / 1.973 GB, free: 64.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003317/5.316, allocations: 245 kB / 1.973 GB, free: 64.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/5.316, allocations: 46.39 kB / 1.973 GB, free: 64.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 4.008e-06/5.316, allocations: 0 / 1.973 GB, free: 64.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.009519/5.326, allocations: 3.284 MB / 1.976 GB, free: 63.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/5.326, allocations: 109.1 kB / 1.976 GB, free: 63.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/5.327, allocations: 0.5982 MB / 1.977 GB, free: 63.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001805/5.327, allocations: 32.11 kB / 1.977 GB, free: 63.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/5.327, allocations: 0.5737 MB / 1.978 GB, free: 62.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/5.328, allocations: 239 kB / 1.978 GB, free: 62.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.048e-05/5.328, allocations: 0 / 1.978 GB, free: 62.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/5.328, allocations: 388.9 kB / 1.978 GB, free: 62.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007067/5.329, allocations: 0.5171 MB / 1.979 GB, free: 62.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008908/5.329, allocations: 0.89 MB / 1.98 GB, free: 62.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/5.331, allocations: 0.6448 MB / 1.98 GB, free: 62.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/5.331, allocations: 4.938 kB / 1.98 GB, free: 62.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003021/5.334, allocations: 1.787 MB / 1.982 GB, free: 61.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/5.334, allocations: 9.781 kB / 1.982 GB, free: 61.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/5.334, allocations: 8.844 kB / 1.982 GB, free: 61.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0041/5.338, allocations: 1.173 MB / 1.983 GB, free: 61.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007522/5.339, allocations: 190.4 kB / 1.983 GB, free: 61.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/5.341, allocations: 1.763 MB / 1.985 GB, free: 61.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/5.342, allocations: 96.5 kB / 1.985 GB, free: 61.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/5.342, allocations: 94.34 kB / 1.985 GB, free: 61.37 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume.m:DUMMY_STATE(min = 0.0 unit = "kg" ) "Mass of fluid" type: Real volume.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (98): * Single equations (assignments): 97 * 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 {10 27} Notification: Performance of prepare postOptimizeDAE: time 0.00043/5.343, allocations: 148.5 kB / 1.985 GB, free: 61.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003513/5.343, allocations: 79.97 kB / 1.985 GB, free: 61.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/5.345, allocations: 1.209 MB / 1.987 GB, free: 61.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/5.346, allocations: 7.188 kB / 1.987 GB, free: 61.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/5.346, allocations: 3.844 kB / 1.987 GB, free: 61.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/5.346, allocations: 5.406 kB / 1.987 GB, free: 61.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004103/5.35, allocations: 2.348 MB / 1.989 GB, free: 60.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/5.35, allocations: 0 / 1.989 GB, free: 60.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/5.351, allocations: 314.7 kB / 1.989 GB, free: 60.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/5.352, allocations: 67.31 kB / 1.989 GB, free: 60.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-05/5.352, allocations: 28.06 kB / 1.989 GB, free: 60.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/5.354, allocations: 2.776 MB / 1.992 GB, free: 58.33 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/5.354, allocations: 0 / 1.992 GB, free: 58.33 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/5.356, allocations: 1.655 MB / 1.994 GB, free: 58.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007653/5.357, allocations: 294.9 kB / 1.994 GB, free: 57.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/5.357, allocations: 10.62 kB / 1.994 GB, free: 57.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/5.358, allocations: 66.38 kB / 1.994 GB, free: 57.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/5.359, allocations: 51.86 kB / 1.994 GB, free: 57.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/5.359, allocations: 56.44 kB / 1.994 GB, free: 57.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007486/5.36, allocations: 457.7 kB / 1.995 GB, free: 57.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/5.36, allocations: 0 / 1.995 GB, free: 57.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003456/5.363, allocations: 0.5365 MB / 1.995 GB, free: 57.81 MB / 490.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 69 * 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.005179/5.368, allocations: 1.574 MB / 1.997 GB, free: 57.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002718/5.371, allocations: 1.346 MB / 1.998 GB, free: 57.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/5.371, allocations: 0.75 kB / 1.998 GB, free: 57.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/5.372, allocations: 0.7695 MB / 1.999 GB, free: 57.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/5.375, allocations: 377.3 kB / 1.999 GB, free: 57.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/5.38, allocations: 2.194 MB / 2.001 GB, free: 56.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/5.381, allocations: 1.198 MB / 2.002 GB, free: 56.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001952/5.383, allocations: 410.6 kB / 2.003 GB, free: 56.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000563/5.384, allocations: 115.9 kB / 2.003 GB, free: 56.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.433e-06/5.384, allocations: 0 / 2.003 GB, free: 56.2 MB / 490.7 MB Notification: Performance of Templates: time 0.05104/5.435, allocations: 29.99 MB / 2.032 GB, free: 48.95 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)