Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.0013, allocations: 105.2 kB / 17.06 MB, free: 5.785 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.001507/0.001508, allocations: 198.9 kB / 18 MB, free: 4.93 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.495/1.495, allocations: 205.1 MB / 223.9 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.00142/0.00142, allocations: 47.94 kB / 327.9 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1143, allocations: 46.62 MB / 374.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4606/0.5749, allocations: 175.6 MB / 0.5373 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004773/0.5798, allocations: 3.848 MB / 0.541 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.58, allocations: 4 kB / 0.541 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007238/0.5808, allocations: 222.7 kB / 0.5412 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006194/0.5814, allocations: 366 kB / 0.5416 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.5828, allocations: 0.543 MB / 0.5421 GB, free: 10.42 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.5842, allocations: 1.111 MB / 0.5432 GB, free: 9.305 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.5844, allocations: 100.7 kB / 0.5433 GB, free: 9.207 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003058/0.5875, allocations: 1.267 MB / 0.5445 GB, free: 7.941 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004637/0.588, allocations: 334.8 kB / 0.5449 GB, free: 7.613 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.988e-05/0.5881, allocations: 44 kB / 0.5449 GB, free: 7.57 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.5891, allocations: 459 kB / 0.5453 GB, free: 7.121 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.5893, allocations: 235.4 kB / 0.5456 GB, free: 6.891 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003318/0.5897, allocations: 314.8 kB / 0.5459 GB, free: 6.582 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.591, allocations: 1.071 MB / 0.5469 GB, free: 5.508 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.591, allocations: 0 / 0.5469 GB, free: 5.508 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.591, allocations: 0 / 0.5469 GB, free: 5.508 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.591, allocations: 0 / 0.5469 GB, free: 5.508 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001508/0.5925, allocations: 0.8074 MB / 0.5477 GB, free: 4.652 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.5926, allocations: 8.031 kB / 0.5477 GB, free: 4.645 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/0.5932, allocations: 123.4 kB / 0.5478 GB, free: 4.523 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006587/0.5939, allocations: 389 kB / 0.5482 GB, free: 4.102 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.5939, allocations: 25.88 kB / 0.5482 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.594, allocations: 40 kB / 0.5482 GB, free: 4.035 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009156/0.5949, allocations: 0.5615 MB / 0.5488 GB, free: 3.457 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5949, allocations: 0 / 0.5488 GB, free: 3.457 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/0.595, allocations: 20 kB / 0.5488 GB, free: 3.438 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.595, allocations: 12 kB / 0.5488 GB, free: 3.426 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006533/0.5957, allocations: 450.3 kB / 0.5493 GB, free: 2.98 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.00373/0.5994, allocations: 2.124 MB / 0.5513 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.5997, allocations: 147.3 kB / 0.5515 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.5998, allocations: 84.83 kB / 0.5516 GB, free: 460 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.5998, allocations: 4 kB / 0.5516 GB, free: 456 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.5999, allocations: 42.56 kB / 0.5516 GB, free: 404 kB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.5999, allocations: 0 / 0.5516 GB, free: 404 kB / 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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.3208/0.9207, allocations: 1.735 MB / 0.5533 GB, free: 8.926 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.9208, allocations: 58.53 kB / 0.5533 GB, free: 8.863 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006319/0.9214, allocations: 489 kB / 0.5538 GB, free: 8.734 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.9214, allocations: 30.52 kB / 0.5538 GB, free: 8.703 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.9216, allocations: 324 kB / 0.5542 GB, free: 8.496 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/0.9217, allocations: 85.25 kB / 0.5542 GB, free: 8.445 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.9219, allocations: 123.4 kB / 0.5544 GB, free: 8.422 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.922, allocations: 355.6 kB / 0.5547 GB, free: 8.109 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.9222, allocations: 136.7 kB / 0.5548 GB, free: 8.109 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.9226, allocations: 436.8 kB / 0.5552 GB, free: 7.738 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006356/0.9232, allocations: 0.6057 MB / 0.5558 GB, free: 7.367 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.9232, allocations: 3.781 kB / 0.5558 GB, free: 7.367 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001114/0.9244, allocations: 0.6356 MB / 0.5565 GB, free: 7.293 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.9244, allocations: 14.97 kB / 0.5565 GB, free: 7.293 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.9244, allocations: 11.81 kB / 0.5565 GB, free: 7.293 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.9247, allocations: 56.72 kB / 0.5565 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.9252, allocations: 141.9 kB / 0.5567 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.9265, allocations: 1.939 MB / 0.5586 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.9269, allocations: 23.94 kB / 0.5586 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/0.927, allocations: 38.02 kB / 0.5586 GB, free: 5.418 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002946/0.9273, allocations: 218.2 kB / 0.5588 GB, free: 5.293 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.9274, allocations: 46.88 kB / 0.5589 GB, free: 5.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006304/0.928, allocations: 290 kB / 0.5592 GB, free: 5.215 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.928, allocations: 3.906 kB / 0.5592 GB, free: 5.215 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.9281, allocations: 0 / 0.5592 GB, free: 5.215 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00047/0.9285, allocations: 0.5287 MB / 0.5597 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.9296, allocations: 0.6989 MB / 0.5604 GB, free: 4.453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.9296, allocations: 0.5156 kB / 0.5604 GB, free: 4.453 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.9299, allocations: 58.81 kB / 0.5604 GB, free: 4.453 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.887e-05/0.93, allocations: 24.97 kB / 0.5604 GB, free: 4.441 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.93, allocations: 7.625 kB / 0.5604 GB, free: 4.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006173/0.9307, allocations: 1.373 MB / 0.5618 GB, free: 3.102 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.9307, allocations: 1.219 kB / 0.5618 GB, free: 3.102 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006632/0.9313, allocations: 434.4 kB / 0.5622 GB, free: 2.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.9315, allocations: 115.4 kB / 0.5623 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.9315, allocations: 5.531 kB / 0.5623 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.9318, allocations: 9.688 kB / 0.5623 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.9318, allocations: 18.67 kB / 0.5623 GB, free: 2.812 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.714e-05/0.9319, allocations: 15.91 kB / 0.5624 GB, free: 2.812 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004459/0.9324, allocations: 328.7 kB / 0.5627 GB, free: 2.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.9324, allocations: 1.031 kB / 0.5627 GB, free: 2.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001078/0.9334, allocations: 210.4 kB / 0.5629 GB, free: 2.727 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,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 (23): * Single equations (assignments): 22 * 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.001485/0.9349, allocations: 455.4 kB / 0.5633 GB, free: 2.629 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.936, allocations: 468.2 kB / 0.5638 GB, free: 2.516 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.936, allocations: 1.469 kB / 0.5638 GB, free: 2.516 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.9363, allocations: 216.2 kB / 0.564 GB, free: 2.402 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.9374, allocations: 216.1 kB / 0.5642 GB, free: 2.387 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.9389, allocations: 0.8586 MB / 0.565 GB, free: 2.047 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.9393, allocations: 0.8214 MB / 0.5658 GB, free: 1.348 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004587/0.9398, allocations: 141.6 kB / 0.5659 GB, free: 1.332 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.9399, allocations: 41.8 kB / 0.566 GB, free: 1.324 MB / 478.1 MB Notification: Performance of SimCode: time 4.01e-07/0.9399, allocations: 2.125 kB / 0.566 GB, free: 1.324 MB / 478.1 MB Notification: Performance of Templates: time 0.02053/0.9604, allocations: 12.54 MB / 0.5782 GB, free: 444 kB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)