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.001163/0.001163, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001391/0.001391, allocations: 177.3 kB / 15.95 MB, free: 216 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.473/1.473, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3539/0.3539, allocations: 38.03 MB / 308.4 MB, free: 10.43 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.000565/0.000565, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1458, allocations: 57.52 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4188/0.5646, allocations: 143.8 MB / 0.5642 GB, free: 7.555 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.5772, allocations: 8.413 MB / 0.5724 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.5787, allocations: 23.81 kB / 0.5725 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.5803, allocations: 334.4 kB / 0.5728 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006716/0.587, allocations: 1.497 MB / 0.5742 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004675/0.5917, allocations: 1.255 MB / 0.5755 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002673/0.5944, allocations: 1.255 MB / 0.5767 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.5955, allocations: 0.6731 MB / 0.5773 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003203/0.5988, allocations: 1.306 MB / 0.5786 GB, free: 9.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003011/0.6018, allocations: 1.442 MB / 0.58 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.602, allocations: 52 kB / 0.5801 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003479/0.6055, allocations: 1.235 MB / 0.5813 GB, free: 6.699 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006548/0.6061, allocations: 0.5925 MB / 0.5819 GB, free: 6.105 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004673/0.6066, allocations: 293.1 kB / 0.5821 GB, free: 5.812 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002573/0.6092, allocations: 1.976 MB / 0.5841 GB, free: 3.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6092, allocations: 0 / 0.5841 GB, free: 3.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.6092, allocations: 0 / 0.5841 GB, free: 3.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.6092, allocations: 3.938 kB / 0.5841 GB, free: 3.836 MB / 446.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.003109/0.6124, allocations: 1.42 MB / 0.5855 GB, free: 2.367 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6124, allocations: 8.031 kB / 0.5855 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.6139, allocations: 330.2 kB / 0.5858 GB, free: 2.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.6154, allocations: 0.7108 MB / 0.5865 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.6156, allocations: 141.3 kB / 0.5866 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.6158, allocations: 107.9 kB / 0.5867 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/0.6185, allocations: 1.829 MB / 0.5885 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/0.6186, allocations: 11.94 kB / 0.5885 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.6187, allocations: 44 kB / 0.5886 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.6188, allocations: 89.95 kB / 0.5886 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002821/0.6217, allocations: 1.702 MB / 0.5903 GB, free: 13.29 MB / 462.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.009914/0.6316, allocations: 6.885 MB / 0.597 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.6328, allocations: 0.7956 MB / 0.5978 GB, free: 5.129 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.633, allocations: 129.5 kB / 0.5979 GB, free: 4.988 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.633, allocations: 47.12 kB / 0.598 GB, free: 4.934 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 4.919e-06/0.633, allocations: 4 kB / 0.598 GB, free: 4.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=72): time 0.01138/0.6444, allocations: 4.184 MB / 0.6021 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.6446, allocations: 115.4 kB / 0.6022 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.6461, allocations: 1.097 MB / 0.6032 GB, free: 15.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.6462, allocations: 41.7 kB / 0.6033 GB, free: 15.36 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/0.6467, allocations: 0.5223 MB / 0.6038 GB, free: 14.83 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.6469, allocations: 272.2 kB / 0.604 GB, free: 14.56 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.6469, allocations: 20 kB / 0.6041 GB, free: 14.54 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6471, allocations: 349.9 kB / 0.6044 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008629/0.6479, allocations: 0.5875 MB / 0.605 GB, free: 13.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.649, allocations: 0.876 MB / 0.6058 GB, free: 12.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.65, allocations: 0.7017 MB / 0.6065 GB, free: 11.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.65, allocations: 0 / 0.6065 GB, free: 11.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003106/0.6531, allocations: 2.02 MB / 0.6085 GB, free: 9.875 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.6531, allocations: 8 kB / 0.6085 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.6532, allocations: 12 kB / 0.6085 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004724/0.6579, allocations: 1.379 MB / 0.6099 GB, free: 8.473 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/0.6585, allocations: 135.8 kB / 0.61 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/0.6612, allocations: 1.928 MB / 0.6119 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.6625, allocations: 107.8 kB / 0.612 GB, free: 6.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.6626, allocations: 67.98 kB / 0.612 GB, free: 6.215 MB / 478.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.0008082/0.6635, allocations: 413.2 kB / 0.6124 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.6637, allocations: 118.7 kB / 0.6125 GB, free: 5.684 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.6662, allocations: 1.403 MB / 0.6139 GB, free: 4.273 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.6662, allocations: 8 kB / 0.6139 GB, free: 4.266 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.6662, allocations: 7.938 kB / 0.6139 GB, free: 4.258 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.6662, allocations: 3.984 kB / 0.6139 GB, free: 4.254 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004575/0.6708, allocations: 2.696 MB / 0.6166 GB, free: 1.492 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.6708, allocations: 0 / 0.6166 GB, free: 1.492 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/0.6726, allocations: 319.7 kB / 0.6169 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/0.6729, allocations: 76.75 kB / 0.6169 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.673, allocations: 39.97 kB / 0.617 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002814/0.6758, allocations: 2.832 MB / 0.6197 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.6759, allocations: 7.984 kB / 0.6198 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.6789, allocations: 1.928 MB / 0.6216 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.68, allocations: 347.6 kB / 0.622 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.6802, allocations: 32.86 kB / 0.622 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009462/0.6812, allocations: 75.92 kB / 0.6221 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.6814, allocations: 64.52 kB / 0.6221 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.6815, allocations: 63.95 kB / 0.6222 GB, free: 11.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001169/0.6827, allocations: 0.7891 MB / 0.623 GB, free: 10.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.6827, allocations: 8 kB / 0.623 GB, free: 10.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001705/0.6844, allocations: 0.5193 MB / 0.6235 GB, free: 10.09 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.002031/0.6864, allocations: 0.662 MB / 0.6241 GB, free: 9.414 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002648/0.6891, allocations: 1.475 MB / 0.6256 GB, free: 7.938 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.6891, allocations: 0.6562 kB / 0.6256 GB, free: 7.938 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.6907, allocations: 0.8653 MB / 0.6264 GB, free: 7.059 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003275/0.694, allocations: 0.7104 MB / 0.6271 GB, free: 6.352 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/0.6992, allocations: 3.37 MB / 0.6304 GB, free: 2.961 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007209/0.7, allocations: 1.191 MB / 0.6316 GB, free: 1.742 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001407/0.7014, allocations: 417.8 kB / 0.632 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/0.7017, allocations: 107.4 kB / 0.6321 GB, free: 1.227 MB / 494.1 MB Notification: Performance of SimCode: time 1.212e-06/0.7018, allocations: 0 / 0.6321 GB, free: 1.227 MB / 494.1 MB Notification: Performance of Templates: time 0.315/1.017, allocations: 37.46 MB / 0.6686 GB, free: 146.3 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: