Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001294/0.001294, 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.001152/0.001152, allocations: 193.6 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.386/1.386, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001375/0.001375, allocations: 47.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2253, allocations: 46.64 MB / 325.3 MB, free: 2.094 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4039/0.6293, allocations: 172.7 MB / 498.1 MB, free: 152 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002947/0.6323, allocations: 3.215 MB / 0.4895 GB, free: 48 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.6325, allocations: 4.531 kB / 0.4895 GB, free: 48 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005086/0.6331, allocations: 171.2 kB / 0.4897 GB, free: 44 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006904/0.6338, allocations: 408.5 kB / 0.4901 GB, free: 20 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006666/0.6344, allocations: 345.8 kB / 0.4904 GB, free: 4 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006371/0.6351, allocations: 0.8958 MB / 0.4913 GB, free: 0 / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.6353, allocations: 105.1 kB / 0.4914 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.6368, allocations: 0.798 MB / 0.4922 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000286/0.6371, allocations: 264.9 kB / 0.4924 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.6371, allocations: 33.27 kB / 0.4925 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.6374, allocations: 125 kB / 0.4926 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.6375, allocations: 92.64 kB / 0.4927 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.6377, allocations: 190.5 kB / 0.4928 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004969/0.6382, allocations: 0.51 MB / 0.4933 GB, free: 15.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.6382, allocations: 2.156 kB / 0.4933 GB, free: 15.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6382, allocations: 0 / 0.4933 GB, free: 15.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.6383, allocations: 1.203 kB / 0.4933 GB, free: 15.93 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.0007983/0.6391, allocations: 0.5858 MB / 0.4939 GB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.6391, allocations: 7.469 kB / 0.4939 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.6394, allocations: 43.3 kB / 0.494 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.6398, allocations: 288.5 kB / 0.4942 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.6398, allocations: 19.97 kB / 0.4943 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.6398, allocations: 22.12 kB / 0.4943 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.6403, allocations: 325.4 kB / 0.4946 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.6404, allocations: 5.031 kB / 0.4946 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.6404, allocations: 14.47 kB / 0.4946 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.6404, allocations: 7.625 kB / 0.4946 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003006/0.6407, allocations: 200.2 kB / 0.4948 GB, free: 15.14 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.001765/0.6425, allocations: 1.597 MB / 0.4964 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.6428, allocations: 179.9 kB / 0.4965 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.6429, allocations: 99.31 kB / 0.4966 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.6429, allocations: 7.828 kB / 0.4966 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.643, allocations: 37.12 kB / 0.4967 GB, free: 13.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.643, allocations: 3.938 kB / 0.4967 GB, free: 13.86 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.005719/0.6487, allocations: 1.616 MB / 0.4983 GB, free: 13.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.6488, allocations: 53.94 kB / 0.4983 GB, free: 13.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.649, allocations: 251.6 kB / 0.4986 GB, free: 12.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.6491, allocations: 36.81 kB / 0.4986 GB, free: 12.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.6492, allocations: 173.7 kB / 0.4988 GB, free: 12.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/0.6493, allocations: 94.72 kB / 0.4988 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.6494, allocations: 87.89 kB / 0.4989 GB, free: 12.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.6496, allocations: 342.1 kB / 0.4993 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.6497, allocations: 83.8 kB / 0.4993 GB, free: 12.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.65, allocations: 192.6 kB / 0.4995 GB, free: 12.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004624/0.6505, allocations: 303.8 kB / 0.4998 GB, free: 12.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6505, allocations: 2.094 kB / 0.4998 GB, free: 12.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007501/0.6512, allocations: 398.9 kB / 0.5002 GB, free: 12.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.6513, allocations: 6.531 kB / 0.5002 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.6513, allocations: 5.875 kB / 0.5002 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002924/0.6516, allocations: 73.62 kB / 0.5003 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.652, allocations: 83.16 kB / 0.5003 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.6537, allocations: 1.951 MB / 0.5023 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.6539, allocations: 11.34 kB / 0.5023 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/0.654, allocations: 41.98 kB / 0.5023 GB, free: 10.2 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.0001965/0.6542, allocations: 155.8 kB / 0.5025 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-05/0.6543, allocations: 30.34 kB / 0.5025 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.6553, allocations: 437.1 kB / 0.5029 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.6553, allocations: 2.781 kB / 0.5029 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.6553, allocations: 0 / 0.5029 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005867/0.6559, allocations: 0.564 MB / 0.5035 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.6569, allocations: 0.7388 MB / 0.5042 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6569, allocations: 0 / 0.5042 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.6572, allocations: 69.59 kB / 0.5042 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.105e-05/0.6573, allocations: 24.02 kB / 0.5043 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.6574, allocations: 16.84 kB / 0.5043 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.6584, allocations: 1.377 MB / 0.5056 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.6585, allocations: 2.406 kB / 0.5056 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006428/0.6591, allocations: 480.1 kB / 0.5061 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/0.6592, allocations: 105.6 kB / 0.5062 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.6593, allocations: 9.844 kB / 0.5062 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.6595, allocations: 7.797 kB / 0.5062 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.6596, allocations: 24.61 kB / 0.5062 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/0.6596, allocations: 34.92 kB / 0.5063 GB, free: 7.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002154/0.6599, allocations: 189.9 kB / 0.5064 GB, free: 7.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6599, allocations: 0 / 0.5064 GB, free: 7.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005257/0.6604, allocations: 127.2 kB / 0.5066 GB, free: 7.426 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.0004115/0.6608, allocations: 154 kB / 0.5067 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007099/0.6615, allocations: 388.6 kB / 0.5071 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6616, allocations: 0 / 0.5071 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.6618, allocations: 234.8 kB / 0.5073 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009349/0.6628, allocations: 167.8 kB / 0.5075 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.664, allocations: 0.6963 MB / 0.5081 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.6644, allocations: 0.762 MB / 0.5089 GB, free: 5.988 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005463/0.6649, allocations: 118.1 kB / 0.509 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.6652, allocations: 69.47 kB / 0.5091 GB, free: 5.922 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.6652, allocations: 1.094 kB / 0.5091 GB, free: 5.922 MB / 398.1 MB Notification: Performance of Templates: time 0.01499/0.6802, allocations: 8.703 MB / 0.5176 GB, free: 0.625 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)