Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001155, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.009916/0.009916, allocations: 169 kB / 16.26 MB, free: 6.652 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.648/1.648, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3413/0.3413, allocations: 39.99 MB / 310.7 MB, free: 9.551 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.0006444/0.0006444, allocations: 12 kB / 379.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1313, allocations: 57.97 MB / 437.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.417/0.5483, allocations: 179.3 MB / 0.6022 GB, free: 80 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00959/0.5579, allocations: 7.1 MB / 0.6092 GB, free: 8.961 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009568/0.5589, allocations: 23.81 kB / 0.6092 GB, free: 8.938 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.5603, allocations: 394.1 kB / 0.6096 GB, free: 8.551 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005401/0.5657, allocations: 1.831 MB / 0.6113 GB, free: 6.719 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004484/0.5702, allocations: 1.537 MB / 0.6129 GB, free: 5.191 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004949/0.5752, allocations: 3.23 MB / 0.616 GB, free: 1.957 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.5768, allocations: 0.6703 MB / 0.6167 GB, free: 1.289 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005284/0.5821, allocations: 1.809 MB / 0.6184 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003591/0.5857, allocations: 1.663 MB / 0.62 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004432/0.5862, allocations: 56 kB / 0.6201 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004126/0.5903, allocations: 2.047 MB / 0.6221 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008297/0.5912, allocations: 0.6507 MB / 0.6227 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.5925, allocations: 0.7251 MB / 0.6234 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004475/0.597, allocations: 2.832 MB / 0.6262 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.597, allocations: 0 / 0.6262 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.597, allocations: 0 / 0.6262 GB, free: 7.484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.258e-05/0.5971, allocations: 0 / 0.6262 GB, free: 7.484 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003319/0.6004, allocations: 1.412 MB / 0.6276 GB, free: 6.023 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.6005, allocations: 11.97 kB / 0.6276 GB, free: 6.012 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.6021, allocations: 322.2 kB / 0.6279 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.6034, allocations: 0.7453 MB / 0.6286 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.6036, allocations: 150.2 kB / 0.6288 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.6038, allocations: 96 kB / 0.6289 GB, free: 4.656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003009/0.6068, allocations: 1.849 MB / 0.6307 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.6069, allocations: 3.906 kB / 0.6307 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.6071, allocations: 48 kB / 0.6307 GB, free: 2.691 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.6072, allocations: 93.95 kB / 0.6308 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/0.6099, allocations: 1.698 MB / 0.6325 GB, free: 0.9023 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.1972/0.807, allocations: 6.985 MB / 0.6393 GB, free: 154.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.8082, allocations: 0.8713 MB / 0.6401 GB, free: 154.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005972/0.8089, allocations: 445.2 kB / 0.6406 GB, free: 154.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.809, allocations: 144.8 kB / 0.6407 GB, free: 154.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.8091, allocations: 48.69 kB / 0.6408 GB, free: 154 MB / 494.1 MB Notification: Performance of pre-optimization done (n=60): time 2.395e-06/0.8091, allocations: 3.281 kB / 0.6408 GB, free: 154 MB / 494.1 MB Notification: Performance of matching and sorting (n=72): time 0.009755/0.8188, allocations: 4.175 MB / 0.6448 GB, free: 153.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.8189, allocations: 109.9 kB / 0.6449 GB, free: 153.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.8202, allocations: 1.109 MB / 0.646 GB, free: 152.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.8204, allocations: 44.3 kB / 0.6461 GB, free: 152.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.8206, allocations: 0.5196 MB / 0.6466 GB, free: 152.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.8208, allocations: 266.8 kB / 0.6468 GB, free: 152 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.8209, allocations: 91.94 kB / 0.6469 GB, free: 152 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.216e-05/0.821, allocations: 345.2 kB / 0.6472 GB, free: 151.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007502/0.8217, allocations: 0.5824 MB / 0.6478 GB, free: 151.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008495/0.8226, allocations: 0.8749 MB / 0.6487 GB, free: 150.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.8242, allocations: 1.451 MB / 0.6501 GB, free: 150.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.8242, allocations: 0 / 0.6501 GB, free: 150.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002665/0.8269, allocations: 2.003 MB / 0.652 GB, free: 149.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.8269, allocations: 9.938 kB / 0.652 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.8269, allocations: 14.89 kB / 0.6521 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004539/0.8315, allocations: 1.37 MB / 0.6534 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.8321, allocations: 144.8 kB / 0.6535 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.8345, allocations: 1.928 MB / 0.6554 GB, free: 148.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.8356, allocations: 108.3 kB / 0.6555 GB, free: 148.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.8357, allocations: 67.86 kB / 0.6556 GB, free: 148.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0006152/0.8364, allocations: 403.5 kB / 0.656 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.8366, allocations: 108 kB / 0.6561 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.8387, allocations: 1.397 MB / 0.6574 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.8387, allocations: 13.36 kB / 0.6575 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.8388, allocations: 3.625 kB / 0.6575 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.8388, allocations: 8.438 kB / 0.6575 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003441/0.8422, allocations: 2.694 MB / 0.6601 GB, free: 146.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.8422, allocations: 0 / 0.6601 GB, free: 146.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.844, allocations: 329.4 kB / 0.6604 GB, free: 146 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/0.8442, allocations: 63.92 kB / 0.6605 GB, free: 146 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.8443, allocations: 38.11 kB / 0.6605 GB, free: 146 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.8462, allocations: 2.846 MB / 0.6633 GB, free: 143.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.8462, allocations: 3.094 kB / 0.6633 GB, free: 143.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.8489, allocations: 1.897 MB / 0.6651 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000647/0.8495, allocations: 344 kB / 0.6655 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.8497, allocations: 28.31 kB / 0.6655 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.8509, allocations: 82.86 kB / 0.6656 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.8511, allocations: 66.27 kB / 0.6656 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/0.8512, allocations: 64.61 kB / 0.6657 GB, free: 142.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001396/0.8526, allocations: 0.797 MB / 0.6665 GB, free: 141.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8526, allocations: 0 / 0.6665 GB, free: 141.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002334/0.855, allocations: 0.5242 MB / 0.667 GB, free: 141.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * 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.002572/0.8576, allocations: 0.816 MB / 0.6678 GB, free: 141.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002776/0.8604, allocations: 1.463 MB / 0.6692 GB, free: 141.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.8604, allocations: 7.594 kB / 0.6692 GB, free: 141.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001638/0.862, allocations: 0.8619 MB / 0.6701 GB, free: 140.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003891/0.8659, allocations: 0.7232 MB / 0.6708 GB, free: 140.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005601/0.8716, allocations: 3.464 MB / 0.6742 GB, free: 138.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006747/0.8723, allocations: 1.179 MB / 0.6753 GB, free: 138 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001641/0.8739, allocations: 411.7 kB / 0.6757 GB, free: 137.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003591/0.8743, allocations: 103.3 kB / 0.6758 GB, free: 137.9 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.8743, allocations: 0 / 0.6758 GB, free: 137.9 MB / 494.1 MB Notification: Performance of Templates: time 0.05432/0.9286, allocations: 37.84 MB / 0.7127 GB, free: 111.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) Environment - environmentSimulation: