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.005456/0.005456, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001297/0.001298, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.537/1.537, allocations: 205.1 MB / 222.6 MB, free: 4.387 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.001709/0.001709, allocations: 50.73 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1248, 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.481/0.6059, allocations: 175.5 MB / 0.5358 GB, free: 376 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004749/0.6107, allocations: 3.831 MB / 0.5396 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.6111, allocations: 7.938 kB / 0.5396 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008823/0.612, allocations: 250.7 kB / 0.5398 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000813/0.6128, allocations: 366 kB / 0.5402 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.6146, allocations: 0.5578 MB / 0.5407 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001533/0.6162, allocations: 1.095 MB / 0.5418 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004354/0.6166, allocations: 292.6 kB / 0.5421 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0034/0.62, allocations: 1.303 MB / 0.5434 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008339/0.6209, allocations: 398.8 kB / 0.5437 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000242/0.6211, allocations: 68 kB / 0.5438 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.6225, allocations: 487.1 kB / 0.5443 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004903/0.623, allocations: 443 kB / 0.5447 GB, free: 7.301 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007884/0.6238, allocations: 494.2 kB / 0.5452 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.6257, allocations: 1.539 MB / 0.5467 GB, free: 5.273 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.6258, allocations: 0 / 0.5467 GB, free: 5.273 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6258, allocations: 3.938 kB / 0.5467 GB, free: 5.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.541e-05/0.6258, 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.00227/0.6281, allocations: 1.06 MB / 0.5477 GB, free: 4.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.6281, allocations: 12.03 kB / 0.5477 GB, free: 4.148 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007406/0.6289, allocations: 147 kB / 0.5478 GB, free: 4.004 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008045/0.6297, allocations: 484.8 kB / 0.5483 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.6298, allocations: 49.31 kB / 0.5484 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.6299, allocations: 64 kB / 0.5484 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.6315, allocations: 0.9591 MB / 0.5494 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/0.6315, allocations: 7.906 kB / 0.5494 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-05/0.6316, allocations: 28 kB / 0.5494 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-05/0.6317, allocations: 41.98 kB / 0.5494 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.633, allocations: 0.8784 MB / 0.5503 GB, free: 1.453 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.005581/0.6386, allocations: 3.375 MB / 0.5536 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/0.6396, allocations: 0.6384 MB / 0.5542 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/0.6401, allocations: 370.3 kB / 0.5546 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.6402, allocations: 16.55 kB / 0.5546 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.6402, allocations: 55.05 kB / 0.5546 GB, free: 12.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=59): time 2.285e-06/0.6402, 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.01526/0.6555, allocations: 6.067 MB / 0.5606 GB, free: 6.246 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.6556, allocations: 68 kB / 0.5606 GB, free: 6.168 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008008/0.6564, allocations: 0.5409 MB / 0.5611 GB, free: 5.617 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.6565, allocations: 45.7 kB / 0.5612 GB, free: 5.566 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.6567, allocations: 280.5 kB / 0.5615 GB, free: 5.285 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.657, allocations: 256.3 kB / 0.5617 GB, free: 5.031 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.6573, allocations: 146.6 kB / 0.5618 GB, free: 4.879 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.6575, allocations: 366.8 kB / 0.5622 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/0.6582, allocations: 445.7 kB / 0.5626 GB, free: 4.078 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007576/0.6589, allocations: 0.5233 MB / 0.5631 GB, free: 3.543 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.6604, allocations: 0.972 MB / 0.5641 GB, free: 2.555 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6604, allocations: 0 / 0.5641 GB, free: 2.555 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002184/0.6626, allocations: 1.343 MB / 0.5654 GB, free: 1.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.6626, allocations: 8.062 kB / 0.5654 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.6626, allocations: 4 kB / 0.5654 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.6633, allocations: 330.6 kB / 0.5657 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009756/0.6642, allocations: 180.6 kB / 0.5659 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008314/0.6726, allocations: 10.96 MB / 0.5766 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005685/0.6732, allocations: 23.98 kB / 0.5766 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-05/0.6733, allocations: 43.98 kB / 0.5767 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.0004586/0.6737, allocations: 269.6 kB / 0.5769 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.6739, allocations: 63.28 kB / 0.577 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.676, allocations: 1.283 MB / 0.5782 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.6761, allocations: 8 kB / 0.5782 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6761, allocations: 0 / 0.5782 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00179/0.6779, allocations: 1.598 MB / 0.5798 GB, free: 1.195 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003393/0.6813, allocations: 2.268 MB / 0.582 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6813, allocations: 4 kB / 0.582 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.6824, allocations: 223.8 kB / 0.5822 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.6826, allocations: 68.64 kB / 0.5823 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-05/0.6827, allocations: 39.97 kB / 0.5823 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.684, allocations: 1.531 MB / 0.5838 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.684, allocations: 8.156 kB / 0.5838 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.6864, allocations: 1.602 MB / 0.5854 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.6866, allocations: 144.4 kB / 0.5855 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.6868, allocations: 24 kB / 0.5856 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007198/0.6875, allocations: 47.91 kB / 0.5856 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.6876, allocations: 52.58 kB / 0.5857 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.6877, allocations: 63.94 kB / 0.5857 GB, free: 10.88 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004893/0.6882, allocations: 407 kB / 0.5861 GB, free: 10.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6882, allocations: 4 kB / 0.5861 GB, free: 10.47 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001083/0.6893, allocations: 327.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.001431/0.6908, allocations: 0.5064 MB / 0.5869 GB, free: 9.637 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002561/0.6933, allocations: 1.874 MB / 0.5887 GB, free: 7.672 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.6934, allocations: 8.125 kB / 0.5887 GB, free: 7.664 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009859/0.6944, allocations: 0.6855 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.002354/0.6967, allocations: 0.502 MB / 0.5899 GB, free: 6.465 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.7009, allocations: 2.183 MB / 0.592 GB, free: 4.242 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.7016, allocations: 0.9749 MB / 0.593 GB, free: 3.242 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001014/0.7026, allocations: 273.7 kB / 0.5933 GB, free: 2.973 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.7029, allocations: 87.41 kB / 0.5933 GB, free: 2.887 MB / 478.1 MB Notification: Performance of SimCode: time 6.61e-07/0.7029, allocations: 0 / 0.5933 GB, free: 2.887 MB / 478.1 MB Notification: Performance of Templates: time 0.04591/0.7488, allocations: 26.88 MB / 0.6196 GB, free: 7.934 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)