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.004785/0.004785, allocations: 101.7 kB / 15.73 MB, free: 6.488 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.001191/0.001191, allocations: 195.1 kB / 16.68 MB, free: 6.375 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.448/1.448, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.387/0.387, allocations: 39.94 MB / 309.8 MB, free: 9.371 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.001658/0.001658, allocations: 71.89 kB / 435.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.398, allocations: 56.88 MB / 492.7 MB, free: 19.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.6225/1.021, allocations: 183.1 MB / 0.6599 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01024/1.031, allocations: 6.984 MB / 0.6668 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/1.032, allocations: 23.44 kB / 0.6668 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/1.034, allocations: 431.1 kB / 0.6672 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006748/1.04, allocations: 2.019 MB / 0.6692 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005683/1.046, allocations: 1.699 MB / 0.6708 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004572/1.051, allocations: 2.227 MB / 0.673 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/1.052, allocations: 0.765 MB / 0.6737 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005703/1.058, allocations: 1.92 MB / 0.6756 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004022/1.062, allocations: 1.595 MB / 0.6772 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003731/1.062, allocations: 99 kB / 0.6773 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005118/1.068, allocations: 1.599 MB / 0.6788 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001223/1.069, allocations: 0.6847 MB / 0.6795 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00201/1.071, allocations: 0.7574 MB / 0.6802 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006804/1.078, allocations: 2.744 MB / 0.6829 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/1.078, allocations: 0 / 0.6829 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.286e-06/1.078, allocations: 3.219 kB / 0.6829 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.046e-05/1.078, allocations: 0.9688 kB / 0.6829 GB, free: 0.8867 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.005255/1.083, allocations: 1.673 MB / 0.6846 GB, free: 16.1 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/1.083, allocations: 7.688 kB / 0.6846 GB, free: 16.1 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/1.085, allocations: 313 kB / 0.6849 GB, free: 16.04 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/1.087, allocations: 0.7711 MB / 0.6856 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/1.087, allocations: 142.6 kB / 0.6857 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002547/1.088, allocations: 103.5 kB / 0.6858 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003582/1.091, allocations: 1.843 MB / 0.6876 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.396e-05/1.091, allocations: 9.406 kB / 0.6877 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/1.091, allocations: 45.39 kB / 0.6877 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/1.092, allocations: 96.84 kB / 0.6878 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/1.094, allocations: 1.693 MB / 0.6894 GB, free: 15.46 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.01067/1.105, allocations: 6.901 MB / 0.6962 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/1.106, allocations: 0.8752 MB / 0.697 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007433/1.107, allocations: 450.8 kB / 0.6975 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/1.107, allocations: 142 kB / 0.6976 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.599e-05/1.107, allocations: 45.28 kB / 0.6976 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 3.356e-06/1.107, allocations: 0 / 0.6976 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72): time 0.01211/1.12, allocations: 4.123 MB / 0.7017 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.931e-05/1.12, allocations: 112.4 kB / 0.7018 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/1.121, allocations: 1.104 MB / 0.7029 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/1.122, allocations: 44.39 kB / 0.7029 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/1.122, allocations: 0.5206 MB / 0.7034 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/1.122, allocations: 273.2 kB / 0.7037 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003701/1.123, allocations: 207.3 kB / 0.7039 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.123, allocations: 352.9 kB / 0.7042 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009968/1.124, allocations: 0.5822 MB / 0.7048 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/1.125, allocations: 0.8722 MB / 0.7056 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/1.127, allocations: 1.45 MB / 0.707 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/1.127, allocations: 3.219 kB / 0.707 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003241/1.131, allocations: 2.002 MB / 0.709 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/1.131, allocations: 9.844 kB / 0.709 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/1.131, allocations: 7.844 kB / 0.709 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005047/1.136, allocations: 1.328 MB / 0.7103 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007146/1.136, allocations: 140.4 kB / 0.7104 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/1.139, allocations: 1.919 MB / 0.7123 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/1.141, allocations: 47.91 kB / 0.7124 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/1.141, allocations: 63.98 kB / 0.7124 GB, free: 2.965 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.0008361/1.141, allocations: 398.2 kB / 0.7128 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/1.142, allocations: 114.7 kB / 0.7129 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/1.144, allocations: 1.405 MB / 0.7143 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/1.144, allocations: 4 kB / 0.7143 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/1.144, allocations: 4 kB / 0.7143 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/1.144, allocations: 3.984 kB / 0.7143 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004662/1.149, allocations: 2.68 MB / 0.7169 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.149, allocations: 3.938 kB / 0.7169 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/1.151, allocations: 330.1 kB / 0.7172 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002135/1.151, allocations: 76.62 kB / 0.7173 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.56e-05/1.151, allocations: 31.98 kB / 0.7173 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002525/1.154, allocations: 3.021 MB / 0.7203 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.154, allocations: 4.062 kB / 0.7203 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003419/1.157, allocations: 1.909 MB / 0.7222 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009116/1.158, allocations: 335.6 kB / 0.7225 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/1.158, allocations: 27.98 kB / 0.7225 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009458/1.159, allocations: 51.95 kB / 0.7226 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/1.159, allocations: 56.58 kB / 0.7226 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/1.16, allocations: 67.94 kB / 0.7227 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001221/1.161, allocations: 0.7892 MB / 0.7234 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/1.161, allocations: 0 / 0.7234 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002611/1.163, allocations: 0.5077 MB / 0.7239 GB, free: 6.828 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.002269/1.166, allocations: 0.7911 MB / 0.7247 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002764/1.169, allocations: 1.487 MB / 0.7262 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/1.169, allocations: 0.6562 kB / 0.7262 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/1.17, allocations: 0.866 MB / 0.727 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/1.173, allocations: 0.7608 MB / 0.7278 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004996/1.179, allocations: 2.884 MB / 0.7306 GB, free: 88 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007806/1.179, allocations: 1.176 MB / 0.7317 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001222/1.181, allocations: 417.8 kB / 0.7321 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/1.181, allocations: 107.4 kB / 0.7322 GB, free: 14.36 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/1.181, allocations: 0 / 0.7322 GB, free: 14.36 MB / 0.545 GB Notification: Performance of Templates: time 0.06082/1.242, allocations: 40.26 MB / 0.7715 GB, free: 6.117 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)