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.006822/0.006822, allocations: 103 kB / 15.73 MB, free: 5.988 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.001328/0.001328, allocations: 193.7 kB / 16.67 MB, free: 5.914 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.417/1.417, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.3189/0.3189, allocations: 38 MB / 307.9 MB, free: 10.02 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.002547/0.002547, allocations: 63.91 kB / 433 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.377, allocations: 56.47 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5363/0.9134, allocations: 183.1 MB / 0.6568 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009695/0.9231, allocations: 6.973 MB / 0.6636 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009788/0.9242, allocations: 22.78 kB / 0.6636 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.9255, allocations: 431.8 kB / 0.6641 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006639/0.9321, allocations: 2.014 MB / 0.666 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005677/0.9378, allocations: 1.713 MB / 0.6677 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004218/0.9421, allocations: 2.235 MB / 0.6699 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.9436, allocations: 0.7616 MB / 0.6706 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005712/0.9493, allocations: 1.937 MB / 0.6725 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004319/0.9537, allocations: 1.589 MB / 0.6741 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003794/0.9541, allocations: 100.3 kB / 0.6742 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005064/0.9591, allocations: 1.589 MB / 0.6757 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009954/0.9602, allocations: 0.6815 MB / 0.6764 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.9617, allocations: 0.7559 MB / 0.6771 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006798/0.9685, allocations: 2.742 MB / 0.6798 GB, free: 1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.9685, allocations: 8.969 kB / 0.6798 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9685, allocations: 0.9062 kB / 0.6798 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.203e-05/0.9686, allocations: 0 / 0.6798 GB, free: 0.9961 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.005057/0.9736, allocations: 1.679 MB / 0.6814 GB, free: 16.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.9737, allocations: 8.562 kB / 0.6815 GB, free: 16.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.9753, allocations: 310.3 kB / 0.6817 GB, free: 16.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.977, allocations: 0.7696 MB / 0.6825 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.9772, allocations: 146.9 kB / 0.6826 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.9774, allocations: 97.78 kB / 0.6827 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/0.9802, allocations: 1.838 MB / 0.6845 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/0.9803, allocations: 9.562 kB / 0.6845 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.9804, allocations: 45.66 kB / 0.6846 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.9805, allocations: 98.09 kB / 0.6847 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.9832, allocations: 1.694 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.01082/0.994, allocations: 6.905 MB / 0.6931 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.9953, allocations: 0.8669 MB / 0.6939 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/0.9959, allocations: 455.2 kB / 0.6943 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.9962, allocations: 140.8 kB / 0.6945 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/0.9962, allocations: 50.58 kB / 0.6945 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 3.357e-06/0.9962, allocations: 0.7812 kB / 0.6945 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72): time 0.01246/1.009, allocations: 4.123 MB / 0.6986 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/1.009, allocations: 112.8 kB / 0.6987 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/1.01, allocations: 1.102 MB / 0.6997 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/1.01, allocations: 43.36 kB / 0.6998 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/1.011, allocations: 0.5241 MB / 0.7003 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/1.011, allocations: 262.7 kB / 0.7005 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/1.011, allocations: 209 kB / 0.7007 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.012, allocations: 349.1 kB / 0.7011 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008669/1.012, allocations: 0.5866 MB / 0.7017 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/1.014, allocations: 0.8729 MB / 0.7025 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/1.016, allocations: 1.455 MB / 0.7039 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.016, allocations: 2.562 kB / 0.7039 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003633/1.019, allocations: 2 MB / 0.7059 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/1.019, allocations: 11.97 kB / 0.7059 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/1.019, allocations: 7.469 kB / 0.7059 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004743/1.024, allocations: 1.324 MB / 0.7072 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/1.025, allocations: 139 kB / 0.7073 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/1.028, allocations: 1.929 MB / 0.7092 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/1.029, allocations: 43.97 kB / 0.7093 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.029, allocations: 67.92 kB / 0.7093 GB, free: 4.754 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.0009973/1.03, allocations: 402.1 kB / 0.7097 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003041/1.031, allocations: 110.8 kB / 0.7098 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/1.033, allocations: 1.394 MB / 0.7112 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/1.033, allocations: 8 kB / 0.7112 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.033, allocations: 0 / 0.7112 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/1.033, allocations: 3.984 kB / 0.7112 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004726/1.038, allocations: 2.677 MB / 0.7138 GB, free: 124 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/1.038, allocations: 4 kB / 0.7138 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/1.04, allocations: 333.1 kB / 0.7141 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/1.04, allocations: 64.8 kB / 0.7142 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.172e-05/1.04, allocations: 43.91 kB / 0.7142 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/1.043, allocations: 3.029 MB / 0.7172 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.043, allocations: 160 / 0.7172 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/1.046, allocations: 1.913 MB / 0.719 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/1.048, allocations: 335.7 kB / 0.7194 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/1.048, allocations: 20 kB / 0.7194 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000938/1.049, allocations: 55.94 kB / 0.7194 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/1.049, allocations: 56.58 kB / 0.7195 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.049, allocations: 67.95 kB / 0.7196 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001207/1.05, allocations: 0.793 MB / 0.7203 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/1.05, allocations: 0 / 0.7203 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002109/1.052, allocations: 0.5116 MB / 0.7208 GB, free: 8.609 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.002325/1.055, allocations: 0.797 MB / 0.7216 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002986/1.058, allocations: 1.476 MB / 0.723 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.058, allocations: 4.656 kB / 0.7231 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/1.06, allocations: 0.8655 MB / 0.7239 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003838/1.063, allocations: 0.7606 MB / 0.7246 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005092/1.068, allocations: 2.887 MB / 0.7275 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/1.069, allocations: 1.18 MB / 0.7286 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001344/1.071, allocations: 413.8 kB / 0.729 GB, free: 260 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/1.071, allocations: 107.4 kB / 0.7291 GB, free: 152 kB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/1.071, allocations: 3.188 kB / 0.7291 GB, free: 152 kB / 0.5294 GB Notification: Performance of Templates: time 0.06564/1.137, allocations: 40.8 MB / 0.769 GB, free: 7.367 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)