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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009064/0.009064, allocations: 100.8 kB / 15.73 MB, free: 5.98 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.001731/0.001732, allocations: 201.6 kB / 16.68 MB, free: 5.906 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.658/1.658, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3429/0.3429, allocations: 39.95 MB / 309.8 MB, free: 9.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.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.001435/0.001435, allocations: 63.91 kB / 435.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3263, allocations: 56.88 MB / 492.7 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5516/0.8779, allocations: 183.1 MB / 0.6599 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009709/0.8876, allocations: 6.986 MB / 0.6668 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.8889, allocations: 21.78 kB / 0.6668 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.8905, allocations: 426.5 kB / 0.6672 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006666/0.8971, allocations: 2.025 MB / 0.6692 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005634/0.9028, allocations: 1.706 MB / 0.6708 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00576/0.9086, allocations: 2.228 MB / 0.673 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.9102, allocations: 0.759 MB / 0.6737 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007562/0.9178, allocations: 1.947 MB / 0.6756 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004218/0.922, allocations: 1.581 MB / 0.6772 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003837/0.9224, allocations: 100.8 kB / 0.6773 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004529/0.927, allocations: 1.596 MB / 0.6788 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000729/0.9277, allocations: 0.6866 MB / 0.6795 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.9289, allocations: 0.7562 MB / 0.6803 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004161/0.933, allocations: 2.745 MB / 0.6829 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.933, allocations: 0.9375 kB / 0.6829 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9331, allocations: 0 / 0.6829 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.522e-05/0.9331, allocations: 3.938 kB / 0.6829 GB, free: 0.8594 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003815/0.9369, allocations: 1.681 MB / 0.6846 GB, free: 16.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.937, allocations: 7.781 kB / 0.6846 GB, free: 16.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.9385, allocations: 310.6 kB / 0.6849 GB, free: 16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/0.9401, allocations: 0.7676 MB / 0.6856 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.9403, allocations: 140 kB / 0.6858 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.9405, allocations: 104.8 kB / 0.6859 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/0.9432, allocations: 1.848 MB / 0.6877 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.9432, allocations: 5.312 kB / 0.6877 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.9434, allocations: 49.27 kB / 0.6877 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.9435, allocations: 91.47 kB / 0.6878 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/0.9459, allocations: 1.695 MB / 0.6895 GB, free: 15.43 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.0105/0.9565, allocations: 6.896 MB / 0.6962 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.9578, allocations: 0.8715 MB / 0.6971 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006905/0.9585, allocations: 451.1 kB / 0.6975 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.9587, allocations: 141.7 kB / 0.6976 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.9587, allocations: 46.38 kB / 0.6977 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 4.168e-06/0.9588, allocations: 0 / 0.6977 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72): time 0.01157/0.9703, allocations: 4.12 MB / 0.7017 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.922e-05/0.9705, allocations: 112.8 kB / 0.7018 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.972, allocations: 1.105 MB / 0.7029 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.9721, allocations: 46.98 kB / 0.7029 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004899/0.9726, allocations: 0.5142 MB / 0.7034 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/0.9729, allocations: 272.2 kB / 0.7037 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/0.9733, allocations: 208.7 kB / 0.7039 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.9735, allocations: 351.8 kB / 0.7042 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009802/0.9744, allocations: 0.5847 MB / 0.7048 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.9757, allocations: 0.8726 MB / 0.7056 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/0.9776, allocations: 1.45 MB / 0.7071 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.9777, allocations: 3.969 kB / 0.7071 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003276/0.9809, allocations: 2.001 MB / 0.709 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.981, allocations: 7.844 kB / 0.709 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.981, allocations: 12.61 kB / 0.709 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004739/0.9857, allocations: 1.32 MB / 0.7103 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/0.9864, allocations: 148.6 kB / 0.7105 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003173/0.9896, allocations: 1.922 MB / 0.7123 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.9908, allocations: 39.97 kB / 0.7124 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.991, allocations: 67.98 kB / 0.7124 GB, free: 2.816 MB / 0.5137 GB 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 (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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0009697/0.9919, allocations: 391.2 kB / 0.7128 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.9922, allocations: 122.7 kB / 0.7129 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.9948, allocations: 1.401 MB / 0.7143 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.9948, allocations: 8 kB / 0.7143 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.9948, allocations: 0 / 0.7143 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.9949, allocations: 3.984 kB / 0.7143 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/0.9998, allocations: 2.683 MB / 0.7169 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.9998, allocations: 0 / 0.7169 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/1.002, allocations: 318 kB / 0.7172 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/1.002, allocations: 80.66 kB / 0.7173 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.75e-05/1.002, allocations: 35.97 kB / 0.7173 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/1.005, allocations: 3.029 MB / 0.7203 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.005, allocations: 0 / 0.7203 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003036/1.008, allocations: 1.903 MB / 0.7222 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008898/1.008, allocations: 339.6 kB / 0.7225 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/1.009, allocations: 27.98 kB / 0.7225 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00093/1.01, allocations: 47.95 kB / 0.7226 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/1.01, allocations: 68.56 kB / 0.7226 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/1.01, allocations: 59.95 kB / 0.7227 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001138/1.011, allocations: 0.7931 MB / 0.7235 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/1.011, allocations: 0 / 0.7235 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001615/1.013, allocations: 0.5077 MB / 0.724 GB, free: 6.676 MB / 0.5294 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 () * 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 (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.001991/1.015, allocations: 0.7901 MB / 0.7247 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002688/1.017, allocations: 1.49 MB / 0.7262 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.017, allocations: 4.656 kB / 0.7262 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/1.019, allocations: 0.856 MB / 0.727 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003354/1.022, allocations: 0.774 MB / 0.7278 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004982/1.027, allocations: 2.875 MB / 0.7306 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000829/1.028, allocations: 1.176 MB / 0.7317 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001394/1.03, allocations: 413.8 kB / 0.7321 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/1.03, allocations: 111.4 kB / 0.7322 GB, free: 14.21 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/1.03, allocations: 0 / 0.7322 GB, free: 14.21 MB / 0.545 GB Notification: Performance of Templates: time 0.06427/1.094, allocations: 40.81 MB / 0.7721 GB, free: 5.426 MB / 0.5762 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)