Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.005817/0.005817, allocations: 102.5 kB / 15.73 MB, free: 5.492 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.001211/0.001211, allocations: 190.2 kB / 16.67 MB, free: 5.422 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.519/1.519, allocations: 205.1 MB / 222.5 MB, free: 12.2 MB / 190.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.001318/0.001318, allocations: 55.92 kB / 326.6 MB, free: 3.223 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1022, allocations: 46.62 MB / 373.2 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4607/0.563, allocations: 175.5 MB / 0.5358 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005199/0.5682, allocations: 3.842 MB / 0.5396 GB, free: 11.63 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.5686, allocations: 4 kB / 0.5396 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008444/0.5694, allocations: 234.7 kB / 0.5398 GB, free: 11.39 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000649/0.5701, allocations: 362.1 kB / 0.5402 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.5716, allocations: 0.5439 MB / 0.5407 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.5728, allocations: 1.095 MB / 0.5418 GB, free: 9.398 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003976/0.5732, allocations: 292.7 kB / 0.5421 GB, free: 9.113 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002863/0.5761, allocations: 1.299 MB / 0.5433 GB, free: 7.816 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005108/0.5766, allocations: 402.8 kB / 0.5437 GB, free: 7.422 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.5767, allocations: 68 kB / 0.5438 GB, free: 7.355 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.5778, allocations: 479 kB / 0.5442 GB, free: 6.887 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004205/0.5783, allocations: 439 kB / 0.5446 GB, free: 6.457 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005616/0.5788, allocations: 494.2 kB / 0.5451 GB, free: 5.973 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.5809, allocations: 1.543 MB / 0.5466 GB, free: 4.426 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.5809, allocations: 0 / 0.5466 GB, free: 4.426 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.5809, allocations: 0 / 0.5466 GB, free: 4.426 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.5809, allocations: 0 / 0.5466 GB, free: 4.426 MB / 478.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.002288/0.5832, allocations: 1.073 MB / 0.5477 GB, free: 3.305 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.697e-05/0.5833, allocations: 11.89 kB / 0.5477 GB, free: 3.293 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000775/0.5841, allocations: 151.9 kB / 0.5478 GB, free: 3.145 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008776/0.585, allocations: 480.8 kB / 0.5483 GB, free: 2.633 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/0.585, allocations: 49.31 kB / 0.5483 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.5852, allocations: 68 kB / 0.5484 GB, free: 2.516 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.5868, allocations: 0.9513 MB / 0.5493 GB, free: 1.559 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.5868, allocations: 3.906 kB / 0.5493 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.823e-05/0.5869, allocations: 35.98 kB / 0.5494 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-05/0.587, allocations: 45.98 kB / 0.5494 GB, free: 1.477 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.5883, allocations: 0.8667 MB / 0.5503 GB, free: 0.6055 MB / 478.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.2768/0.8652, allocations: 3.373 MB / 0.5535 GB, free: 37.26 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009726/0.8662, allocations: 0.6383 MB / 0.5542 GB, free: 37.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005841/0.8668, allocations: 361.5 kB / 0.5545 GB, free: 37.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/0.8668, allocations: 17.06 kB / 0.5545 GB, free: 37.22 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.8669, allocations: 46.66 kB / 0.5546 GB, free: 37.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=59): time 2.505e-06/0.8669, allocations: 1.094 kB / 0.5546 GB, free: 37.18 MB / 478.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.01623/0.8831, allocations: 6.075 MB / 0.5605 GB, free: 35.06 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.8832, allocations: 64.64 kB / 0.5606 GB, free: 35 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007506/0.8839, allocations: 0.5433 MB / 0.5611 GB, free: 34.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.8841, allocations: 45.44 kB / 0.5611 GB, free: 34.86 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.8842, allocations: 282.9 kB / 0.5614 GB, free: 34.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.8844, allocations: 254 kB / 0.5617 GB, free: 34.55 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/0.8847, allocations: 145.7 kB / 0.5618 GB, free: 34.53 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.8849, allocations: 373.4 kB / 0.5622 GB, free: 34.21 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007748/0.8856, allocations: 442.1 kB / 0.5626 GB, free: 34.21 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007836/0.8864, allocations: 0.5203 MB / 0.5631 GB, free: 34.15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.888, allocations: 0.9671 MB / 0.564 GB, free: 34.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.888, allocations: 1 kB / 0.564 GB, free: 34.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002208/0.8902, allocations: 1.343 MB / 0.5653 GB, free: 33.94 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.8903, allocations: 8.094 kB / 0.5653 GB, free: 33.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.8903, allocations: 2.875 kB / 0.5654 GB, free: 33.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006105/0.8909, allocations: 335.5 kB / 0.5657 GB, free: 33.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.8919, allocations: 182.3 kB / 0.5658 GB, free: 33.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006357/0.8983, allocations: 10.95 MB / 0.5765 GB, free: 23.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/0.8991, allocations: 22.56 kB / 0.5766 GB, free: 23.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.8992, allocations: 49.12 kB / 0.5766 GB, free: 23.95 MB / 478.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.0005242/0.8998, allocations: 275.6 kB / 0.5769 GB, free: 23.84 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.8999, allocations: 65.47 kB / 0.5769 GB, free: 23.81 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.9021, allocations: 1.284 MB / 0.5782 GB, free: 23.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.9021, allocations: 8.125 kB / 0.5782 GB, free: 23.68 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.9022, allocations: 1.125 kB / 0.5782 GB, free: 23.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001439/0.9036, allocations: 1.612 MB / 0.5798 GB, free: 22.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.9066, allocations: 2.262 MB / 0.582 GB, free: 22.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.9066, allocations: 3.594 kB / 0.582 GB, free: 22.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.9077, allocations: 217.5 kB / 0.5822 GB, free: 22.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000168/0.9079, allocations: 68.33 kB / 0.5823 GB, free: 22.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/0.908, allocations: 38.75 kB / 0.5823 GB, free: 22.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009207/0.9089, allocations: 1.541 MB / 0.5838 GB, free: 21.12 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9089, allocations: 3.375 kB / 0.5838 GB, free: 21.12 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.9109, allocations: 1.593 MB / 0.5854 GB, free: 20.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.9111, allocations: 147.2 kB / 0.5855 GB, free: 20.77 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.9112, allocations: 32.42 kB / 0.5855 GB, free: 20.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.9118, allocations: 35.44 kB / 0.5856 GB, free: 20.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.912, allocations: 61.06 kB / 0.5856 GB, free: 20.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.9121, allocations: 63.11 kB / 0.5857 GB, free: 20.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004242/0.9125, allocations: 407.4 kB / 0.5861 GB, free: 20.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9125, allocations: 0 / 0.5861 GB, free: 20.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001307/0.9138, allocations: 332.2 kB / 0.5864 GB, free: 20.68 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.001352/0.9152, allocations: 0.4941 MB / 0.5869 GB, free: 20.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002424/0.9176, allocations: 1.878 MB / 0.5887 GB, free: 19.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.9176, allocations: 6.453 kB / 0.5887 GB, free: 19.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008104/0.9185, allocations: 0.681 MB / 0.5894 GB, free: 19.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/0.9206, allocations: 0.5053 MB / 0.5899 GB, free: 19.61 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.9241, allocations: 2.203 MB / 0.592 GB, free: 18.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.9246, allocations: 0.9663 MB / 0.593 GB, free: 18.23 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008597/0.9255, allocations: 278.8 kB / 0.5932 GB, free: 18.17 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.9258, allocations: 87.12 kB / 0.5933 GB, free: 18.16 MB / 478.1 MB Notification: Performance of SimCode: time 8.52e-07/0.9258, allocations: 0 / 0.5933 GB, free: 18.16 MB / 478.1 MB Notification: Performance of Templates: time 0.03365/0.9594, allocations: 26.88 MB / 0.6196 GB, free: 15.93 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)