Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008209/0.0008207, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008508/0.000851, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.3208/0.3208, allocations: 38.03 MB / 308.4 MB, free: 10.23 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.000553/0.0005531, allocations: 12 kB / 376.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1273, allocations: 57.51 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4153/0.5427, allocations: 167 MB / 0.5869 GB, free: 1.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.5545, allocations: 6.622 MB / 0.5934 GB, free: 10.85 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.5563, allocations: 23.81 kB / 0.5934 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.5581, allocations: 310 kB / 0.5937 GB, free: 10.52 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006285/0.5644, allocations: 1.611 MB / 0.5953 GB, free: 8.906 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00426/0.5687, allocations: 1.254 MB / 0.5965 GB, free: 7.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003772/0.5725, allocations: 2.652 MB / 0.5991 GB, free: 5.004 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.574, allocations: 0.6301 MB / 0.5997 GB, free: 4.379 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004985/0.579, allocations: 1.741 MB / 0.6014 GB, free: 2.641 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003527/0.5825, allocations: 1.679 MB / 0.603 GB, free: 0.957 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004559/0.583, allocations: 56 kB / 0.6031 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003792/0.5868, allocations: 1.461 MB / 0.6045 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.5879, allocations: 0.6781 MB / 0.6052 GB, free: 14.76 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008615/0.5888, allocations: 293.1 kB / 0.6054 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003287/0.5921, allocations: 2.05 MB / 0.6074 GB, free: 12.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5921, allocations: 0 / 0.6074 GB, free: 12.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5921, allocations: 0 / 0.6074 GB, free: 12.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.697e-05/0.5922, allocations: 0 / 0.6074 GB, free: 12.41 MB / 478.1 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.003882/0.5961, allocations: 1.419 MB / 0.6088 GB, free: 10.95 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.5961, allocations: 8.031 kB / 0.6088 GB, free: 10.94 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.5979, allocations: 310.2 kB / 0.6091 GB, free: 10.63 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.5997, allocations: 0.7264 MB / 0.6098 GB, free: 9.867 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/0.5999, allocations: 137.4 kB / 0.61 GB, free: 9.719 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003625/0.6003, allocations: 107.9 kB / 0.6101 GB, free: 9.613 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003911/0.6042, allocations: 1.841 MB / 0.6119 GB, free: 7.703 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.877e-05/0.6043, allocations: 4 kB / 0.6119 GB, free: 7.699 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002463/0.6045, allocations: 40 kB / 0.6119 GB, free: 7.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.6047, allocations: 97.83 kB / 0.612 GB, free: 7.566 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/0.6079, allocations: 1.71 MB / 0.6137 GB, free: 5.855 MB / 478.1 MB 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.01193/0.6198, allocations: 6.933 MB / 0.6205 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.6213, allocations: 0.8463 MB / 0.6213 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006494/0.622, allocations: 446.2 kB / 0.6217 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.6222, allocations: 139.6 kB / 0.6218 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.6222, allocations: 51.12 kB / 0.6219 GB, free: 12.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=60): time 3.096e-06/0.6223, allocations: 3.938 kB / 0.6219 GB, free: 12.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=72): time 0.01065/0.6329, allocations: 4.129 MB / 0.6259 GB, free: 8.734 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.6331, allocations: 111.5 kB / 0.626 GB, free: 8.602 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.6348, allocations: 1.097 MB / 0.6271 GB, free: 7.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.635, allocations: 41.7 kB / 0.6271 GB, free: 7.434 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/0.6354, allocations: 0.5223 MB / 0.6276 GB, free: 6.902 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.6357, allocations: 268.2 kB / 0.6279 GB, free: 6.637 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/0.6358, allocations: 20 kB / 0.6279 GB, free: 6.617 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.636, allocations: 349.9 kB / 0.6283 GB, free: 6.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009375/0.637, allocations: 0.5719 MB / 0.6288 GB, free: 5.695 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.6381, allocations: 0.8604 MB / 0.6297 GB, free: 4.719 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.6394, allocations: 0.6823 MB / 0.6303 GB, free: 4.039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.6394, allocations: 3.938 kB / 0.6303 GB, free: 4.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003371/0.6428, allocations: 1.977 MB / 0.6323 GB, free: 2.043 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.6428, allocations: 8.875 kB / 0.6323 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.6429, allocations: 19.89 kB / 0.6323 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004538/0.6474, allocations: 1.382 MB / 0.6336 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.648, allocations: 147.7 kB / 0.6338 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2222/0.8702, allocations: 1.913 MB / 0.6356 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.8716, allocations: 114.2 kB / 0.6358 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.8718, allocations: 65.66 kB / 0.6358 GB, free: 156.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 35} Notification: Performance of prepare postOptimizeDAE: time 0.0007977/0.8726, allocations: 401.3 kB / 0.6362 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.8729, allocations: 108.2 kB / 0.6363 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.8753, allocations: 1.383 MB / 0.6376 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.8753, allocations: 9.875 kB / 0.6377 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.8754, allocations: 3.719 kB / 0.6377 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.8754, allocations: 4.969 kB / 0.6377 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005482/0.8809, allocations: 2.663 MB / 0.6403 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.8809, allocations: 3.594 kB / 0.6403 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/0.8825, allocations: 324.2 kB / 0.6406 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002352/0.8828, allocations: 79.53 kB / 0.6407 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.8829, allocations: 34.56 kB / 0.6407 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.8848, allocations: 2.834 MB / 0.6435 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8848, allocations: 0 / 0.6435 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/0.8874, allocations: 1.878 MB / 0.6453 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007915/0.8882, allocations: 347.4 kB / 0.6456 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/0.8886, allocations: 25.53 kB / 0.6456 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.8896, allocations: 84.55 kB / 0.6457 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.8897, allocations: 75.14 kB / 0.6458 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.606e-05/0.8898, allocations: 60.58 kB / 0.6459 GB, free: 152.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008778/0.8907, allocations: 0.7891 MB / 0.6466 GB, free: 152.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8907, allocations: 0 / 0.6466 GB, free: 152.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001464/0.8922, allocations: 0.5231 MB / 0.6471 GB, free: 152.5 MB / 494.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 76 * 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.001773/0.894, allocations: 0.6762 MB / 0.6478 GB, free: 152.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002178/0.8962, allocations: 1.448 MB / 0.6492 GB, free: 151.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.8962, allocations: 7.031 kB / 0.6492 GB, free: 151.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.8975, allocations: 0.8557 MB / 0.6501 GB, free: 151.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.9002, allocations: 0.7215 MB / 0.6508 GB, free: 151.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/0.9051, allocations: 3.364 MB / 0.654 GB, free: 149.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000745/0.9058, allocations: 1.175 MB / 0.6552 GB, free: 149.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001628/0.9075, allocations: 410.1 kB / 0.6556 GB, free: 149 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.9078, allocations: 101.5 kB / 0.6557 GB, free: 149 MB / 494.1 MB Notification: Performance of SimCode: time 2.494e-06/0.9078, allocations: 4.188 kB / 0.6557 GB, free: 149 MB / 494.1 MB Notification: Performance of Templates: time 0.05795/0.9658, allocations: 36.86 MB / 0.6917 GB, free: 136.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) Environment - environmentSimulation: