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.0008635/0.0008636, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005012/0.005012, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.437/1.437, 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.1+maint.om/package.mo): time 0.3208/0.3208, allocations: 38.04 MB / 308.8 MB, free: 10.31 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.000525/0.0005251, allocations: 16 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1268, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4162/0.5431, allocations: 179.4 MB / 0.5996 GB, free: 4.613 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.5537, allocations: 7.112 MB / 0.6065 GB, free: 13.49 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.5551, allocations: 27.75 kB / 0.6065 GB, free: 13.46 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.5567, allocations: 378.2 kB / 0.6069 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006356/0.5631, allocations: 1.828 MB / 0.6087 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004861/0.5679, allocations: 1.504 MB / 0.6102 GB, free: 9.773 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003983/0.5719, allocations: 3.124 MB / 0.6132 GB, free: 6.648 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009731/0.5729, allocations: 484.5 kB / 0.6137 GB, free: 6.176 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004502/0.5774, allocations: 1.779 MB / 0.6154 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/0.5807, allocations: 1.527 MB / 0.6169 GB, free: 2.863 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003165/0.5811, allocations: 36 kB / 0.6169 GB, free: 2.828 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00418/0.5853, allocations: 2.01 MB / 0.6189 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006439/0.5859, allocations: 414.8 kB / 0.6193 GB, free: 420 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.587, allocations: 0.5384 MB / 0.6198 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004411/0.5914, allocations: 2.306 MB / 0.6221 GB, free: 13.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5914, allocations: 0 / 0.6221 GB, free: 13.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5915, allocations: 0 / 0.6221 GB, free: 13.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.072e-05/0.5915, allocations: 0 / 0.6221 GB, free: 13.55 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.002889/0.5944, allocations: 1.213 MB / 0.6233 GB, free: 12.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.5945, allocations: 12.03 kB / 0.6233 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.596, allocations: 290.5 kB / 0.6235 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.5971, allocations: 0.6052 MB / 0.6241 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.5972, allocations: 116.6 kB / 0.6243 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.5974, allocations: 71.89 kB / 0.6243 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.5994, allocations: 1.263 MB / 0.6256 GB, free: 9.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.5995, allocations: 3.938 kB / 0.6256 GB, free: 9.816 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.5996, allocations: 39.98 kB / 0.6256 GB, free: 9.777 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.923e-05/0.5997, allocations: 85.2 kB / 0.6257 GB, free: 9.695 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.6013, allocations: 1.049 MB / 0.6267 GB, free: 8.648 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.006219/0.6075, allocations: 4.916 MB / 0.6315 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.6081, allocations: 302.5 kB / 0.6318 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.6084, allocations: 144.8 kB / 0.6319 GB, free: 2.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.6086, allocations: 139 kB / 0.6321 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.6086, allocations: 35.03 kB / 0.6321 GB, free: 2.781 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 2.865e-06/0.6086, allocations: 4 kB / 0.6321 GB, free: 2.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.006686/0.6153, allocations: 1.742 MB / 0.6338 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/0.6154, allocations: 140.5 kB / 0.6339 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2249/0.8404, allocations: 0.9324 MB / 0.6348 GB, free: 159.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.8405, allocations: 35.17 kB / 0.6349 GB, free: 159.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004903/0.841, allocations: 0.5668 MB / 0.6354 GB, free: 159.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.8412, allocations: 128.8 kB / 0.6356 GB, free: 159.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.8414, allocations: 90.98 kB / 0.6356 GB, free: 159.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.8415, allocations: 405.2 kB / 0.636 GB, free: 159.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/0.842, allocations: 274 kB / 0.6363 GB, free: 159.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/0.8426, allocations: 0.8693 MB / 0.6371 GB, free: 158.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.8437, allocations: 1.184 MB / 0.6383 GB, free: 157.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.8437, allocations: 6.406 kB / 0.6383 GB, free: 157.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001652/0.8454, allocations: 1.235 MB / 0.6395 GB, free: 157.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.8454, allocations: 13.41 kB / 0.6395 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/0.8455, allocations: 18.75 kB / 0.6395 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.8467, allocations: 290.4 kB / 0.6398 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/0.8472, allocations: 204.4 kB / 0.64 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.8482, allocations: 0.9124 MB / 0.6409 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008032/0.849, allocations: 56.69 kB / 0.641 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.8491, allocations: 72.23 kB / 0.641 GB, free: 157 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.0003873/0.8495, allocations: 352 kB / 0.6414 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.8496, allocations: 87.81 kB / 0.6414 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008165/0.8504, allocations: 490.7 kB / 0.6419 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.8504, allocations: 3.344 kB / 0.6419 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8504, allocations: 0 / 0.6419 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.8505, allocations: 0 / 0.6419 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.8519, allocations: 1.117 MB / 0.643 GB, free: 156.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.8519, allocations: 7.25 kB / 0.643 GB, free: 156.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008801/0.8528, allocations: 185.1 kB / 0.6432 GB, free: 156.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.156e-05/0.8529, allocations: 25.27 kB / 0.6432 GB, free: 156.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.8529, allocations: 7.562 kB / 0.6432 GB, free: 156.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.8544, allocations: 2.687 MB / 0.6458 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8545, allocations: 7.125 kB / 0.6458 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008162/0.8553, allocations: 0.6972 MB / 0.6465 GB, free: 153.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.8555, allocations: 208.3 kB / 0.6467 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.96e-05/0.8556, allocations: 11.34 kB / 0.6467 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.856, allocations: 28.75 kB / 0.6468 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/0.8561, allocations: 27.17 kB / 0.6468 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.8562, allocations: 19.95 kB / 0.6468 GB, free: 153.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006018/0.8568, allocations: 0.6236 MB / 0.6474 GB, free: 153 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8568, allocations: 0 / 0.6474 GB, free: 153 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00134/0.8581, allocations: 432.5 kB / 0.6478 GB, free: 153 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.00209/0.8602, allocations: 0.7637 MB / 0.6486 GB, free: 152.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.8612, allocations: 0.6752 MB / 0.6492 GB, free: 152.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8613, allocations: 0 / 0.6492 GB, free: 152.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007526/0.862, allocations: 373.8 kB / 0.6496 GB, free: 152.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.8638, allocations: 400.6 kB / 0.65 GB, free: 152.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.8659, allocations: 1.996 MB / 0.6519 GB, free: 151.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.8663, allocations: 1.03 MB / 0.6529 GB, free: 150.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008607/0.8671, allocations: 315.2 kB / 0.6532 GB, free: 150.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.8673, allocations: 72.16 kB / 0.6533 GB, free: 150.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.8673, allocations: 0 / 0.6533 GB, free: 150.5 MB / 494.1 MB Notification: Performance of Templates: time 0.03253/0.8998, allocations: 21.32 MB / 0.6741 GB, free: 147.1 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: