Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00117/0.00117, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.373/1.373, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.001966/0.001965, allocations: 47.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3031, allocations: 46.63 MB / 324.9 MB, free: 1.965 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.486/0.7891, allocations: 170.4 MB / 495.3 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003561/0.7928, allocations: 3.202 MB / 498.5 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/0.7931, allocations: 5.25 kB / 498.5 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006588/0.7938, allocations: 150.6 kB / 498.6 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009383/0.7947, allocations: 380.4 kB / 499 MB, free: 488 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008397/0.7956, allocations: 318.5 kB / 499.3 MB, free: 468 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000849/0.7965, allocations: 0.8989 MB / 0.4885 GB, free: 464 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.7967, allocations: 106 kB / 0.4886 GB, free: 448 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.7985, allocations: 0.7608 MB / 0.4893 GB, free: 428 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.7988, allocations: 294.9 kB / 0.4896 GB, free: 420 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.7989, allocations: 29.78 kB / 0.4897 GB, free: 420 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003085/0.7992, allocations: 126.9 kB / 0.4898 GB, free: 416 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.7993, allocations: 98.7 kB / 0.4899 GB, free: 416 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.7995, allocations: 185.5 kB / 0.4901 GB, free: 416 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006188/0.8002, allocations: 0.5161 MB / 0.4906 GB, free: 392 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8002, allocations: 7.938 kB / 0.4906 GB, free: 384 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.8002, allocations: 0 / 0.4906 GB, free: 384 kB / 382.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.8002, allocations: 0 / 0.4906 GB, free: 384 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009106/0.8011, allocations: 0.5905 MB / 0.4911 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.8012, allocations: 7.688 kB / 0.4911 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.8015, allocations: 42.17 kB / 0.4912 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.8018, allocations: 288.1 kB / 0.4915 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.8018, allocations: 22.72 kB / 0.4915 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.8019, allocations: 24.12 kB / 0.4915 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.8024, allocations: 319 kB / 0.4918 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.8024, allocations: 3.938 kB / 0.4918 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.8025, allocations: 11.41 kB / 0.4918 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.8025, allocations: 12.41 kB / 0.4918 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.8028, allocations: 201.6 kB / 0.492 GB, free: 15.59 MB / 398.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.001715/0.8045, allocations: 1.584 MB / 0.4936 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.8048, allocations: 173.8 kB / 0.4937 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.805, allocations: 99.58 kB / 0.4938 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.805, allocations: 8.969 kB / 0.4938 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.8051, allocations: 32.66 kB / 0.4939 GB, free: 14.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.303e-06/0.8051, allocations: 3.25 kB / 0.4939 GB, free: 14.32 MB / 398.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=27): time 0.005559/0.8106, allocations: 1.624 MB / 0.4955 GB, free: 13.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.8107, allocations: 54.55 kB / 0.4955 GB, free: 13.51 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.811, allocations: 259.6 kB / 0.4958 GB, free: 13.4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.811, allocations: 32.39 kB / 0.4958 GB, free: 13.37 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.8111, allocations: 177.5 kB / 0.496 GB, free: 13.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.216e-05/0.8112, allocations: 91.78 kB / 0.4961 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.8114, allocations: 85.36 kB / 0.4961 GB, free: 13.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.8115, allocations: 342.5 kB / 0.4965 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.8116, allocations: 87.8 kB / 0.4965 GB, free: 12.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.8119, allocations: 189.9 kB / 0.4967 GB, free: 12.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.8123, allocations: 307.8 kB / 0.497 GB, free: 12.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.8123, allocations: 2.188 kB / 0.497 GB, free: 12.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006317/0.8129, allocations: 395.5 kB / 0.4974 GB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.813, allocations: 8.156 kB / 0.4974 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.813, allocations: 4.109 kB / 0.4974 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/0.8132, allocations: 70.09 kB / 0.4975 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.8135, allocations: 82.47 kB / 0.4976 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.8149, allocations: 1.956 MB / 0.4995 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.8152, allocations: 31.28 kB / 0.4995 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/0.8153, allocations: 38.45 kB / 0.4995 GB, free: 10.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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.0001668/0.8154, allocations: 165.6 kB / 0.4997 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.8155, allocations: 25.19 kB / 0.4997 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008498/0.8164, allocations: 430.4 kB / 0.5001 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.8164, allocations: 2.094 kB / 0.5001 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.8164, allocations: 0 / 0.5001 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000493/0.8169, allocations: 0.5679 MB / 0.5007 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009349/0.8178, allocations: 0.7301 MB / 0.5014 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.8178, allocations: 4 kB / 0.5014 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.8181, allocations: 72.2 kB / 0.5015 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.718e-05/0.8182, allocations: 21.03 kB / 0.5015 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.8183, allocations: 12.55 kB / 0.5015 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008799/0.8192, allocations: 1.383 MB / 0.5028 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8192, allocations: 1.938 kB / 0.5029 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.8198, allocations: 479.2 kB / 0.5033 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/0.8199, allocations: 112.6 kB / 0.5034 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/0.8199, allocations: 3.375 kB / 0.5034 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.8202, allocations: 16.03 kB / 0.5034 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.8202, allocations: 30.3 kB / 0.5035 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.8203, allocations: 27.16 kB / 0.5035 GB, free: 7.957 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002057/0.8205, allocations: 191.4 kB / 0.5037 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8205, allocations: 1.203 kB / 0.5037 GB, free: 7.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005561/0.8211, allocations: 123.7 kB / 0.5038 GB, free: 7.871 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.0004046/0.8215, allocations: 151.8 kB / 0.5039 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007177/0.8222, allocations: 392.7 kB / 0.5043 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8222, allocations: 4 kB / 0.5043 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.8225, allocations: 228.3 kB / 0.5045 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009451/0.8235, allocations: 179.3 kB / 0.5047 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.8248, allocations: 0.7923 MB / 0.5055 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.8252, allocations: 0.764 MB / 0.5062 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005651/0.8257, allocations: 119 kB / 0.5063 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.826, allocations: 66.73 kB / 0.5064 GB, free: 6.262 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.826, allocations: 0 / 0.5064 GB, free: 6.262 MB / 398.1 MB Notification: Performance of Templates: time 0.01526/0.8412, allocations: 8.671 MB / 0.5149 GB, free: 2.09 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)