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.001789/0.001789, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002261/0.002261, allocations: 194.3 kB / 16.53 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.475/1.475, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.001215/0.001215, allocations: 51.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2682, allocations: 46.63 MB / 325.3 MB, free: 1.887 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4878/0.756, allocations: 172.7 MB / 498.1 MB, free: 132 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003353/0.7594, allocations: 3.208 MB / 0.4895 GB, free: 36 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.7596, allocations: 6.281 kB / 0.4895 GB, free: 36 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005704/0.7602, allocations: 168 kB / 0.4897 GB, free: 32 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008115/0.7611, allocations: 418 kB / 0.4901 GB, free: 4 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008373/0.7619, allocations: 341.7 kB / 0.4904 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008333/0.7628, allocations: 0.8986 MB / 0.4913 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.763, allocations: 100.9 kB / 0.4914 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.765, allocations: 0.7935 MB / 0.4922 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004781/0.7654, allocations: 269.6 kB / 0.4924 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.355e-05/0.7655, allocations: 38.5 kB / 0.4925 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004883/0.766, allocations: 124.9 kB / 0.4926 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.7662, allocations: 94.25 kB / 0.4927 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.7666, allocations: 189.7 kB / 0.4929 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.7676, allocations: 0.507 MB / 0.4933 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.7677, allocations: 1.203 kB / 0.4933 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.7677, allocations: 0 / 0.4933 GB, free: 15.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.7677, allocations: 0 / 0.4933 GB, free: 15.91 MB / 398.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.00135/0.769, allocations: 0.5857 MB / 0.4939 GB, free: 15.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/0.7691, allocations: 9.344 kB / 0.4939 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004442/0.7696, allocations: 41.28 kB / 0.494 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.7701, allocations: 291.8 kB / 0.4942 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.7702, allocations: 20.88 kB / 0.4943 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/0.7703, allocations: 26.58 kB / 0.4943 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000679/0.771, allocations: 317.1 kB / 0.4946 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.771, allocations: 8.781 kB / 0.4946 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.7711, allocations: 9.25 kB / 0.4946 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.7711, allocations: 10.19 kB / 0.4946 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.7714, allocations: 200.4 kB / 0.4948 GB, free: 15.12 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.001994/0.7734, allocations: 1.599 MB / 0.4964 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.7737, allocations: 177.4 kB / 0.4965 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.7739, allocations: 103.7 kB / 0.4966 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.7739, allocations: 6.734 kB / 0.4966 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.774, allocations: 37.47 kB / 0.4967 GB, free: 13.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.774, allocations: 0 / 0.4967 GB, free: 13.84 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.005574/0.7796, allocations: 1.607 MB / 0.4983 GB, free: 13.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.7796, allocations: 56.5 kB / 0.4983 GB, free: 13.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.7799, allocations: 254.7 kB / 0.4985 GB, free: 12.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.7799, allocations: 32.92 kB / 0.4986 GB, free: 12.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.7801, allocations: 176.1 kB / 0.4987 GB, free: 12.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.288e-05/0.7802, allocations: 98.36 kB / 0.4988 GB, free: 12.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.7803, allocations: 88.2 kB / 0.4989 GB, free: 12.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7804, allocations: 338.4 kB / 0.4992 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.7806, allocations: 90.2 kB / 0.4993 GB, free: 12.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.7808, allocations: 187.6 kB / 0.4995 GB, free: 12.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.7813, allocations: 307.4 kB / 0.4998 GB, free: 12.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7813, allocations: 0 / 0.4998 GB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000621/0.7819, allocations: 394.7 kB / 0.5002 GB, free: 12.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.7819, allocations: 10.02 kB / 0.5002 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.7819, allocations: 6.25 kB / 0.5002 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002252/0.7822, allocations: 79.94 kB / 0.5003 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.7825, allocations: 80.62 kB / 0.5004 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.7841, allocations: 1.947 MB / 0.5023 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.7843, allocations: 11.14 kB / 0.5023 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.7844, allocations: 44.23 kB / 0.5023 GB, free: 10.18 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.0001746/0.7845, allocations: 155.8 kB / 0.5025 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.7846, allocations: 31.03 kB / 0.5025 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009289/0.7855, allocations: 443.1 kB / 0.5029 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.7856, allocations: 1.781 kB / 0.5029 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.7856, allocations: 4.297 kB / 0.5029 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005501/0.7861, allocations: 0.5608 MB / 0.5035 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009941/0.7871, allocations: 0.7296 MB / 0.5042 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.7871, allocations: 0 / 0.5042 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.7874, allocations: 67 kB / 0.5042 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-05/0.7875, allocations: 30.39 kB / 0.5043 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.7876, allocations: 15.75 kB / 0.5043 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009138/0.7885, allocations: 1.382 MB / 0.5056 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7885, allocations: 0 / 0.5056 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.7891, allocations: 475.8 kB / 0.5061 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.9e-05/0.7892, allocations: 105.1 kB / 0.5062 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.7893, allocations: 8.297 kB / 0.5062 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.7895, allocations: 9.531 kB / 0.5062 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.7896, allocations: 32.53 kB / 0.5062 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.7896, allocations: 27.55 kB / 0.5063 GB, free: 7.496 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.7898, allocations: 189.5 kB / 0.5064 GB, free: 7.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7898, allocations: 0 / 0.5064 GB, free: 7.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000515/0.7903, allocations: 128.2 kB / 0.5066 GB, free: 7.41 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.000395/0.7908, allocations: 153.1 kB / 0.5067 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006735/0.7914, allocations: 394.3 kB / 0.5071 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.7914, allocations: 2.531 kB / 0.5071 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.7917, allocations: 229 kB / 0.5073 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009337/0.7927, allocations: 167.5 kB / 0.5075 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.794, allocations: 0.6973 MB / 0.5081 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.7943, allocations: 0.7724 MB / 0.5089 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005414/0.7948, allocations: 115.7 kB / 0.509 GB, free: 5.918 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.7951, allocations: 64.11 kB / 0.5091 GB, free: 5.902 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.7951, allocations: 0 / 0.5091 GB, free: 5.902 MB / 398.1 MB Notification: Performance of Templates: time 0.01455/0.8096, allocations: 8.709 MB / 0.5176 GB, free: 496 kB / 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)