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.0009012/0.0009011, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0008425/0.0008425, allocations: 168.7 kB / 15.95 MB, free: 204 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.517/1.517, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.3544/0.3544, allocations: 38.03 MB / 308.4 MB, free: 10.39 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.0005717/0.0005717, allocations: 20 kB / 376.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1228, allocations: 57.51 MB / 434 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4036/0.5265, allocations: 167.1 MB / 0.587 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008944/0.5355, allocations: 6.619 MB / 0.5935 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009395/0.5365, allocations: 31.69 kB / 0.5935 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009201/0.5374, allocations: 298.2 kB / 0.5938 GB, free: 10.4 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003985/0.5414, allocations: 1.612 MB / 0.5954 GB, free: 8.789 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003309/0.5447, allocations: 1.216 MB / 0.5966 GB, free: 7.582 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003009/0.5478, allocations: 2.543 MB / 0.599 GB, free: 5.035 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009652/0.5487, allocations: 473.6 kB / 0.5995 GB, free: 4.574 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004717/0.5535, allocations: 1.694 MB / 0.6012 GB, free: 2.879 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003142/0.5566, allocations: 1.539 MB / 0.6027 GB, free: 1.336 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.5568, allocations: 40 kB / 0.6027 GB, free: 1.297 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.5599, allocations: 1.429 MB / 0.6041 GB, free: 15.87 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005454/0.5605, allocations: 418.9 kB / 0.6045 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004128/0.5609, allocations: 233.2 kB / 0.6047 GB, free: 15.23 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.5629, allocations: 1.617 MB / 0.6063 GB, free: 13.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.5629, allocations: 0 / 0.6063 GB, free: 13.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5629, allocations: 0 / 0.6063 GB, free: 13.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.563, allocations: 4 kB / 0.6063 GB, free: 13.6 MB / 478.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.002689/0.5657, allocations: 1.213 MB / 0.6075 GB, free: 12.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.5657, allocations: 12.03 kB / 0.6075 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.567, allocations: 286 kB / 0.6078 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009298/0.5679, allocations: 0.59 MB / 0.6083 GB, free: 11.42 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.5681, allocations: 116.7 kB / 0.6084 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.5682, allocations: 67.91 kB / 0.6085 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.5703, allocations: 1.259 MB / 0.6097 GB, free: 9.898 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.5704, allocations: 3.938 kB / 0.6097 GB, free: 9.895 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.5705, allocations: 35.98 kB / 0.6098 GB, free: 9.859 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/0.5706, allocations: 85.27 kB / 0.6099 GB, free: 9.777 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.5724, allocations: 1.055 MB / 0.6109 GB, free: 8.723 MB / 478.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.006241/0.5787, allocations: 4.896 MB / 0.6157 GB, free: 3.527 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.5792, allocations: 290.6 kB / 0.616 GB, free: 3.234 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.5794, allocations: 136.8 kB / 0.6161 GB, free: 3.098 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.5796, allocations: 143.1 kB / 0.6162 GB, free: 2.938 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.5796, allocations: 42.97 kB / 0.6163 GB, free: 2.887 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 1.834e-06/0.5796, allocations: 0 / 0.6163 GB, free: 2.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.005106/0.5847, allocations: 1.744 MB / 0.618 GB, free: 1.062 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.274e-05/0.5848, allocations: 132.5 kB / 0.6181 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.586, allocations: 0.9349 MB / 0.619 GB, free: 15.94 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.586, allocations: 33.7 kB / 0.619 GB, free: 15.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.5865, allocations: 0.5633 MB / 0.6196 GB, free: 15.33 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.5866, allocations: 130.3 kB / 0.6197 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.5866, allocations: 20 kB / 0.6197 GB, free: 15.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.5868, allocations: 402.7 kB / 0.6201 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.5873, allocations: 270.4 kB / 0.6204 GB, free: 14.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008498/0.5881, allocations: 0.8639 MB / 0.6212 GB, free: 13.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000629/0.5888, allocations: 460.1 kB / 0.6217 GB, free: 12.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.5888, allocations: 8 kB / 0.6217 GB, free: 12.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001834/0.5906, allocations: 1.22 MB / 0.6229 GB, free: 11.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.5907, allocations: 12 kB / 0.6229 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.5907, allocations: 20 kB / 0.6229 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.5918, allocations: 293.2 kB / 0.6232 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005146/0.5923, allocations: 212.4 kB / 0.6234 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009789/0.5933, allocations: 0.9073 MB / 0.6242 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006936/0.594, allocations: 67.97 kB / 0.6243 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.104e-05/0.5941, allocations: 68 kB / 0.6244 GB, free: 10.09 MB / 494.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.0004189/0.5946, allocations: 349.2 kB / 0.6247 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.5947, allocations: 94.83 kB / 0.6248 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008751/0.5956, allocations: 477.4 kB / 0.6253 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5956, allocations: 4 kB / 0.6253 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5956, allocations: 0 / 0.6253 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5956, allocations: 6.734 kB / 0.6253 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.5972, allocations: 1.125 MB / 0.6264 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5973, allocations: 3.938 kB / 0.6264 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/0.5981, allocations: 175.8 kB / 0.6265 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.948e-05/0.5982, allocations: 24.84 kB / 0.6266 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.5983, allocations: 15.97 kB / 0.6266 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.6001, allocations: 2.687 MB / 0.6292 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6001, allocations: 0 / 0.6292 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.6011, allocations: 0.6914 MB / 0.6299 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/0.6014, allocations: 204 kB / 0.6301 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.6016, allocations: 11.95 kB / 0.6301 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.602, allocations: 35.89 kB / 0.6301 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.6021, allocations: 19.97 kB / 0.6301 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.6021, allocations: 19.98 kB / 0.6302 GB, free: 3.781 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007955/0.6029, allocations: 0.6204 MB / 0.6308 GB, free: 3.148 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6029, allocations: 0 / 0.6308 GB, free: 3.148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001549/0.6045, allocations: 427.9 kB / 0.6312 GB, free: 2.73 MB / 494.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.001828/0.6063, allocations: 0.6333 MB / 0.6318 GB, free: 2.094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.6077, allocations: 0.668 MB / 0.6324 GB, free: 1.434 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6077, allocations: 0 / 0.6324 GB, free: 1.434 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009545/0.6086, allocations: 373.3 kB / 0.6328 GB, free: 1.059 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.6104, allocations: 403.3 kB / 0.6332 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2165/0.827, allocations: 1.883 MB / 0.635 GB, free: 156.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.8274, allocations: 1.033 MB / 0.636 GB, free: 155.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001021/0.8285, allocations: 311 kB / 0.6363 GB, free: 155.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.8286, allocations: 76.23 kB / 0.6364 GB, free: 155.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.8286, allocations: 0 / 0.6364 GB, free: 155.6 MB / 494.1 MB Notification: Performance of Templates: time 0.02954/0.8582, allocations: 20.86 MB / 0.6568 GB, free: 154.3 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: