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.007724/0.007724, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.001832/0.001832, allocations: 192.4 kB / 16.67 MB, free: 5.934 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.414/1.414, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.4101/0.4101, allocations: 39.95 MB / 309.8 MB, free: 9.414 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.001525/0.001525, allocations: 64.47 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3832, allocations: 56.87 MB / 492.7 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.6638/1.047, allocations: 183.2 MB / 0.6601 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009498/1.057, allocations: 6.982 MB / 0.6669 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/1.058, allocations: 17.84 kB / 0.6669 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/1.059, allocations: 418 kB / 0.6673 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006692/1.066, allocations: 2.016 MB / 0.6693 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005455/1.072, allocations: 1.674 MB / 0.6709 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003619/1.075, allocations: 2.111 MB / 0.673 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009793/1.076, allocations: 0.5416 MB / 0.6735 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00501/1.081, allocations: 1.88 MB / 0.6753 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/1.084, allocations: 1.467 MB / 0.6768 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002505/1.084, allocations: 74.78 kB / 0.6768 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004487/1.089, allocations: 1.568 MB / 0.6784 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006085/1.09, allocations: 448.7 kB / 0.6788 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009116/1.091, allocations: 0.5571 MB / 0.6793 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003876/1.094, allocations: 2.199 MB / 0.6815 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.094, allocations: 3.25 kB / 0.6815 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/1.094, allocations: 0.875 kB / 0.6815 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.271e-05/1.094, allocations: 0 / 0.6815 GB, free: 0.9609 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.00297/1.097, allocations: 1.447 MB / 0.6829 GB, free: 16.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/1.097, allocations: 12.42 kB / 0.6829 GB, free: 16.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/1.099, allocations: 284.2 kB / 0.6832 GB, free: 16.15 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009232/1.1, allocations: 0.6368 MB / 0.6838 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/1.1, allocations: 115.5 kB / 0.6839 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/1.1, allocations: 66.05 kB / 0.684 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/1.102, allocations: 1.264 MB / 0.6852 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/1.102, allocations: 0.9062 kB / 0.6852 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/1.102, allocations: 36.88 kB / 0.6853 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.551e-05/1.102, allocations: 83.73 kB / 0.6853 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/1.103, allocations: 1.056 MB / 0.6864 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.006576/1.11, allocations: 4.98 MB / 0.6912 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/1.11, allocations: 314.8 kB / 0.6915 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/1.111, allocations: 143.3 kB / 0.6917 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/1.111, allocations: 139.9 kB / 0.6918 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/1.111, allocations: 38.09 kB / 0.6918 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/1.111, allocations: 0.7188 kB / 0.6918 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.005983/1.117, allocations: 1.825 MB / 0.6936 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/1.117, allocations: 133.3 kB / 0.6937 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/1.118, allocations: 0.9388 MB / 0.6947 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/1.118, allocations: 35.36 kB / 0.6947 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/1.118, allocations: 0.5796 MB / 0.6953 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.66e-05/1.118, allocations: 144.2 kB / 0.6954 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/1.119, allocations: 216.3 kB / 0.6956 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.119, allocations: 402.9 kB / 0.696 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/1.119, allocations: 273.1 kB / 0.6963 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007823/1.12, allocations: 0.8638 MB / 0.6971 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/1.121, allocations: 1.176 MB / 0.6982 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.121, allocations: 11.34 kB / 0.6983 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001802/1.123, allocations: 1.238 MB / 0.6995 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/1.123, allocations: 13.56 kB / 0.6995 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/1.123, allocations: 21.92 kB / 0.6995 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/1.124, allocations: 278.7 kB / 0.6998 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/1.125, allocations: 206.2 kB / 0.7 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/1.126, allocations: 0.9211 MB / 0.7009 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/1.127, allocations: 46.83 kB / 0.7009 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.717e-05/1.127, allocations: 66.78 kB / 0.701 GB, free: 8.648 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.0003969/1.127, allocations: 355.5 kB / 0.7013 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/1.127, allocations: 95.41 kB / 0.7014 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008386/1.128, allocations: 486.7 kB / 0.7019 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/1.128, allocations: 6.469 kB / 0.7019 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.128, allocations: 10.33 kB / 0.7019 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/1.128, allocations: 0 / 0.7019 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/1.13, allocations: 1.119 MB / 0.703 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.13, allocations: 0 / 0.703 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009085/1.131, allocations: 191 kB / 0.7032 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.603e-05/1.131, allocations: 20.66 kB / 0.7032 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/1.131, allocations: 8.594 kB / 0.7032 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/1.133, allocations: 2.87 MB / 0.706 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.133, allocations: 3.938 kB / 0.706 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009844/1.134, allocations: 0.6992 MB / 0.7067 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/1.134, allocations: 204.2 kB / 0.7069 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/1.134, allocations: 13.78 kB / 0.7069 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/1.134, allocations: 15.23 kB / 0.7069 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/1.135, allocations: 23.84 kB / 0.7069 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/1.135, allocations: 24.55 kB / 0.7069 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006986/1.135, allocations: 0.6221 MB / 0.7075 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.41e-07/1.135, allocations: 64 / 0.7075 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001622/1.137, allocations: 438.4 kB / 0.708 GB, free: 4.215 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.001949/1.139, allocations: 0.7464 MB / 0.7087 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001386/1.14, allocations: 0.6725 MB / 0.7093 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.14, allocations: 0 / 0.7093 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000951/1.141, allocations: 372.4 kB / 0.7097 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/1.143, allocations: 425.2 kB / 0.7101 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/1.146, allocations: 1.64 MB / 0.7117 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006622/1.146, allocations: 1.027 MB / 0.7127 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007957/1.147, allocations: 323.1 kB / 0.713 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/1.147, allocations: 73.84 kB / 0.7131 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/1.147, allocations: 0 / 0.7131 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of Templates: time 0.03534/1.183, allocations: 22.9 MB / 0.7355 GB, free: 10.89 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)