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.001304/0.001304, allocations: 182.1 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.633/1.633, allocations: 194.3 MB / 207.5 MB, free: 3.383 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.001822/0.001822, allocations: 113.6 kB / 252.6 MB, free: 4.832 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.2485/0.2485, allocations: 39.94 MB / 337.5 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.191e-05/4.195e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1442, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.619/2.764, allocations: 0.8213 GB / 1.266 GB, free: 178.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/2.764, allocations: 93.73 kB / 1.266 GB, free: 178.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565/5.329, allocations: 0.711 GB / 1.977 GB, free: 28.85 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.894e-06/5.329, allocations: 0 / 1.977 GB, free: 28.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001202/5.33, allocations: 32.12 kB / 1.977 GB, free: 28.82 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.00621/5.336, allocations: 1.555 MB / 1.978 GB, free: 27.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/5.336, allocations: 11.97 kB / 1.978 GB, free: 27.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/5.338, allocations: 314.2 kB / 1.979 GB, free: 26.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/5.341, allocations: 0.8295 MB / 1.98 GB, free: 26.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/5.341, allocations: 141.4 kB / 1.98 GB, free: 25.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005494/5.342, allocations: 107.9 kB / 1.98 GB, free: 25.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0039/5.345, allocations: 1.75 MB / 1.982 GB, free: 23.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.458e-05/5.346, allocations: 4 kB / 1.982 GB, free: 23.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003246/5.346, allocations: 44 kB / 1.982 GB, free: 23.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/5.346, allocations: 85.91 kB / 1.982 GB, free: 23.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/5.348, allocations: 1.585 MB / 1.983 GB, free: 22.22 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.01018/5.359, allocations: 6.692 MB / 1.99 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/5.36, allocations: 0.6192 MB / 1.99 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/5.36, allocations: 359.4 kB / 1.991 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003608/5.361, allocations: 240.2 kB / 1.991 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/5.361, allocations: 54.94 kB / 1.991 GB, free: 13.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 6.051e-06/5.361, allocations: 3.984 kB / 1.991 GB, free: 13.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.01022/5.371, allocations: 3.486 MB / 1.994 GB, free: 10.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/5.371, allocations: 111.4 kB / 1.994 GB, free: 10.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/5.373, allocations: 0.8559 MB / 1.995 GB, free: 9.172 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000159/5.373, allocations: 45.69 kB / 1.995 GB, free: 9.121 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000458/5.373, allocations: 0.5643 MB / 1.996 GB, free: 8.547 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/5.373, allocations: 240.7 kB / 1.996 GB, free: 8.309 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.47e-05/5.374, allocations: 24 kB / 1.996 GB, free: 8.285 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/5.374, allocations: 349.9 kB / 1.996 GB, free: 7.938 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007539/5.374, allocations: 0.5179 MB / 1.997 GB, free: 7.422 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009651/5.375, allocations: 0.8897 MB / 1.998 GB, free: 6.359 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008711/5.376, allocations: 0.6578 MB / 1.998 GB, free: 5.699 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/5.376, allocations: 4 kB / 1.998 GB, free: 5.695 MB / 490.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002786/5.379, allocations: 1.879 MB / 2 GB, free: 3.805 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/5.379, allocations: 12.19 kB / 2 GB, free: 3.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/5.379, allocations: 16 kB / 2 GB, free: 3.777 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004233/5.383, allocations: 1.288 MB / 2.002 GB, free: 2.484 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/5.384, allocations: 187.7 kB / 2.002 GB, free: 2.301 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/5.386, allocations: 1.716 MB / 2.003 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/5.388, allocations: 119.8 kB / 2.004 GB, free: 448 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/5.388, allocations: 87.98 kB / 2.004 GB, free: 360 kB / 490.7 MB 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 {9 28} Notification: Performance of prepare postOptimizeDAE: time 0.0003546/5.388, allocations: 176.6 kB / 2.004 GB, free: 176 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/5.389, allocations: 106.7 kB / 2.004 GB, free: 68 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/5.391, allocations: 1.241 MB / 2.005 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/5.391, allocations: 8 kB / 2.005 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/5.391, allocations: 0 / 2.005 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/5.391, allocations: 7.984 kB / 2.005 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005188/5.397, allocations: 2.472 MB / 2.008 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/5.397, allocations: 3.984 kB / 2.008 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/5.398, allocations: 303.7 kB / 2.008 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/5.399, allocations: 68.78 kB / 2.008 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/5.399, allocations: 47.84 kB / 2.008 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002872/5.402, allocations: 2.828 MB / 2.011 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/5.402, allocations: 4.156 kB / 2.011 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/5.405, allocations: 1.666 MB / 2.012 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/5.406, allocations: 311.7 kB / 2.013 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004147/5.406, allocations: 27.95 kB / 2.013 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/5.407, allocations: 75.92 kB / 2.013 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/5.408, allocations: 52.7 kB / 2.013 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/5.408, allocations: 51.97 kB / 2.013 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001457/5.409, allocations: 0.667 MB / 2.014 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.91e-07/5.409, allocations: 0 / 2.014 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00336/5.413, allocations: 0.5974 MB / 2.014 GB, free: 5.273 MB / 0.4948 GB 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.004714/5.417, allocations: 1.415 MB / 2.015 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003137/5.42, allocations: 1.366 MB / 2.017 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/5.421, allocations: 8.812 kB / 2.017 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001767/5.422, allocations: 0.7722 MB / 2.018 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003873/5.426, allocations: 0.595 MB / 2.018 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3373/5.764, allocations: 2.259 MB / 2.02 GB, free: 89.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/5.764, allocations: 1.192 MB / 2.022 GB, free: 88.81 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00199/5.766, allocations: 446.2 kB / 2.022 GB, free: 88.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/5.767, allocations: 125.2 kB / 2.022 GB, free: 88.79 MB / 0.4948 GB Notification: Performance of SimCode: time 1.903e-06/5.767, allocations: 0 / 2.022 GB, free: 88.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.0708/5.838, allocations: 45.94 MB / 2.067 GB, free: 88.05 MB / 0.4948 GB 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)