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.00918/0.00918, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.002108/0.002108, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.548/1.548, allocations: 205.1 MB / 222.5 MB, free: 4.473 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.001188/0.001188, allocations: 46.56 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1092, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4915/0.6008, allocations: 175.5 MB / 0.5359 GB, free: 344 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005269/0.6061, allocations: 3.838 MB / 0.5396 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004317/0.6067, allocations: 4 kB / 0.5396 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009367/0.6076, allocations: 238.7 kB / 0.5398 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.6087, allocations: 366 kB / 0.5402 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.6104, allocations: 0.5501 MB / 0.5407 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001516/0.6119, allocations: 1.091 MB / 0.5418 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004411/0.6123, allocations: 289.3 kB / 0.5421 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003644/0.616, allocations: 1.3 MB / 0.5433 GB, free: 8.664 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007424/0.6168, allocations: 398.8 kB / 0.5437 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.6169, allocations: 68 kB / 0.5438 GB, free: 8.207 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.6182, allocations: 479 kB / 0.5442 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004191/0.6187, allocations: 443 kB / 0.5447 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006922/0.6194, allocations: 498.2 kB / 0.5451 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.6211, allocations: 1.548 MB / 0.5466 GB, free: 5.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.6211, allocations: 0 / 0.5466 GB, free: 5.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.6211, allocations: 3.938 kB / 0.5466 GB, free: 5.262 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.6211, allocations: 0 / 0.5466 GB, free: 5.262 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.001946/0.6231, allocations: 1.079 MB / 0.5477 GB, free: 4.133 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/0.6232, allocations: 8.031 kB / 0.5477 GB, free: 4.125 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008373/0.624, allocations: 151.5 kB / 0.5478 GB, free: 3.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006885/0.6247, allocations: 492.9 kB / 0.5483 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.113e-05/0.6248, allocations: 49.31 kB / 0.5484 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.6249, allocations: 68 kB / 0.5484 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.6264, allocations: 0.9551 MB / 0.5494 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.6265, allocations: 4 kB / 0.5494 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.135e-05/0.6266, allocations: 32 kB / 0.5494 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/0.6266, allocations: 41.98 kB / 0.5494 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.6279, allocations: 0.8667 MB / 0.5503 GB, free: 1.43 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.005425/0.6334, allocations: 3.391 MB / 0.5536 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000883/0.6343, allocations: 0.6423 MB / 0.5542 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005005/0.6348, allocations: 354.4 kB / 0.5546 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-05/0.6348, allocations: 24.47 kB / 0.5546 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.6349, allocations: 55.06 kB / 0.5546 GB, free: 12.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=59): time 4.078e-06/0.6349, allocations: 3.984 kB / 0.5546 GB, free: 12.67 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.01569/0.6506, allocations: 6.067 MB / 0.5606 GB, free: 6.207 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.6506, allocations: 67.98 kB / 0.5606 GB, free: 6.129 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007041/0.6514, allocations: 0.5409 MB / 0.5612 GB, free: 5.578 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.8e-05/0.6514, allocations: 45.7 kB / 0.5612 GB, free: 5.527 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.6517, allocations: 289 kB / 0.5615 GB, free: 5.238 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.6519, allocations: 261.8 kB / 0.5617 GB, free: 4.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.6521, allocations: 142.7 kB / 0.5619 GB, free: 4.832 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.6523, allocations: 374.7 kB / 0.5622 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006419/0.653, allocations: 442.2 kB / 0.5626 GB, free: 4.027 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007283/0.6537, allocations: 0.5233 MB / 0.5632 GB, free: 3.492 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.6552, allocations: 0.9681 MB / 0.5641 GB, free: 2.508 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.6552, allocations: 7.062 kB / 0.5641 GB, free: 2.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002186/0.6574, allocations: 1.351 MB / 0.5654 GB, free: 1.121 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.6574, allocations: 4 kB / 0.5654 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.6574, allocations: 3.984 kB / 0.5654 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006731/0.6581, allocations: 338.8 kB / 0.5658 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000976/0.6591, allocations: 175.8 kB / 0.5659 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008826/0.6679, allocations: 10.95 MB / 0.5766 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006548/0.6686, allocations: 28.05 kB / 0.5766 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/0.6687, allocations: 43.92 kB / 0.5767 GB, free: 4.555 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.0004567/0.6692, allocations: 273.6 kB / 0.577 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.6694, allocations: 67.56 kB / 0.577 GB, free: 4.211 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.6715, allocations: 1.279 MB / 0.5783 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.6716, allocations: 8 kB / 0.5783 GB, free: 2.891 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.6716, allocations: 0 / 0.5783 GB, free: 2.891 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001918/0.6735, allocations: 1.606 MB / 0.5798 GB, free: 1.125 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003497/0.677, allocations: 2.264 MB / 0.5821 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.677, allocations: 4 kB / 0.5821 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.6782, allocations: 215.8 kB / 0.5823 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002036/0.6784, allocations: 80.61 kB / 0.5823 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.982e-05/0.6785, allocations: 39.97 kB / 0.5824 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.6799, allocations: 1.535 MB / 0.5839 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6799, allocations: 3.938 kB / 0.5839 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.6823, allocations: 1.607 MB / 0.5854 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.6825, allocations: 144.7 kB / 0.5856 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.6826, allocations: 27.98 kB / 0.5856 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/0.6833, allocations: 47.91 kB / 0.5857 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.6834, allocations: 56.52 kB / 0.5857 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.6835, allocations: 55.95 kB / 0.5858 GB, free: 10.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004773/0.684, allocations: 403.1 kB / 0.5861 GB, free: 10.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.684, allocations: 4 kB / 0.5862 GB, free: 10.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001092/0.6851, allocations: 331.7 kB / 0.5865 GB, free: 10.08 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.001317/0.6865, allocations: 0.4985 MB / 0.587 GB, free: 9.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002542/0.689, allocations: 1.881 MB / 0.5888 GB, free: 7.598 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.689, allocations: 4 kB / 0.5888 GB, free: 7.594 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009528/0.69, allocations: 0.6896 MB / 0.5895 GB, free: 6.895 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.6924, allocations: 0.5017 MB / 0.59 GB, free: 6.391 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.6963, allocations: 2.213 MB / 0.5921 GB, free: 4.137 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006059/0.6969, allocations: 0.9827 MB / 0.5931 GB, free: 3.129 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008513/0.6978, allocations: 277.7 kB / 0.5933 GB, free: 2.855 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.6981, allocations: 91.41 kB / 0.5934 GB, free: 2.766 MB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6981, allocations: 0 / 0.5934 GB, free: 2.766 MB / 478.1 MB Notification: Performance of Templates: time 0.04411/0.7422, allocations: 26.87 MB / 0.6197 GB, free: 7.824 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)