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.005838/0.005838, allocations: 100.4 kB / 15.73 MB, free: 6.008 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.001166/0.001166, allocations: 190.4 kB / 16.67 MB, free: 5.949 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.401/1.401, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.2958/0.2958, allocations: 38 MB / 307.9 MB, free: 9.941 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.001455/0.001455, allocations: 68.56 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3436, allocations: 56.47 MB / 489.5 MB, free: 20.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.6332/0.9768, allocations: 183.1 MB / 0.6568 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.9875, allocations: 6.978 MB / 0.6636 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.9886, allocations: 20.84 kB / 0.6636 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.99, allocations: 428.8 kB / 0.6641 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006807/0.9969, allocations: 2.018 MB / 0.666 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005503/1.002, allocations: 1.71 MB / 0.6677 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004541/1.007, allocations: 2.234 MB / 0.6699 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/1.008, allocations: 0.7616 MB / 0.6706 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005806/1.014, allocations: 1.928 MB / 0.6725 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004233/1.019, allocations: 1.583 MB / 0.674 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004449/1.019, allocations: 101.2 kB / 0.6741 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005296/1.024, allocations: 1.594 MB / 0.6757 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009485/1.025, allocations: 0.6798 MB / 0.6764 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00162/1.027, allocations: 0.7575 MB / 0.6771 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008385/1.035, allocations: 2.743 MB / 0.6798 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/1.035, allocations: 1.594 kB / 0.6798 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.855e-06/1.035, allocations: 4.656 kB / 0.6798 GB, free: 1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.193e-05/1.035, allocations: 0 / 0.6798 GB, free: 1 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.005919/1.041, allocations: 1.687 MB / 0.6814 GB, free: 16.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/1.041, allocations: 8.969 kB / 0.6814 GB, free: 16.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/1.043, allocations: 312.8 kB / 0.6817 GB, free: 16.15 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/1.045, allocations: 0.7687 MB / 0.6825 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/1.045, allocations: 138.1 kB / 0.6826 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/1.046, allocations: 101.5 kB / 0.6827 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003841/1.049, allocations: 1.844 MB / 0.6845 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.647e-05/1.049, allocations: 8.469 kB / 0.6845 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/1.05, allocations: 44.64 kB / 0.6846 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/1.05, allocations: 94.5 kB / 0.6847 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003438/1.053, allocations: 1.695 MB / 0.6863 GB, free: 15.57 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.01338/1.067, allocations: 6.904 MB / 0.6931 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/1.068, allocations: 0.8674 MB / 0.6939 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007138/1.069, allocations: 454.5 kB / 0.6943 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/1.069, allocations: 139 kB / 0.6945 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.004e-05/1.069, allocations: 57.88 kB / 0.6945 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 4.699e-06/1.069, allocations: 4.891 kB / 0.6945 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72): time 0.01307/1.082, allocations: 4.119 MB / 0.6986 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.083, allocations: 111.5 kB / 0.6987 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/1.084, allocations: 1.101 MB / 0.6997 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001979/1.085, allocations: 46.36 kB / 0.6998 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/1.085, allocations: 0.5126 MB / 0.7003 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/1.085, allocations: 273.1 kB / 0.7005 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003733/1.086, allocations: 209.2 kB / 0.7007 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.086, allocations: 348.3 kB / 0.7011 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009168/1.087, allocations: 0.5802 MB / 0.7016 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/1.088, allocations: 0.8763 MB / 0.7025 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00224/1.09, allocations: 1.45 MB / 0.7039 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/1.09, allocations: 2.188 kB / 0.7039 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003964/1.094, allocations: 1.999 MB / 0.7059 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/1.094, allocations: 10.75 kB / 0.7059 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/1.094, allocations: 8.531 kB / 0.7059 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004977/1.099, allocations: 1.327 MB / 0.7072 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/1.1, allocations: 141.8 kB / 0.7073 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/1.103, allocations: 1.929 MB / 0.7092 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/1.105, allocations: 43.97 kB / 0.7092 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/1.105, allocations: 64.17 kB / 0.7093 GB, free: 4.773 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.001041/1.106, allocations: 406 kB / 0.7097 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/1.106, allocations: 114.8 kB / 0.7098 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/1.109, allocations: 1.394 MB / 0.7112 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/1.109, allocations: 8 kB / 0.7112 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.109, allocations: 4 kB / 0.7112 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/1.109, allocations: 3.984 kB / 0.7112 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004647/1.113, allocations: 2.679 MB / 0.7138 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.114, allocations: 0 / 0.7138 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/1.115, allocations: 333.2 kB / 0.7141 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002153/1.116, allocations: 64.78 kB / 0.7142 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.155e-05/1.116, allocations: 39.92 kB / 0.7142 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002793/1.119, allocations: 3.022 MB / 0.7172 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.119, allocations: 7.234 kB / 0.7172 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0034/1.122, allocations: 1.908 MB / 0.719 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000973/1.123, allocations: 334.8 kB / 0.7193 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/1.123, allocations: 31.98 kB / 0.7194 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009715/1.124, allocations: 43.95 kB / 0.7194 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/1.124, allocations: 60.58 kB / 0.7195 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/1.125, allocations: 67.94 kB / 0.7195 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001331/1.126, allocations: 0.7892 MB / 0.7203 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/1.126, allocations: 0 / 0.7203 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002436/1.128, allocations: 0.5155 MB / 0.7208 GB, free: 8.621 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.002292/1.131, allocations: 0.7919 MB / 0.7216 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002991/1.134, allocations: 1.487 MB / 0.723 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.134, allocations: 4.594 kB / 0.723 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00175/1.135, allocations: 0.8658 MB / 0.7239 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00363/1.139, allocations: 0.7554 MB / 0.7246 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00612/1.145, allocations: 2.882 MB / 0.7274 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009451/1.146, allocations: 1.18 MB / 0.7286 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001479/1.148, allocations: 417.8 kB / 0.729 GB, free: 272 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/1.148, allocations: 99.42 kB / 0.7291 GB, free: 172 kB / 0.5294 GB Notification: Performance of SimCode: time 2.685e-06/1.148, allocations: 0 / 0.7291 GB, free: 172 kB / 0.5294 GB Notification: Performance of Templates: time 0.06521/1.213, allocations: 40.27 MB / 0.7684 GB, free: 7.926 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (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)