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.001141/0.001141, allocations: 108 kB / 15.61 MB, free: 152 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.001317/0.001317, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.411/1.411, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.3185/0.3185, allocations: 37.99 MB / 307.8 MB, free: 9.965 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.001524/0.001524, allocations: 76.45 kB / 375.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1299, allocations: 56.46 MB / 431.7 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5224/0.6523, allocations: 183.2 MB / 0.6005 GB, free: 404 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.6627, allocations: 6.971 MB / 0.6073 GB, free: 9.406 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.6639, allocations: 19.88 kB / 0.6074 GB, free: 9.387 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.6654, allocations: 425.6 kB / 0.6078 GB, free: 8.969 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006117/0.6716, allocations: 2.009 MB / 0.6097 GB, free: 6.961 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004884/0.6765, allocations: 1.678 MB / 0.6114 GB, free: 5.297 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003283/0.6798, allocations: 2.11 MB / 0.6134 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.6808, allocations: 0.5369 MB / 0.614 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/0.6856, allocations: 1.884 MB / 0.6158 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/0.6883, allocations: 1.472 MB / 0.6172 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.6885, allocations: 80 kB / 0.6173 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004265/0.6928, allocations: 1.575 MB / 0.6188 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005093/0.6933, allocations: 454.8 kB / 0.6193 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008216/0.6941, allocations: 0.5562 MB / 0.6198 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00404/0.6982, allocations: 2.205 MB / 0.622 GB, free: 10.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.6982, allocations: 0 / 0.622 GB, free: 10.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6982, allocations: 4 kB / 0.622 GB, free: 10.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.6982, allocations: 0 / 0.622 GB, free: 10.41 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.003299/0.7015, allocations: 1.428 MB / 0.6234 GB, free: 8.941 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/0.7016, allocations: 15.89 kB / 0.6234 GB, free: 8.926 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.7031, allocations: 274.5 kB / 0.6236 GB, free: 8.656 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.7042, allocations: 0.6053 MB / 0.6242 GB, free: 8.012 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.7043, allocations: 120.6 kB / 0.6244 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.7045, allocations: 64 kB / 0.6244 GB, free: 7.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/0.7068, allocations: 1.263 MB / 0.6256 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.7069, allocations: 0 / 0.6256 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.707, allocations: 35.98 kB / 0.6257 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/0.7071, allocations: 85.2 kB / 0.6258 GB, free: 6.367 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.709, allocations: 1.043 MB / 0.6268 GB, free: 5.324 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.007252/0.7162, allocations: 4.991 MB / 0.6317 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.291/1.007, allocations: 304.2 kB / 0.6319 GB, free: 164 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/1.007, allocations: 144.5 kB / 0.6321 GB, free: 164 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001863/1.008, allocations: 143.6 kB / 0.6322 GB, free: 163.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/1.008, allocations: 39.53 kB / 0.6323 GB, free: 163.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 2.304e-06/1.008, allocations: 0 / 0.6323 GB, free: 163.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.006198/1.014, allocations: 1.816 MB / 0.634 GB, free: 163.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/1.014, allocations: 133.8 kB / 0.6342 GB, free: 163.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/1.015, allocations: 0.9348 MB / 0.6351 GB, free: 163 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/1.015, allocations: 36.55 kB / 0.6351 GB, free: 162.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/1.015, allocations: 0.5685 MB / 0.6357 GB, free: 162.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-05/1.016, allocations: 133.6 kB / 0.6358 GB, free: 162.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/1.016, allocations: 219.5 kB / 0.636 GB, free: 162.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/1.016, allocations: 403.8 kB / 0.6364 GB, free: 162 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/1.016, allocations: 268.4 kB / 0.6366 GB, free: 161.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006154/1.017, allocations: 0.8665 MB / 0.6375 GB, free: 161.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/1.018, allocations: 1.178 MB / 0.6386 GB, free: 160.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/1.018, allocations: 6.312 kB / 0.6386 GB, free: 160.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001627/1.02, allocations: 1.234 MB / 0.6398 GB, free: 159.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/1.02, allocations: 13.16 kB / 0.6399 GB, free: 159.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/1.02, allocations: 19.81 kB / 0.6399 GB, free: 159.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/1.021, allocations: 288.3 kB / 0.6402 GB, free: 159.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/1.021, allocations: 202.6 kB / 0.6403 GB, free: 159.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008351/1.022, allocations: 0.9172 MB / 0.6412 GB, free: 158.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/1.023, allocations: 45.31 kB / 0.6413 GB, free: 158.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.849e-05/1.023, allocations: 65.59 kB / 0.6414 GB, free: 158.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.0003757/1.023, allocations: 343.2 kB / 0.6417 GB, free: 158.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/1.023, allocations: 95.44 kB / 0.6418 GB, free: 158.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008981/1.024, allocations: 483.4 kB / 0.6422 GB, free: 158.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.024, allocations: 3.031 kB / 0.6422 GB, free: 158.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.024, allocations: 3.422 kB / 0.6422 GB, free: 158.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/1.024, allocations: 2.344 kB / 0.6422 GB, free: 158.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/1.026, allocations: 1.124 MB / 0.6433 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.026, allocations: 2.906 kB / 0.6433 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000901/1.027, allocations: 180 kB / 0.6435 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.573e-05/1.027, allocations: 25.67 kB / 0.6435 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/1.027, allocations: 13.56 kB / 0.6435 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/1.028, allocations: 2.88 MB / 0.6464 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.029, allocations: 6.438 kB / 0.6464 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008844/1.029, allocations: 0.6967 MB / 0.647 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/1.03, allocations: 196.9 kB / 0.6472 GB, free: 154.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/1.03, allocations: 7.094 kB / 0.6472 GB, free: 154.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/1.03, allocations: 19.02 kB / 0.6473 GB, free: 154.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/1.03, allocations: 26.45 kB / 0.6473 GB, free: 154.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/1.03, allocations: 20.33 kB / 0.6473 GB, free: 154.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006589/1.031, allocations: 0.6234 MB / 0.6479 GB, free: 154.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.031, allocations: 1.594 kB / 0.6479 GB, free: 154.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001429/1.032, allocations: 430.4 kB / 0.6483 GB, free: 154 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.002057/1.034, allocations: 0.7611 MB / 0.6491 GB, free: 153.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/1.036, allocations: 0.7208 MB / 0.6498 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.036, allocations: 4.062 kB / 0.6498 GB, free: 153.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008715/1.037, allocations: 378.3 kB / 0.6501 GB, free: 153.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/1.038, allocations: 439.5 kB / 0.6506 GB, free: 153.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/1.041, allocations: 1.613 MB / 0.6521 GB, free: 152.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/1.041, allocations: 1.035 MB / 0.6531 GB, free: 151.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008755/1.042, allocations: 314.3 kB / 0.6534 GB, free: 151.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/1.043, allocations: 67.91 kB / 0.6535 GB, free: 151.7 MB / 494.1 MB Notification: Performance of SimCode: time 4.8e-07/1.043, allocations: 0 / 0.6535 GB, free: 151.7 MB / 494.1 MB Notification: Performance of Templates: time 0.03712/1.08, allocations: 22.08 MB / 0.6751 GB, free: 147.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (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)