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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007938/0.007938, allocations: 99.8 kB / 15.73 MB, free: 6.043 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.001722/0.001723, allocations: 187.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3068/0.3068, allocations: 39.94 MB / 309.8 MB, free: 9.398 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.2. 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.001663/0.001663, allocations: 68.28 kB / 435.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3342, allocations: 56.87 MB / 492.7 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5619/0.8961, allocations: 183.2 MB / 0.6601 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.9079, allocations: 6.983 MB / 0.6669 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.909, allocations: 18.69 kB / 0.6669 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.9103, allocations: 419.6 kB / 0.6673 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00587/0.9162, allocations: 2.013 MB / 0.6693 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005179/0.9214, allocations: 1.678 MB / 0.6709 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003714/0.9251, allocations: 2.104 MB / 0.673 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.9262, allocations: 0.5379 MB / 0.6735 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005294/0.9315, allocations: 1.888 MB / 0.6753 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003295/0.9348, allocations: 1.473 MB / 0.6768 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002995/0.9351, allocations: 76.78 kB / 0.6768 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004492/0.9396, allocations: 1.571 MB / 0.6784 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007526/0.9404, allocations: 446.8 kB / 0.6788 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.9415, allocations: 0.5563 MB / 0.6794 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003965/0.9454, allocations: 2.188 MB / 0.6815 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9455, allocations: 0 / 0.6815 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9455, allocations: 1 kB / 0.6815 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.941e-05/0.9455, allocations: 0 / 0.6815 GB, free: 0.9805 MB / 0.4981 GB 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.003006/0.9485, allocations: 1.423 MB / 0.6829 GB, free: 16.26 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.9486, allocations: 12.3 kB / 0.6829 GB, free: 16.26 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.9499, allocations: 278.8 kB / 0.6832 GB, free: 16.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.9512, allocations: 0.6326 MB / 0.6838 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.9513, allocations: 112.6 kB / 0.6839 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.9515, allocations: 72.34 kB / 0.6839 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.9533, allocations: 1.262 MB / 0.6852 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.9534, allocations: 3.281 kB / 0.6852 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.9535, allocations: 34.98 kB / 0.6852 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.886e-05/0.9536, allocations: 82.91 kB / 0.6853 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.9552, allocations: 1.054 MB / 0.6863 GB, free: 15.63 MB / 0.5137 GB 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.007377/0.9626, allocations: 4.967 MB / 0.6912 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.9631, allocations: 315.9 kB / 0.6915 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.9633, allocations: 144.5 kB / 0.6916 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.9635, allocations: 135.3 kB / 0.6917 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.9635, allocations: 36.72 kB / 0.6918 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=28): time 2.114e-06/0.9635, allocations: 0.875 kB / 0.6918 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.006269/0.9698, allocations: 1.815 MB / 0.6936 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/0.9699, allocations: 134.5 kB / 0.6937 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.971, allocations: 0.9393 MB / 0.6946 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.9711, allocations: 31.7 kB / 0.6946 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.9715, allocations: 0.5693 MB / 0.6952 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.9716, allocations: 131.3 kB / 0.6953 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.9719, allocations: 216 kB / 0.6955 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.9721, allocations: 405.7 kB / 0.6959 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/0.9725, allocations: 273.8 kB / 0.6962 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.9736, allocations: 0.8664 MB / 0.697 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.9751, allocations: 1.179 MB / 0.6982 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.9752, allocations: 13.56 kB / 0.6982 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002042/0.9772, allocations: 1.228 MB / 0.6994 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.9773, allocations: 17.72 kB / 0.6994 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/0.9773, allocations: 20.59 kB / 0.6994 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.9786, allocations: 281.7 kB / 0.6997 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.9793, allocations: 200.6 kB / 0.6999 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.9805, allocations: 0.9207 MB / 0.7008 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008306/0.9814, allocations: 42.11 kB / 0.7008 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-05/0.9815, allocations: 69.3 kB / 0.7009 GB, free: 8.758 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0006537/0.9821, allocations: 351.9 kB / 0.7012 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.9823, allocations: 91.91 kB / 0.7013 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009857/0.9833, allocations: 498.8 kB / 0.7018 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.9833, allocations: 1.844 kB / 0.7018 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.9833, allocations: 3.406 kB / 0.7018 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.9833, allocations: 0 / 0.7018 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.9852, allocations: 1.122 MB / 0.7029 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.9852, allocations: 0 / 0.7029 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009576/0.9862, allocations: 187.5 kB / 0.7031 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.78e-05/0.9863, allocations: 22.47 kB / 0.7031 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.9863, allocations: 15.27 kB / 0.7031 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002306/0.9886, allocations: 2.866 MB / 0.7059 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.9886, allocations: 3.938 kB / 0.7059 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.9897, allocations: 0.6912 MB / 0.7066 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.9901, allocations: 199.8 kB / 0.7068 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.9902, allocations: 11.78 kB / 0.7068 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.9906, allocations: 17.3 kB / 0.7068 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.9907, allocations: 25.89 kB / 0.7068 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.9907, allocations: 19.98 kB / 0.7068 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008344/0.9916, allocations: 0.6308 MB / 0.7074 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.182e-06/0.9916, allocations: 0 / 0.7074 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001834/0.9934, allocations: 426.6 kB / 0.7079 GB, free: 4.348 MB / 0.5137 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002496/0.9959, allocations: 0.7434 MB / 0.7086 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.9973, allocations: 0.673 MB / 0.7092 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.9973, allocations: 0 / 0.7092 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009098/0.9982, allocations: 368.9 kB / 0.7096 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/1, allocations: 424.1 kB / 0.71 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/1.003, allocations: 1.613 MB / 0.7116 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/1.003, allocations: 1.028 MB / 0.7126 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000808/1.004, allocations: 310 kB / 0.7129 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/1.004, allocations: 77.25 kB / 0.7129 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/1.004, allocations: 0 / 0.7129 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of Templates: time 0.03891/1.043, allocations: 23.07 MB / 0.7355 GB, free: 10.9 MB / 0.545 GB 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)