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.006084/0.006084, allocations: 100.7 kB / 15.73 MB, free: 6.477 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.001196/0.001196, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.504/1.504, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.001261/0.001261, allocations: 50.94 kB / 326.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1118, allocations: 46.62 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5179/0.6297, allocations: 175.5 MB / 0.5359 GB, free: 360 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005399/0.6352, allocations: 3.835 MB / 0.5396 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004023/0.6357, allocations: 4 kB / 0.5396 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008368/0.6365, allocations: 246.7 kB / 0.5398 GB, free: 12.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008904/0.6374, allocations: 370 kB / 0.5402 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.639, allocations: 0.5486 MB / 0.5407 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.6404, allocations: 1.087 MB / 0.5418 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.6408, allocations: 292.7 kB / 0.5421 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003126/0.6439, allocations: 1.291 MB / 0.5433 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008327/0.6448, allocations: 398.8 kB / 0.5437 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002527/0.645, allocations: 68 kB / 0.5438 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.6465, allocations: 483 kB / 0.5442 GB, free: 7.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006044/0.6471, allocations: 443 kB / 0.5447 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008806/0.648, allocations: 498.2 kB / 0.5451 GB, free: 6.828 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.6503, allocations: 1.535 MB / 0.5466 GB, free: 5.289 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6503, allocations: 0 / 0.5466 GB, free: 5.289 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.6504, allocations: 0 / 0.5466 GB, free: 5.289 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.059e-05/0.6504, allocations: 0 / 0.5466 GB, free: 5.289 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.003121/0.6535, allocations: 1.064 MB / 0.5477 GB, free: 4.176 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.532e-05/0.6536, allocations: 8.031 kB / 0.5477 GB, free: 4.168 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.6547, allocations: 155 kB / 0.5478 GB, free: 4.016 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.6558, allocations: 480.8 kB / 0.5483 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/0.6559, allocations: 53.3 kB / 0.5483 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.6561, allocations: 68 kB / 0.5484 GB, free: 3.383 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.6578, allocations: 0.9474 MB / 0.5493 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.6579, allocations: 7.844 kB / 0.5493 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.658, allocations: 28 kB / 0.5494 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.784e-05/0.6581, allocations: 49.97 kB / 0.5494 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.6595, allocations: 0.8696 MB / 0.5503 GB, free: 1.477 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.006185/0.6657, allocations: 3.383 MB / 0.5536 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009456/0.6667, allocations: 0.6384 MB / 0.5542 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/0.6672, allocations: 366.4 kB / 0.5545 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.428e-05/0.6673, allocations: 16.53 kB / 0.5545 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.804e-05/0.6673, allocations: 51.06 kB / 0.5546 GB, free: 12.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=59): time 3.807e-06/0.6673, allocations: 7.938 kB / 0.5546 GB, free: 12.72 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.01575/0.6831, allocations: 6.067 MB / 0.5605 GB, free: 6.258 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.6832, allocations: 60 kB / 0.5606 GB, free: 6.188 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007253/0.6839, allocations: 0.5526 MB / 0.5611 GB, free: 5.625 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.619e-05/0.684, allocations: 41.7 kB / 0.5612 GB, free: 5.578 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.6842, allocations: 280.5 kB / 0.5614 GB, free: 5.297 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.6844, allocations: 252.4 kB / 0.5617 GB, free: 5.047 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.6847, allocations: 150.6 kB / 0.5618 GB, free: 4.891 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002539/0.685, allocations: 362.8 kB / 0.5622 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007108/0.6857, allocations: 445.7 kB / 0.5626 GB, free: 4.094 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000811/0.6865, allocations: 0.5271 MB / 0.5631 GB, free: 3.555 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.6879, allocations: 0.9681 MB / 0.564 GB, free: 2.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6879, allocations: 4 kB / 0.5641 GB, free: 2.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002144/0.6901, allocations: 1.343 MB / 0.5654 GB, free: 1.191 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.6901, allocations: 11.91 kB / 0.5654 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.6901, allocations: 1.031 kB / 0.5654 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000645/0.6908, allocations: 334.6 kB / 0.5657 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000985/0.6918, allocations: 183.8 kB / 0.5659 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008432/0.7002, allocations: 10.94 MB / 0.5766 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006361/0.7009, allocations: 24.02 kB / 0.5766 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.7011, allocations: 47.98 kB / 0.5766 GB, free: 4.625 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.0005823/0.7016, allocations: 269.6 kB / 0.5769 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.7019, allocations: 67.28 kB / 0.5769 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.704, allocations: 1.287 MB / 0.5782 GB, free: 2.965 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.704, allocations: 8 kB / 0.5782 GB, free: 2.957 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.704, allocations: 0 / 0.5782 GB, free: 2.957 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001715/0.7058, allocations: 1.613 MB / 0.5798 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003313/0.7091, allocations: 2.256 MB / 0.582 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.7091, allocations: 0 / 0.582 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.7102, allocations: 223.8 kB / 0.5822 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.7104, allocations: 76.62 kB / 0.5823 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.907e-05/0.7105, allocations: 43.91 kB / 0.5823 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.7118, allocations: 1.519 MB / 0.5838 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7118, allocations: 3.938 kB / 0.5838 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.714, allocations: 1.599 MB / 0.5854 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.7142, allocations: 144.4 kB / 0.5855 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.7144, allocations: 27.98 kB / 0.5855 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000651/0.715, allocations: 43.91 kB / 0.5856 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.7151, allocations: 60.52 kB / 0.5856 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.7153, allocations: 59.95 kB / 0.5857 GB, free: 10.89 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004413/0.7157, allocations: 403.1 kB / 0.5861 GB, free: 10.49 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7157, allocations: 0 / 0.5861 GB, free: 10.49 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001088/0.7168, allocations: 335.9 kB / 0.5864 GB, free: 10.16 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.001295/0.7181, allocations: 0.4987 MB / 0.5869 GB, free: 9.656 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002413/0.7205, allocations: 1.878 MB / 0.5887 GB, free: 7.688 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.7206, allocations: 4 kB / 0.5887 GB, free: 7.684 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008986/0.7215, allocations: 0.6896 MB / 0.5894 GB, free: 6.984 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/0.7237, allocations: 0.502 MB / 0.5899 GB, free: 6.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.7275, allocations: 2.187 MB / 0.592 GB, free: 4.254 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.7281, allocations: 0.971 MB / 0.593 GB, free: 3.258 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007969/0.7289, allocations: 277.7 kB / 0.5932 GB, free: 2.984 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.7292, allocations: 99.34 kB / 0.5933 GB, free: 2.887 MB / 478.1 MB Notification: Performance of SimCode: time 9.31e-07/0.7292, allocations: 0 / 0.5933 GB, free: 2.887 MB / 478.1 MB Notification: Performance of Templates: time 0.03698/0.7662, allocations: 26.87 MB / 0.6196 GB, free: 7.941 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)