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.001054/0.001054, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001294/0.001294, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.000509/0.0005092, allocations: 8 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.262, allocations: 47.58 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4032/0.6653, allocations: 156.9 MB / 483.4 MB, free: 1.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003337/0.6687, allocations: 2.991 MB / 486.4 MB, free: 1.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.669, allocations: 6.906 kB / 486.4 MB, free: 1.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005167/0.6695, allocations: 133.2 kB / 486.6 MB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00076/0.6703, allocations: 364.1 kB / 486.9 MB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007138/0.671, allocations: 271.1 kB / 487.2 MB, free: 1.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.672, allocations: 1.113 MB / 488.3 MB, free: 1.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.6722, allocations: 73.94 kB / 488.4 MB, free: 1.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.6738, allocations: 0.6664 MB / 489 MB, free: 1.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003658/0.6742, allocations: 274.5 kB / 489.3 MB, free: 1.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.6742, allocations: 14.5 kB / 489.3 MB, free: 1.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.6745, allocations: 108.3 kB / 489.4 MB, free: 1.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.6746, allocations: 81.69 kB / 489.5 MB, free: 1.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.996e-05/0.6747, allocations: 90.39 kB / 489.6 MB, free: 1.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.6751, allocations: 397.8 kB / 490 MB, free: 1.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.6751, allocations: 0 / 490 MB, free: 1.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6751, allocations: 0 / 490 MB, free: 1.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.6751, allocations: 0 / 490 MB, free: 1.434 MB / 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.000814/0.6759, allocations: 0.5183 MB / 490.5 MB, free: 17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.676, allocations: 9.406 kB / 490.5 MB, free: 17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.6762, allocations: 44.86 kB / 490.5 MB, free: 16.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.6766, allocations: 271 kB / 490.8 MB, free: 16.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.6766, allocations: 17.34 kB / 490.8 MB, free: 16.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.6766, allocations: 29.91 kB / 490.9 MB, free: 16.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.6771, allocations: 314.8 kB / 491.2 MB, free: 16.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.6771, allocations: 2.859 kB / 491.2 MB, free: 16.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.6772, allocations: 16.67 kB / 491.2 MB, free: 16.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.6772, allocations: 8.5 kB / 491.2 MB, free: 16.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.6775, allocations: 201.3 kB / 491.4 MB, free: 16.67 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.001687/0.6792, allocations: 1.586 MB / 493 MB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.6795, allocations: 176.2 kB / 493.1 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.6796, allocations: 103.7 kB / 493.2 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.6797, allocations: 2.938 kB / 493.2 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.6797, allocations: 40.08 kB / 493.3 MB, free: 15.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.6797, allocations: 0 / 493.3 MB, free: 15.39 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.004708/0.6844, allocations: 1.627 MB / 494.9 MB, free: 14.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.6845, allocations: 54.56 kB / 495 MB, free: 14.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.6847, allocations: 255 kB / 495.2 MB, free: 14.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.6848, allocations: 30.58 kB / 495.2 MB, free: 14.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.6849, allocations: 172.5 kB / 495.4 MB, free: 14.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/0.685, allocations: 100.9 kB / 495.5 MB, free: 14.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/0.685, allocations: 6.5 kB / 495.5 MB, free: 14.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6852, allocations: 340.4 kB / 495.9 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.6853, allocations: 90.83 kB / 495.9 MB, free: 13.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.6855, allocations: 188.8 kB / 496.1 MB, free: 13.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.6857, allocations: 114.3 kB / 496.2 MB, free: 13.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6857, allocations: 0 / 496.2 MB, free: 13.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005721/0.6863, allocations: 392.3 kB / 496.6 MB, free: 13.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.6863, allocations: 9.672 kB / 496.6 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6863, allocations: 9.094 kB / 496.6 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/0.6866, allocations: 78.5 kB / 496.7 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.6869, allocations: 82.34 kB / 496.8 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.6883, allocations: 1.852 MB / 498.6 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.6886, allocations: 24.77 kB / 498.7 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.6886, allocations: 42.86 kB / 498.7 MB, free: 11.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001811/0.6888, allocations: 153.6 kB / 498.9 MB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/0.6889, allocations: 26.22 kB / 498.9 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009082/0.6898, allocations: 437.6 kB / 499.3 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.6898, allocations: 2.938 kB / 499.3 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6898, allocations: 3.984 kB / 499.3 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005679/0.6904, allocations: 0.5696 MB / 499.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000865/0.6913, allocations: 0.727 MB / 0.4889 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.6913, allocations: 7.312 kB / 0.4889 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.6916, allocations: 67.39 kB / 0.489 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.126e-05/0.6916, allocations: 18.7 kB / 0.489 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.6917, allocations: 18.75 kB / 0.489 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008896/0.6926, allocations: 1.287 MB / 0.4902 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6926, allocations: 0 / 0.4902 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.6932, allocations: 481.5 kB / 0.4907 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.454e-05/0.6933, allocations: 112 kB / 0.4908 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.6933, allocations: 6.438 kB / 0.4908 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.6936, allocations: 14.03 kB / 0.4908 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.6936, allocations: 23.27 kB / 0.4909 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.6937, allocations: 31.86 kB / 0.4909 GB, free: 9.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001775/0.6939, allocations: 191.5 kB / 0.4911 GB, free: 9.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6939, allocations: 0 / 0.4911 GB, free: 9.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005026/0.6944, allocations: 125.2 kB / 0.4912 GB, free: 9.262 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003533/0.6947, allocations: 152.2 kB / 0.4913 GB, free: 9.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005872/0.6953, allocations: 371.8 kB / 0.4917 GB, free: 9.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6954, allocations: 3.844 kB / 0.4917 GB, free: 9.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.6957, allocations: 227.8 kB / 0.4919 GB, free: 8.934 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008279/0.6965, allocations: 170.3 kB / 0.4921 GB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.6976, allocations: 0.83 MB / 0.4929 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.698, allocations: 0.7682 MB / 0.4936 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005225/0.6985, allocations: 114.7 kB / 0.4937 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.6987, allocations: 67.55 kB / 0.4938 GB, free: 7.691 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.6987, allocations: 0 / 0.4938 GB, free: 7.691 MB / 398.1 MB Notification: Performance of Templates: time 0.01323/0.7119, allocations: 8.254 MB / 0.5019 GB, free: 4.301 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)