Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007676/0.007677, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001918/0.001918, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.388/1.388, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001418/0.001418, allocations: 55.89 kB / 326.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09354/0.09497, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3999/0.4949, allocations: 150.6 MB / 0.5115 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.4961, allocations: 0.9746 MB / 0.5124 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.4962, allocations: 0 / 0.5124 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.4965, allocations: 33.17 kB / 0.5124 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006454/0.4972, allocations: 248.3 kB / 0.5127 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.4976, allocations: 123.7 kB / 0.5128 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.4978, allocations: 169.6 kB / 0.513 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.4979, allocations: 2.562 kB / 0.513 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.4981, allocations: 92 kB / 0.5131 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.4982, allocations: 49.3 kB / 0.5131 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.4982, allocations: 5.031 kB / 0.5131 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.4987, allocations: 262.5 kB / 0.5134 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/0.4987, allocations: 24.84 kB / 0.5134 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.4988, allocations: 46.08 kB / 0.5134 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.4992, allocations: 286.8 kB / 0.5137 GB, free: 4.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4992, allocations: 0 / 0.5137 GB, free: 4.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4992, allocations: 0 / 0.5137 GB, free: 4.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.4992, allocations: 0 / 0.5137 GB, free: 4.047 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005324/0.4998, allocations: 408.3 kB / 0.5141 GB, free: 3.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.4998, allocations: 10.84 kB / 0.5141 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.502, allocations: 191.5 kB / 0.5143 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.5023, allocations: 202.9 kB / 0.5145 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.5023, allocations: 12.72 kB / 0.5145 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.5024, allocations: 13.5 kB / 0.5145 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.5029, allocations: 224.2 kB / 0.5147 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.5029, allocations: 0 / 0.5147 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.503, allocations: 6.562 kB / 0.5147 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.503, allocations: 3.125 kB / 0.5147 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.5034, allocations: 171.8 kB / 0.5149 GB, free: 3.07 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.001111/0.5046, allocations: 0.5858 MB / 0.5155 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.5049, allocations: 137.4 kB / 0.5156 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.5051, allocations: 70.36 kB / 0.5157 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.5051, allocations: 6.766 kB / 0.5157 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.5052, allocations: 34.56 kB / 0.5157 GB, free: 2.336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.5052, allocations: 0 / 0.5157 GB, free: 2.336 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005509/0.5107, allocations: 1.293 MB / 0.517 GB, free: 1.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.5108, allocations: 53.47 kB / 0.517 GB, free: 1.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/0.5108, allocations: 116 kB / 0.5171 GB, free: 1.285 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.5109, allocations: 25.7 kB / 0.5171 GB, free: 1.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.5109, allocations: 98.61 kB / 0.5172 GB, free: 1.156 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.511, allocations: 72.55 kB / 0.5173 GB, free: 1.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.351e-05/0.5111, allocations: 56.75 kB / 0.5174 GB, free: 1.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.5112, allocations: 321.5 kB / 0.5177 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.5114, allocations: 69.38 kB / 0.5177 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.5115, allocations: 110.3 kB / 0.5178 GB, free: 0.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.5119, allocations: 186.3 kB / 0.518 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5119, allocations: 0 / 0.518 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004938/0.5124, allocations: 263.6 kB / 0.5183 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.5124, allocations: 8.812 kB / 0.5183 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5124, allocations: 2.562 kB / 0.5183 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002043/0.5126, allocations: 47.42 kB / 0.5183 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.513, allocations: 59.86 kB / 0.5184 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000439/0.5134, allocations: 0.5625 MB / 0.5189 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.5136, allocations: 14.8 kB / 0.5189 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.5137, allocations: 22.44 kB / 0.519 GB, free: 15.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.5138, allocations: 126.8 kB / 0.5191 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.5139, allocations: 15.89 kB / 0.5191 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007159/0.5146, allocations: 338 kB / 0.5194 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5146, allocations: 6.375 kB / 0.5194 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5146, allocations: 6.188 kB / 0.5194 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5146, allocations: 0 / 0.5194 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009381/0.5156, allocations: 0.6251 MB / 0.52 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5156, allocations: 0 / 0.52 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.5159, allocations: 57.83 kB / 0.5201 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.325e-05/0.516, allocations: 30.59 kB / 0.5201 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.5161, allocations: 15.64 kB / 0.5201 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008809/0.517, allocations: 1.365 MB / 0.5215 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.517, allocations: 0 / 0.5215 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006674/0.5176, allocations: 436.9 kB / 0.5219 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.5177, allocations: 91.14 kB / 0.522 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.5178, allocations: 6.438 kB / 0.522 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.518, allocations: 5.875 kB / 0.522 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.518, allocations: 20.75 kB / 0.522 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.5181, allocations: 30.42 kB / 0.522 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.691e-05/0.5181, allocations: 93.2 kB / 0.5221 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5181, allocations: 3.938 kB / 0.5221 GB, free: 12.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003974/0.5186, allocations: 79.38 kB / 0.5222 GB, free: 12.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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.0003716/0.5189, allocations: 153.2 kB / 0.5224 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004938/0.5194, allocations: 209.8 kB / 0.5226 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5194, allocations: 0 / 0.5226 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003289/0.5198, allocations: 219 kB / 0.5228 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.5202, allocations: 44.02 kB / 0.5228 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008279/0.5211, allocations: 486.8 kB / 0.5233 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.5213, allocations: 0.7012 MB / 0.524 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002964/0.5216, allocations: 72.61 kB / 0.524 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.5218, allocations: 51.59 kB / 0.5241 GB, free: 11.38 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5218, allocations: 0 / 0.5241 GB, free: 11.38 MB / 414.1 MB Notification: Performance of Templates: time 0.009398/0.5312, allocations: 5.628 MB / 0.5296 GB, free: 5.969 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)