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.0011/0.0011, 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.008418/0.008418, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.453/1.453, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.3331/0.3331, allocations: 40 MB / 310.7 MB, free: 9.906 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.000603/0.0006031, allocations: 20.42 kB / 379.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1353, allocations: 57.96 MB / 437.4 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.465/0.6004, allocations: 179.4 MB / 0.6024 GB, free: 176 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009514/0.6099, allocations: 7.109 MB / 0.6093 GB, free: 9.047 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.6115, allocations: 27.75 kB / 0.6093 GB, free: 9.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.6131, allocations: 366.2 kB / 0.6097 GB, free: 8.66 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00559/0.6187, allocations: 1.829 MB / 0.6115 GB, free: 6.832 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004329/0.623, allocations: 1.515 MB / 0.613 GB, free: 5.328 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003879/0.6269, allocations: 3.117 MB / 0.616 GB, free: 2.207 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007714/0.6277, allocations: 482.2 kB / 0.6165 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004156/0.6318, allocations: 1.773 MB / 0.6182 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/0.6346, allocations: 1.531 MB / 0.6197 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.6347, allocations: 36 kB / 0.6197 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003828/0.6385, allocations: 2.015 MB / 0.6217 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004206/0.639, allocations: 414.8 kB / 0.6221 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005737/0.6395, allocations: 0.5345 MB / 0.6226 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003103/0.6427, allocations: 2.298 MB / 0.6248 GB, free: 9.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6427, allocations: 4 kB / 0.6248 GB, free: 9.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.6427, allocations: 0 / 0.6248 GB, free: 9.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.6427, allocations: 0 / 0.6248 GB, free: 9.121 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.002609/0.6453, allocations: 1.217 MB / 0.626 GB, free: 7.855 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.6454, allocations: 12.03 kB / 0.626 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.6467, allocations: 290.6 kB / 0.6263 GB, free: 7.559 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009129/0.6476, allocations: 0.609 MB / 0.6269 GB, free: 6.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.6478, allocations: 112.7 kB / 0.627 GB, free: 6.789 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.6479, allocations: 67.98 kB / 0.6271 GB, free: 6.723 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.6498, allocations: 1.272 MB / 0.6283 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.6498, allocations: 0 / 0.6283 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.6499, allocations: 32 kB / 0.6284 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.6501, allocations: 81.2 kB / 0.6284 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.6516, allocations: 1.051 MB / 0.6295 GB, free: 4.223 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.2938/0.9454, allocations: 4.909 MB / 0.6343 GB, free: 156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005157/0.9459, allocations: 309.6 kB / 0.6346 GB, free: 156 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.9462, allocations: 148.8 kB / 0.6347 GB, free: 156 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.9464, allocations: 129 kB / 0.6348 GB, free: 155.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.9464, allocations: 43.38 kB / 0.6349 GB, free: 155.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 3.116e-06/0.9464, allocations: 1.125 kB / 0.6349 GB, free: 155.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.005852/0.9523, allocations: 1.756 MB / 0.6366 GB, free: 155.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.9524, allocations: 131.4 kB / 0.6367 GB, free: 155.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.9535, allocations: 0.9359 MB / 0.6376 GB, free: 154.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.9536, allocations: 35.58 kB / 0.6377 GB, free: 154.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.9539, allocations: 0.5642 MB / 0.6382 GB, free: 154.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.986e-05/0.954, allocations: 136.7 kB / 0.6383 GB, free: 154.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.9541, allocations: 92.03 kB / 0.6384 GB, free: 154.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.9542, allocations: 398.8 kB / 0.6388 GB, free: 154.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.9546, allocations: 272.5 kB / 0.6391 GB, free: 154.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/0.9552, allocations: 0.8685 MB / 0.6399 GB, free: 153.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.9565, allocations: 1.178 MB / 0.6411 GB, free: 152.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.9565, allocations: 6.438 kB / 0.6411 GB, free: 152.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001735/0.9583, allocations: 1.237 MB / 0.6423 GB, free: 152.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.9583, allocations: 12.88 kB / 0.6423 GB, free: 152.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.9583, allocations: 22.66 kB / 0.6423 GB, free: 152.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.9597, allocations: 288.3 kB / 0.6426 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000561/0.9602, allocations: 200.2 kB / 0.6428 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.9614, allocations: 0.9179 MB / 0.6437 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009466/0.9624, allocations: 64.38 kB / 0.6437 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.9625, allocations: 65.41 kB / 0.6438 GB, free: 151.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.0005113/0.963, allocations: 350.2 kB / 0.6441 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.9632, allocations: 91.12 kB / 0.6442 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009445/0.9641, allocations: 488.7 kB / 0.6447 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.9642, allocations: 6.812 kB / 0.6447 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.9642, allocations: 3.188 kB / 0.6447 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.9642, allocations: 0 / 0.6447 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.9657, allocations: 1.114 MB / 0.6458 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.9658, allocations: 3.234 kB / 0.6458 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008763/0.9666, allocations: 190.2 kB / 0.646 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.207e-05/0.9667, allocations: 25.2 kB / 0.646 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.9668, allocations: 7.094 kB / 0.646 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.9683, allocations: 2.687 MB / 0.6486 GB, free: 148.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9683, allocations: 3.406 kB / 0.6486 GB, free: 148.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009602/0.9693, allocations: 0.6982 MB / 0.6493 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/0.9696, allocations: 209.9 kB / 0.6495 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.9697, allocations: 7.188 kB / 0.6495 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.9701, allocations: 21.89 kB / 0.6495 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-05/0.9702, allocations: 30.02 kB / 0.6496 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.9703, allocations: 22.39 kB / 0.6496 GB, free: 147.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007351/0.971, allocations: 0.6264 MB / 0.6502 GB, free: 147.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.971, allocations: 0 / 0.6502 GB, free: 147.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001579/0.9726, allocations: 427.3 kB / 0.6506 GB, free: 147.6 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.002107/0.9747, allocations: 0.7561 MB / 0.6513 GB, free: 147.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.9761, allocations: 0.674 MB / 0.652 GB, free: 147.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.9761, allocations: 4.156 kB / 0.652 GB, free: 147.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008605/0.9769, allocations: 374.8 kB / 0.6524 GB, free: 147 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.9789, allocations: 409.7 kB / 0.6528 GB, free: 146.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.9816, allocations: 1.991 MB / 0.6547 GB, free: 145.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.9821, allocations: 1.031 MB / 0.6557 GB, free: 145.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009051/0.983, allocations: 310.9 kB / 0.656 GB, free: 145 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.9832, allocations: 73.34 kB / 0.6561 GB, free: 145 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.9832, allocations: 0 / 0.6561 GB, free: 145 MB / 494.1 MB Notification: Performance of Templates: time 0.04058/1.024, allocations: 21.32 MB / 0.6769 GB, free: 140.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: