Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.0009559/0.0009559, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.001048/0.001048, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.3695/0.3695, allocations: 38.03 MB / 308.4 MB, free: 10.45 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.0006133/0.0006134, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1322, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.444/0.5762, allocations: 144 MB / 0.5643 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.5889, allocations: 8.405 MB / 0.5726 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.5911, allocations: 23.75 kB / 0.5726 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.5929, allocations: 322.5 kB / 0.5729 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005954/0.5988, allocations: 1.485 MB / 0.5743 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004341/0.6032, allocations: 1.232 MB / 0.5755 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002375/0.6056, allocations: 1.163 MB / 0.5767 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008693/0.6065, allocations: 477.9 kB / 0.5771 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003533/0.61, allocations: 1.263 MB / 0.5784 GB, free: 9.703 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003559/0.6136, allocations: 1.325 MB / 0.5797 GB, free: 8.375 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002379/0.6138, allocations: 36 kB / 0.5797 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00378/0.6176, allocations: 1.215 MB / 0.5809 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004484/0.6181, allocations: 375 kB / 0.5812 GB, free: 6.758 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003743/0.6185, allocations: 221.3 kB / 0.5814 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002249/0.6207, allocations: 1.57 MB / 0.583 GB, free: 4.969 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6208, allocations: 0 / 0.583 GB, free: 4.969 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6208, allocations: 0 / 0.583 GB, free: 4.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.6208, allocations: 0 / 0.583 GB, free: 4.969 MB / 446.1 MB 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.002668/0.6235, allocations: 1.209 MB / 0.5842 GB, free: 3.711 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.6235, allocations: 16.03 kB / 0.5842 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.6249, allocations: 298.5 kB / 0.5845 GB, free: 3.402 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.626, allocations: 0.586 MB / 0.585 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.6262, allocations: 120.7 kB / 0.5851 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.6263, allocations: 63.91 kB / 0.5852 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.6283, allocations: 1.252 MB / 0.5864 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.6283, allocations: 7.938 kB / 0.5864 GB, free: 1.254 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.6285, allocations: 35.98 kB / 0.5865 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.6286, allocations: 77.27 kB / 0.5865 GB, free: 1.145 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.6302, allocations: 1.07 MB / 0.5876 GB, free: 80 kB / 446.1 MB 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.007169/0.6374, allocations: 4.879 MB / 0.5924 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.6379, allocations: 266.7 kB / 0.5926 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.638, allocations: 125.7 kB / 0.5927 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.6381, allocations: 34.56 kB / 0.5928 GB, free: 10.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.934e-06/0.6381, allocations: 0 / 0.5928 GB, free: 10.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.006226/0.6443, allocations: 1.75 MB / 0.5945 GB, free: 8.609 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.753e-05/0.6444, allocations: 136.5 kB / 0.5946 GB, free: 8.445 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.6456, allocations: 0.931 MB / 0.5955 GB, free: 7.488 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.6457, allocations: 33.7 kB / 0.5955 GB, free: 7.449 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/0.6462, allocations: 0.5672 MB / 0.5961 GB, free: 6.871 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.6463, allocations: 130.3 kB / 0.5962 GB, free: 6.742 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.6463, allocations: 20 kB / 0.5962 GB, free: 6.723 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002532/0.6466, allocations: 398.7 kB / 0.5966 GB, free: 6.324 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.6471, allocations: 274.5 kB / 0.5969 GB, free: 6.059 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008774/0.6479, allocations: 0.8522 MB / 0.5977 GB, free: 4.922 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/0.6486, allocations: 468.1 kB / 0.5982 GB, free: 4.465 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.6486, allocations: 7.938 kB / 0.5982 GB, free: 4.457 MB / 462.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001977/0.6506, allocations: 1.228 MB / 0.5994 GB, free: 3.219 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.6506, allocations: 16 kB / 0.5994 GB, free: 3.203 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.6507, allocations: 20 kB / 0.5994 GB, free: 3.184 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.652, allocations: 288.8 kB / 0.5997 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/0.6525, allocations: 202.8 kB / 0.5999 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.6536, allocations: 0.9151 MB / 0.6008 GB, free: 1.762 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008034/0.6544, allocations: 59.92 kB / 0.6008 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.41e-05/0.6545, allocations: 67.98 kB / 0.6009 GB, free: 1.637 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0005168/0.655, allocations: 349.3 kB / 0.6012 GB, free: 1.285 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.6552, allocations: 90.88 kB / 0.6013 GB, free: 1.195 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009667/0.6561, allocations: 496.7 kB / 0.6018 GB, free: 0.707 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.6561, allocations: 4 kB / 0.6018 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.6562, allocations: 48 / 0.6018 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.6562, allocations: 7.922 kB / 0.6018 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.658, allocations: 1.121 MB / 0.6029 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.658, allocations: 0 / 0.6029 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009407/0.659, allocations: 191.8 kB / 0.6031 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.406e-05/0.6591, allocations: 20.84 kB / 0.6031 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.6591, allocations: 8 kB / 0.6031 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.6612, allocations: 2.685 MB / 0.6057 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6612, allocations: 0 / 0.6057 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.6622, allocations: 0.7126 MB / 0.6064 GB, free: 11.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003396/0.6626, allocations: 200 kB / 0.6066 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.6627, allocations: 10.94 kB / 0.6066 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.6631, allocations: 27.91 kB / 0.6066 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.6633, allocations: 27.98 kB / 0.6067 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.6633, allocations: 23.98 kB / 0.6067 GB, free: 11.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008164/0.6641, allocations: 0.6165 MB / 0.6073 GB, free: 10.67 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6641, allocations: 0 / 0.6073 GB, free: 10.67 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001603/0.6657, allocations: 419.9 kB / 0.6077 GB, free: 10.26 MB / 478.1 MB 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001969/0.6677, allocations: 0.632 MB / 0.6083 GB, free: 9.629 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.6691, allocations: 0.6719 MB / 0.609 GB, free: 8.965 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6691, allocations: 3.859 kB / 0.609 GB, free: 8.961 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009028/0.67, allocations: 377.3 kB / 0.6093 GB, free: 8.582 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.6718, allocations: 395.2 kB / 0.6097 GB, free: 8.195 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.6746, allocations: 1.882 MB / 0.6115 GB, free: 6.277 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/0.6753, allocations: 1.056 MB / 0.6126 GB, free: 5.188 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009703/0.6762, allocations: 307.8 kB / 0.6129 GB, free: 4.887 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.6764, allocations: 75.42 kB / 0.6129 GB, free: 4.816 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6764, allocations: 0 / 0.6129 GB, free: 4.816 MB / 478.1 MB Notification: Performance of Templates: time 0.2694/0.9458, allocations: 21.43 MB / 0.6339 GB, free: 156.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) Environment - environmentSimulation: