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.0008077/0.0008074, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006189/0.006189, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.435/1.435, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0008452/0.0008452, allocations: 12 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.283, allocations: 47.59 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4482/0.7313, allocations: 168.4 MB / 495.4 MB, free: 14.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003159/0.7345, allocations: 3.19 MB / 498.6 MB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002812/0.7348, allocations: 9.062 kB / 498.6 MB, free: 13.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005462/0.7353, allocations: 136.8 kB / 498.7 MB, free: 13.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008293/0.7362, allocations: 393.8 kB / 499.1 MB, free: 13.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007636/0.7369, allocations: 316.7 kB / 499.4 MB, free: 13.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.7381, allocations: 1.346 MB / 0.489 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.7383, allocations: 76.7 kB / 0.4891 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.7399, allocations: 0.7083 MB / 0.4898 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.7402, allocations: 286.5 kB / 0.4901 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.7402, allocations: 13.84 kB / 0.4901 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.7405, allocations: 103.3 kB / 0.4902 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.993e-05/0.7406, allocations: 89.19 kB / 0.4903 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.7408, allocations: 191.6 kB / 0.4905 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005752/0.7414, allocations: 0.4952 MB / 0.4909 GB, free: 12.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7414, allocations: 0 / 0.4909 GB, free: 12.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7414, allocations: 0 / 0.4909 GB, free: 12.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.7414, allocations: 0 / 0.4909 GB, free: 12.83 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.0007478/0.7422, allocations: 0.5203 MB / 0.4914 GB, free: 12.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.7422, allocations: 11.09 kB / 0.4915 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.7425, allocations: 40.5 kB / 0.4915 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.7429, allocations: 285 kB / 0.4918 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.7429, allocations: 18.94 kB / 0.4918 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.743, allocations: 27.52 kB / 0.4918 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005156/0.7435, allocations: 322.4 kB / 0.4921 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.7435, allocations: 7.922 kB / 0.4921 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.7436, allocations: 13.12 kB / 0.4921 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.7436, allocations: 5.781 kB / 0.4921 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.7439, allocations: 201.1 kB / 0.4923 GB, free: 11.9 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.001731/0.7456, allocations: 1.584 MB / 0.4939 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.7459, allocations: 179.6 kB / 0.4941 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.7461, allocations: 98.45 kB / 0.4942 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.7461, allocations: 5.25 kB / 0.4942 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.7462, allocations: 34.25 kB / 0.4942 GB, free: 10.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.7462, allocations: 3.188 kB / 0.4942 GB, free: 10.45 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.005543/0.7517, allocations: 1.623 MB / 0.4958 GB, free: 9.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.7518, allocations: 54.25 kB / 0.4958 GB, free: 9.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.7521, allocations: 258.3 kB / 0.4961 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.7521, allocations: 32.58 kB / 0.4961 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.7522, allocations: 182.4 kB / 0.4963 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.838e-05/0.7523, allocations: 92.81 kB / 0.4964 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.7524, allocations: 35.08 kB / 0.4964 GB, free: 9.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7525, allocations: 344.4 kB / 0.4967 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.7527, allocations: 91.67 kB / 0.4968 GB, free: 8.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.7529, allocations: 187.2 kB / 0.497 GB, free: 8.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/0.7533, allocations: 313.5 kB / 0.4973 GB, free: 8.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7533, allocations: 0 / 0.4973 GB, free: 8.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006427/0.754, allocations: 391.8 kB / 0.4977 GB, free: 8.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.754, allocations: 6.156 kB / 0.4977 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.754, allocations: 4.656 kB / 0.4977 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/0.7543, allocations: 74.61 kB / 0.4978 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.7546, allocations: 89.8 kB / 0.4978 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.7562, allocations: 1.852 MB / 0.4996 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.7565, allocations: 22.41 kB / 0.4997 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/0.7565, allocations: 40.17 kB / 0.4997 GB, free: 6.473 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.0001894/0.7567, allocations: 156.4 kB / 0.4999 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.7568, allocations: 32.22 kB / 0.4999 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009252/0.7577, allocations: 437.4 kB / 0.5003 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7577, allocations: 2.938 kB / 0.5003 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.7577, allocations: 1.969 kB / 0.5003 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005086/0.7583, allocations: 0.5604 MB / 0.5009 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000923/0.7592, allocations: 0.7233 MB / 0.5016 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.7592, allocations: 0 / 0.5016 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.7595, allocations: 80.17 kB / 0.5016 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.618e-05/0.7596, allocations: 25.19 kB / 0.5017 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.7596, allocations: 15.52 kB / 0.5017 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009675/0.7606, allocations: 1.28 MB / 0.5029 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.7606, allocations: 3.984 kB / 0.5029 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007218/0.7613, allocations: 485.7 kB / 0.5034 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.7614, allocations: 110.8 kB / 0.5035 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.7615, allocations: 6.531 kB / 0.5035 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.7617, allocations: 11.91 kB / 0.5035 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.7618, allocations: 29.47 kB / 0.5035 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.705e-05/0.7619, allocations: 28.95 kB / 0.5036 GB, free: 3.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.7621, allocations: 197.6 kB / 0.5038 GB, free: 3.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7621, allocations: 0 / 0.5038 GB, free: 3.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005111/0.7626, allocations: 122.8 kB / 0.5039 GB, free: 3.484 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.0003681/0.763, allocations: 155.2 kB / 0.504 GB, free: 3.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006195/0.7636, allocations: 370.7 kB / 0.5044 GB, free: 3.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7636, allocations: 0 / 0.5044 GB, free: 3.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.7639, allocations: 228.9 kB / 0.5046 GB, free: 3.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009844/0.7649, allocations: 163.1 kB / 0.5048 GB, free: 3.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.7661, allocations: 0.8667 MB / 0.5056 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.7664, allocations: 0.7636 MB / 0.5063 GB, free: 1.703 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005447/0.7669, allocations: 111.3 kB / 0.5065 GB, free: 1.652 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.7671, allocations: 68.72 kB / 0.5065 GB, free: 1.629 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.7671, allocations: 0 / 0.5065 GB, free: 1.629 MB / 398.1 MB Notification: Performance of Templates: time 0.01364/0.7808, allocations: 8.404 MB / 0.5147 GB, free: 13.36 MB / 414.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)