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.001676/0.001676, allocations: 181.9 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.712/1.712, allocations: 194.3 MB / 207.5 MB, free: 3.449 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.002039/0.00204, allocations: 107.8 kB / 252.6 MB, free: 4.812 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.2315/0.2315, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.75e-05, allocations: 0 / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1322, allocations: 54.86 MB / 455.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.631/2.763, allocations: 0.8221 GB / 1.267 GB, free: 150.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/2.763, allocations: 99.75 kB / 1.267 GB, free: 150.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.982/5.745, allocations: 0.7355 GB / 2.002 GB, free: 62.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.843e-06/5.745, allocations: 0 / 2.002 GB, free: 62.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001389/5.746, allocations: 24.23 kB / 2.002 GB, free: 62.87 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.005679/5.751, allocations: 1.37 MB / 2.004 GB, free: 62.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.912e-05/5.751, allocations: 11.33 kB / 2.004 GB, free: 62.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/5.753, allocations: 275.1 kB / 2.004 GB, free: 62.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/5.756, allocations: 0.6924 MB / 2.005 GB, free: 62.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/5.756, allocations: 123 kB / 2.005 GB, free: 62.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/5.756, allocations: 62.97 kB / 2.005 GB, free: 62.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/5.759, allocations: 1.214 MB / 2.006 GB, free: 61.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/5.759, allocations: 3.781 kB / 2.006 GB, free: 61.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/5.759, allocations: 32.06 kB / 2.006 GB, free: 61.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/5.76, allocations: 70.12 kB / 2.006 GB, free: 61.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/5.762, allocations: 1.007 MB / 2.007 GB, free: 61.91 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.008263/5.77, allocations: 4.823 MB / 2.012 GB, free: 59.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/5.771, allocations: 265.2 kB / 2.012 GB, free: 59.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/5.771, allocations: 128.9 kB / 2.012 GB, free: 59.13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000356/5.771, allocations: 242.6 kB / 2.012 GB, free: 58.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/5.771, allocations: 39.55 kB / 2.012 GB, free: 58.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 4.849e-06/5.771, allocations: 0 / 2.012 GB, free: 58.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.006131/5.778, allocations: 1.589 MB / 2.014 GB, free: 58.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/5.778, allocations: 132.4 kB / 2.014 GB, free: 58.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/5.779, allocations: 0.8097 MB / 2.015 GB, free: 57.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/5.779, allocations: 36.95 kB / 2.015 GB, free: 57.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004375/5.779, allocations: 0.5871 MB / 2.015 GB, free: 57.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/5.78, allocations: 125.9 kB / 2.016 GB, free: 57.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/5.78, allocations: 23.47 kB / 2.016 GB, free: 57.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/5.78, allocations: 395.7 kB / 2.016 GB, free: 57.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/5.78, allocations: 276.3 kB / 2.016 GB, free: 57.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009546/5.781, allocations: 0.9092 MB / 2.017 GB, free: 56.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007567/5.782, allocations: 481 kB / 2.018 GB, free: 56.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/5.782, allocations: 9.562 kB / 2.018 GB, free: 56.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001936/5.784, allocations: 1.287 MB / 2.019 GB, free: 56.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/5.784, allocations: 15.56 kB / 2.019 GB, free: 56.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/5.784, allocations: 26.64 kB / 2.019 GB, free: 56.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/5.785, allocations: 267.8 kB / 2.019 GB, free: 56.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006483/5.786, allocations: 242.1 kB / 2.019 GB, free: 56.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000934/5.787, allocations: 0.8765 MB / 2.02 GB, free: 55.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/5.788, allocations: 67.5 kB / 2.02 GB, free: 55.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/5.788, allocations: 96.36 kB / 2.02 GB, free: 55.85 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.0002609/5.788, allocations: 194.6 kB / 2.021 GB, free: 55.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/5.788, allocations: 90.38 kB / 2.021 GB, free: 55.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/5.79, allocations: 459.2 kB / 2.021 GB, free: 55.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/5.79, allocations: 7.75 kB / 2.021 GB, free: 55.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/5.79, allocations: 0 / 2.021 GB, free: 55.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.088e-06/5.79, allocations: 3.75 kB / 2.021 GB, free: 55.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/5.791, allocations: 1.078 MB / 2.022 GB, free: 55.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/5.791, allocations: 3.5 kB / 2.022 GB, free: 55.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008759/5.792, allocations: 185.6 kB / 2.022 GB, free: 55.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-05/5.792, allocations: 20.27 kB / 2.022 GB, free: 55.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/5.792, allocations: 17.61 kB / 2.022 GB, free: 55.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/5.794, allocations: 2.67 MB / 2.025 GB, free: 52.74 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/5.794, allocations: 0 / 2.025 GB, free: 52.74 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000906/5.795, allocations: 0.6763 MB / 2.026 GB, free: 52.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/5.796, allocations: 203.7 kB / 2.026 GB, free: 52.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/5.796, allocations: 7.188 kB / 2.026 GB, free: 52.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/5.796, allocations: 27.78 kB / 2.026 GB, free: 52.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/5.796, allocations: 26.59 kB / 2.026 GB, free: 52.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/5.796, allocations: 15.69 kB / 2.026 GB, free: 52.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009442/5.797, allocations: 0.5971 MB / 2.026 GB, free: 52.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.21e-07/5.797, allocations: 0 / 2.026 GB, free: 52.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003217/5.8, allocations: 0.5164 MB / 2.027 GB, free: 52.27 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.003877/5.804, allocations: 1.378 MB / 2.028 GB, free: 52.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002006/5.806, allocations: 0.6918 MB / 2.029 GB, free: 52.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/5.806, allocations: 3.953 kB / 2.029 GB, free: 52.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009181/5.807, allocations: 345.4 kB / 2.029 GB, free: 51.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/5.81, allocations: 378 kB / 2.03 GB, free: 51.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/5.813, allocations: 1.152 MB / 2.031 GB, free: 51.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000868/5.814, allocations: 1.049 MB / 2.032 GB, free: 50.92 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001589/5.815, allocations: 376.9 kB / 2.032 GB, free: 50.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/5.815, allocations: 95.09 kB / 2.032 GB, free: 50.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/5.815, allocations: 0 / 2.032 GB, free: 50.9 MB / 490.7 MB Notification: Performance of Templates: time 0.05776/5.873, allocations: 34.59 MB / 2.066 GB, free: 50.12 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)