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.001082/0.001082, allocations: 99.78 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.0009048/0.0009049, allocations: 177.3 kB / 15.94 MB, free: 220 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.443/1.443, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.4228/0.4228, allocations: 39.99 MB / 310.4 MB, free: 9.969 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.0005407/0.0005408, allocations: 20 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1267, allocations: 57.95 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3693/0.496, allocations: 144 MB / 0.5671 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.5072, allocations: 8.412 MB / 0.5753 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.5083, allocations: 23.81 kB / 0.5754 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000927/0.5092, allocations: 310.4 kB / 0.5757 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004585/0.5138, allocations: 1.499 MB / 0.5771 GB, free: 9.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.5176, allocations: 1.225 MB / 0.5783 GB, free: 8.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.5196, allocations: 1.165 MB / 0.5795 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007616/0.5204, allocations: 465.5 kB / 0.5799 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003472/0.5238, allocations: 1.267 MB / 0.5811 GB, free: 5.309 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003419/0.5273, allocations: 1.325 MB / 0.5824 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.5275, allocations: 40 kB / 0.5825 GB, free: 3.941 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.5303, allocations: 1.209 MB / 0.5836 GB, free: 2.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003927/0.5307, allocations: 371.1 kB / 0.584 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002872/0.531, allocations: 233.2 kB / 0.5842 GB, free: 2.133 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.533, allocations: 1.551 MB / 0.5857 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.533, allocations: 0 / 0.5857 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.533, allocations: 0 / 0.5857 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.533, allocations: 0 / 0.5857 GB, free: 0.5859 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.002508/0.5356, allocations: 1.224 MB / 0.5869 GB, free: 15.31 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.5356, allocations: 8.031 kB / 0.5869 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.537, allocations: 298.6 kB / 0.5872 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.5381, allocations: 0.5938 MB / 0.5878 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.5382, allocations: 112.7 kB / 0.5879 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.5384, allocations: 67.92 kB / 0.588 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.5402, allocations: 1.261 MB / 0.5892 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.5402, allocations: 0 / 0.5892 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.5403, allocations: 39.98 kB / 0.5892 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.07e-05/0.5404, allocations: 77.27 kB / 0.5893 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.542, allocations: 1.071 MB / 0.5904 GB, free: 11.68 MB / 462.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.006355/0.5484, allocations: 4.871 MB / 0.5951 GB, free: 6.512 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.5488, allocations: 270.6 kB / 0.5954 GB, free: 6.238 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.549, allocations: 121.7 kB / 0.5955 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.549, allocations: 42.56 kB / 0.5955 GB, free: 6.051 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.625e-06/0.549, allocations: 0 / 0.5955 GB, free: 6.051 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.006322/0.5554, allocations: 1.747 MB / 0.5972 GB, free: 4.219 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.5555, allocations: 132.5 kB / 0.5974 GB, free: 4.059 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.5566, allocations: 0.931 MB / 0.5983 GB, free: 3.102 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/0.5566, allocations: 29.7 kB / 0.5983 GB, free: 3.066 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.557, allocations: 0.5672 MB / 0.5989 GB, free: 2.488 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.711e-05/0.5571, allocations: 134.3 kB / 0.599 GB, free: 2.355 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.5571, allocations: 20 kB / 0.599 GB, free: 2.336 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.5573, allocations: 402.7 kB / 0.5994 GB, free: 1.934 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/0.5577, allocations: 274.4 kB / 0.5997 GB, free: 1.668 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007231/0.5585, allocations: 0.8561 MB / 0.6005 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.5591, allocations: 455.3 kB / 0.6009 GB, free: 84 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.5591, allocations: 12 kB / 0.6009 GB, free: 72 kB / 462.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001762/0.5608, allocations: 1.228 MB / 0.6021 GB, free: 14.83 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.5609, allocations: 12.97 kB / 0.6021 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.5609, allocations: 20.7 kB / 0.6022 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.5622, allocations: 290.6 kB / 0.6024 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.5627, allocations: 207.6 kB / 0.6026 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009741/0.5637, allocations: 0.9099 MB / 0.6035 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007864/0.5645, allocations: 63.97 kB / 0.6036 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.352e-05/0.5646, allocations: 68 kB / 0.6037 GB, free: 13.25 MB / 478.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.0004465/0.5651, allocations: 337.6 kB / 0.604 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.5652, allocations: 98.88 kB / 0.6041 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000888/0.5661, allocations: 492.3 kB / 0.6045 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.5661, allocations: 4 kB / 0.6045 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.5661, allocations: 7.109 kB / 0.6046 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5661, allocations: 0 / 0.6046 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.5679, allocations: 1.129 MB / 0.6057 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.5679, allocations: 4 kB / 0.6057 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009902/0.5689, allocations: 175.8 kB / 0.6058 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.733e-05/0.569, allocations: 28.81 kB / 0.6059 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.569, allocations: 11.98 kB / 0.6059 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.5709, allocations: 2.688 MB / 0.6085 GB, free: 7.949 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5709, allocations: 1.562 kB / 0.6085 GB, free: 7.949 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.572, allocations: 0.7046 MB / 0.6092 GB, free: 7.215 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.5723, allocations: 207.9 kB / 0.6094 GB, free: 6.992 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.5725, allocations: 8.25 kB / 0.6094 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/0.5729, allocations: 31.88 kB / 0.6094 GB, free: 6.953 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/0.573, allocations: 23.97 kB / 0.6094 GB, free: 6.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.5731, allocations: 23.98 kB / 0.6095 GB, free: 6.906 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007875/0.5738, allocations: 0.6165 MB / 0.6101 GB, free: 6.277 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5739, allocations: 0 / 0.6101 GB, free: 6.277 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00154/0.5754, allocations: 427.9 kB / 0.6105 GB, free: 5.859 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.001839/0.5773, allocations: 0.6309 MB / 0.6111 GB, free: 5.234 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.5786, allocations: 0.6694 MB / 0.6117 GB, free: 4.574 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.5786, allocations: 4 kB / 0.6117 GB, free: 4.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008892/0.5795, allocations: 367.5 kB / 0.6121 GB, free: 4.199 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.5814, allocations: 403 kB / 0.6125 GB, free: 3.805 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.5838, allocations: 1.889 MB / 0.6143 GB, free: 1.883 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/0.5844, allocations: 1.044 MB / 0.6153 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009712/0.5853, allocations: 319.4 kB / 0.6157 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.5855, allocations: 63.44 kB / 0.6157 GB, free: 444 kB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5855, allocations: 8 kB / 0.6157 GB, free: 436 kB / 478.1 MB Notification: Performance of Templates: time 0.1989/0.7845, allocations: 21.41 MB / 0.6366 GB, free: 153.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: