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.001461/0.001461, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001809, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.45/1.45, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.3085/0.3085, allocations: 39.93 MB / 309.7 MB, free: 9.25 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.001659, allocations: 71.89 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1281, allocations: 56.88 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5089/0.637, allocations: 183.2 MB / 0.6033 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.6489, allocations: 6.978 MB / 0.6101 GB, free: 5.309 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.6502, allocations: 19.88 kB / 0.6101 GB, free: 5.289 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.6516, allocations: 425.6 kB / 0.6105 GB, free: 4.871 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006371/0.658, allocations: 2.003 MB / 0.6125 GB, free: 2.867 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005295/0.6633, allocations: 1.667 MB / 0.6141 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003214/0.6665, allocations: 2.118 MB / 0.6162 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008151/0.6673, allocations: 0.5368 MB / 0.6167 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004801/0.6721, allocations: 1.888 MB / 0.6185 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002939/0.6751, allocations: 1.46 MB / 0.6199 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002372/0.6754, allocations: 76 kB / 0.62 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00399/0.6794, allocations: 1.587 MB / 0.6216 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006287/0.68, allocations: 454.8 kB / 0.622 GB, free: 9.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000831/0.6809, allocations: 0.5523 MB / 0.6225 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004849/0.6857, allocations: 2.209 MB / 0.6247 GB, free: 6.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.6858, allocations: 0 / 0.6247 GB, free: 6.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6858, allocations: 0 / 0.6247 GB, free: 6.324 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.405e-05/0.6858, allocations: 0 / 0.6247 GB, free: 6.324 MB / 494.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.003732/0.6896, allocations: 1.423 MB / 0.6261 GB, free: 4.852 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.81e-05/0.6897, allocations: 11.89 kB / 0.6261 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.6912, allocations: 282.5 kB / 0.6264 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.6926, allocations: 0.6053 MB / 0.627 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.6927, allocations: 120.6 kB / 0.6271 GB, free: 3.789 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.6929, allocations: 67.91 kB / 0.6271 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.6949, allocations: 1.263 MB / 0.6284 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.6949, allocations: 4 kB / 0.6284 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.695, allocations: 31.98 kB / 0.6284 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/0.6952, allocations: 85.2 kB / 0.6285 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.6968, allocations: 1.052 MB / 0.6295 GB, free: 1.219 MB / 494.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.2829/0.9797, allocations: 4.975 MB / 0.6344 GB, free: 159.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.9802, allocations: 308.3 kB / 0.6347 GB, free: 159.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.9804, allocations: 146.5 kB / 0.6348 GB, free: 159.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.9806, allocations: 132.9 kB / 0.6349 GB, free: 159.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.9806, allocations: 43.03 kB / 0.635 GB, free: 159.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 2.415e-06/0.9806, allocations: 0 / 0.635 GB, free: 159.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.006031/0.9867, allocations: 1.82 MB / 0.6368 GB, free: 158.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.9867, allocations: 144.6 kB / 0.6369 GB, free: 158.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009562/0.9877, allocations: 0.9348 MB / 0.6378 GB, free: 158 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.9877, allocations: 32.92 kB / 0.6378 GB, free: 158 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.9881, allocations: 0.57 MB / 0.6384 GB, free: 157.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.457e-05/0.9882, allocations: 131.5 kB / 0.6385 GB, free: 157.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.9884, allocations: 214.8 kB / 0.6387 GB, free: 157.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.9885, allocations: 399.4 kB / 0.6391 GB, free: 157 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.9889, allocations: 278.8 kB / 0.6394 GB, free: 156.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.9895, allocations: 0.8595 MB / 0.6402 GB, free: 156.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.9906, allocations: 1.179 MB / 0.6414 GB, free: 155.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.9906, allocations: 6.812 kB / 0.6414 GB, free: 155.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001647/0.9922, allocations: 1.234 MB / 0.6426 GB, free: 154.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.9923, allocations: 16.12 kB / 0.6426 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.9923, allocations: 20.91 kB / 0.6426 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.9935, allocations: 285.9 kB / 0.6429 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/0.9941, allocations: 210.3 kB / 0.6431 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008239/0.9949, allocations: 0.903 MB / 0.644 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007024/0.9956, allocations: 48.44 kB / 0.644 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-05/0.9957, allocations: 72.78 kB / 0.6441 GB, free: 153.9 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 (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.0003943/0.9961, allocations: 351.3 kB / 0.6444 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.9962, allocations: 93.16 kB / 0.6445 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008364/0.9971, allocations: 479.2 kB / 0.645 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.9971, allocations: 9.344 kB / 0.645 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9971, allocations: 0 / 0.645 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.9971, allocations: 3.375 kB / 0.645 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.9987, allocations: 1.131 MB / 0.6461 GB, free: 152.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.9988, allocations: 0 / 0.6461 GB, free: 152.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000922/0.9997, allocations: 179.3 kB / 0.6462 GB, free: 152.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.763e-05/0.9998, allocations: 29.52 kB / 0.6463 GB, free: 152.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.9998, allocations: 10.23 kB / 0.6463 GB, free: 152.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/1.001, allocations: 2.874 MB / 0.6491 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.001, allocations: 3.062 kB / 0.6491 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/1.003, allocations: 0.7058 MB / 0.6498 GB, free: 149.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/1.003, allocations: 188.9 kB / 0.65 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/1.003, allocations: 11.34 kB / 0.65 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004225/1.003, allocations: 20.78 kB / 0.65 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/1.004, allocations: 27.11 kB / 0.65 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/1.004, allocations: 16.09 kB / 0.65 GB, free: 149.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006896/1.004, allocations: 0.6243 MB / 0.6506 GB, free: 149.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.004, allocations: 0 / 0.6506 GB, free: 149.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00152/1.006, allocations: 430.3 kB / 0.6511 GB, free: 149 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 (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.001999/1.008, allocations: 0.7541 MB / 0.6518 GB, free: 148.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/1.009, allocations: 0.7238 MB / 0.6525 GB, free: 148.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.009, allocations: 3.094 kB / 0.6525 GB, free: 148.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008417/1.01, allocations: 373.6 kB / 0.6529 GB, free: 148.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/1.012, allocations: 437 kB / 0.6533 GB, free: 148.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/1.014, allocations: 1.625 MB / 0.6549 GB, free: 147.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/1.015, allocations: 1.023 MB / 0.6559 GB, free: 146.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009081/1.016, allocations: 318.6 kB / 0.6562 GB, free: 146.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/1.016, allocations: 78.23 kB / 0.6562 GB, free: 146.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.253e-06/1.016, allocations: 0 / 0.6562 GB, free: 146.7 MB / 494.1 MB Notification: Performance of Templates: time 0.04591/1.062, allocations: 22.07 MB / 0.6778 GB, free: 141.6 MB / 494.1 MB 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)