Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005105/0.005105, allocations: 99.84 kB / 15.73 MB, free: 6.02 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.001198/0.001198, allocations: 204.5 kB / 16.68 MB, free: 5.938 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.512/1.512, allocations: 205.1 MB / 222.5 MB, free: 4.344 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 50.7 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1102, allocations: 46.63 MB / 373.2 MB, free: 1.258 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4778/0.588, allocations: 175.5 MB / 0.5359 GB, free: 364 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004733/0.5928, allocations: 3.835 MB / 0.5396 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.5932, allocations: 7.938 kB / 0.5396 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008882/0.5941, allocations: 246.7 kB / 0.5398 GB, free: 12.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000753/0.5948, allocations: 366 kB / 0.5402 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.5963, allocations: 0.5499 MB / 0.5407 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.5975, allocations: 1.095 MB / 0.5418 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.5978, allocations: 286.7 kB / 0.5421 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002774/0.6006, allocations: 1.303 MB / 0.5433 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004988/0.6011, allocations: 406.7 kB / 0.5437 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.683e-05/0.6012, allocations: 68 kB / 0.5438 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.6022, allocations: 479.1 kB / 0.5443 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.6027, allocations: 447 kB / 0.5447 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004891/0.6032, allocations: 498.1 kB / 0.5452 GB, free: 6.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.6047, allocations: 1.535 MB / 0.5467 GB, free: 5.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6047, allocations: 0 / 0.5467 GB, free: 5.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6047, allocations: 0 / 0.5467 GB, free: 5.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.6048, allocations: 0 / 0.5467 GB, free: 5.27 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001795/0.6066, allocations: 1.06 MB / 0.5477 GB, free: 4.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.6066, allocations: 8.031 kB / 0.5477 GB, free: 4.152 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006479/0.6073, allocations: 151 kB / 0.5478 GB, free: 4.004 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007363/0.608, allocations: 492.7 kB / 0.5483 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.6081, allocations: 53.3 kB / 0.5484 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.6082, allocations: 68 kB / 0.5484 GB, free: 3.359 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.6096, allocations: 0.9474 MB / 0.5494 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.6097, allocations: 7.906 kB / 0.5494 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.519e-05/0.6098, allocations: 28 kB / 0.5494 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-05/0.6098, allocations: 41.98 kB / 0.5494 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.6111, allocations: 0.8744 MB / 0.5503 GB, free: 1.457 MB / 430.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.004844/0.6159, allocations: 3.383 MB / 0.5536 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008207/0.6168, allocations: 0.6422 MB / 0.5542 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004689/0.6172, allocations: 366.4 kB / 0.5546 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-05/0.6173, allocations: 12.55 kB / 0.5546 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.6173, allocations: 55.06 kB / 0.5546 GB, free: 12.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=59): time 2.525e-06/0.6173, allocations: 0 / 0.5546 GB, free: 12.71 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.01518/0.6325, allocations: 6.07 MB / 0.5606 GB, free: 6.242 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.6326, allocations: 67.94 kB / 0.5606 GB, free: 6.164 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009438/0.6336, allocations: 0.5448 MB / 0.5611 GB, free: 5.609 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.096e-05/0.6337, allocations: 49.64 kB / 0.5612 GB, free: 5.555 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.6339, allocations: 276.5 kB / 0.5615 GB, free: 5.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.6341, allocations: 248.4 kB / 0.5617 GB, free: 5.031 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.6344, allocations: 150.6 kB / 0.5618 GB, free: 4.875 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.6346, allocations: 370.8 kB / 0.5622 GB, free: 4.504 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000667/0.6352, allocations: 437.8 kB / 0.5626 GB, free: 4.078 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/0.636, allocations: 0.5233 MB / 0.5631 GB, free: 3.543 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.6374, allocations: 0.9681 MB / 0.5641 GB, free: 2.559 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6374, allocations: 0 / 0.5641 GB, free: 2.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002299/0.6397, allocations: 1.347 MB / 0.5654 GB, free: 1.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.6397, allocations: 8 kB / 0.5654 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.6397, allocations: 4.156 kB / 0.5654 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007005/0.6404, allocations: 330.6 kB / 0.5657 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009623/0.6414, allocations: 183.8 kB / 0.5659 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.6516, allocations: 10.96 MB / 0.5766 GB, free: 4.676 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007956/0.6524, allocations: 20 kB / 0.5766 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/0.6527, allocations: 43.98 kB / 0.5766 GB, free: 4.613 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * 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): 8 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0008729/0.6536, allocations: 273.6 kB / 0.5769 GB, free: 4.336 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000383/0.654, allocations: 63.28 kB / 0.577 GB, free: 4.273 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/0.657, allocations: 1.283 MB / 0.5782 GB, free: 2.957 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.6571, allocations: 4 kB / 0.5782 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.6571, allocations: 4 kB / 0.5782 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002155/0.6593, allocations: 1.602 MB / 0.5798 GB, free: 1.188 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004272/0.6636, allocations: 2.264 MB / 0.582 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.6636, allocations: 7.984 kB / 0.582 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.6647, allocations: 215.8 kB / 0.5822 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/0.665, allocations: 76.62 kB / 0.5823 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.577e-05/0.6651, allocations: 39.97 kB / 0.5823 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.6666, allocations: 1.527 MB / 0.5838 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/0.6666, allocations: 8.188 kB / 0.5838 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002736/0.6693, allocations: 1.599 MB / 0.5854 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/0.6697, allocations: 144.4 kB / 0.5855 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.6698, allocations: 23.98 kB / 0.5856 GB, free: 11.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007293/0.6706, allocations: 43.91 kB / 0.5856 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.6708, allocations: 56.58 kB / 0.5856 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/0.6709, allocations: 63.94 kB / 0.5857 GB, free: 10.87 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000642/0.6716, allocations: 403.1 kB / 0.5861 GB, free: 10.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6716, allocations: 0 / 0.5861 GB, free: 10.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001672/0.6733, allocations: 331.9 kB / 0.5864 GB, free: 10.15 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 76 * 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): 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.001651/0.6749, allocations: 0.5063 MB / 0.5869 GB, free: 9.641 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002872/0.6778, allocations: 1.874 MB / 0.5887 GB, free: 7.676 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.6778, allocations: 4.125 kB / 0.5887 GB, free: 7.672 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.6789, allocations: 0.6933 MB / 0.5894 GB, free: 6.969 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/0.6813, allocations: 0.5097 MB / 0.5899 GB, free: 6.457 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.6856, allocations: 2.175 MB / 0.592 GB, free: 4.242 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007215/0.6863, allocations: 0.9749 MB / 0.593 GB, free: 3.242 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009188/0.6872, allocations: 281.7 kB / 0.5933 GB, free: 2.965 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.6875, allocations: 91.41 kB / 0.5933 GB, free: 2.875 MB / 478.1 MB Notification: Performance of SimCode: time 1.573e-06/0.6876, allocations: 0 / 0.5933 GB, free: 2.875 MB / 478.1 MB Notification: Performance of Templates: time 0.04316/0.7307, allocations: 26.87 MB / 0.6196 GB, free: 7.93 MB / 0.4981 GB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)