Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.008114/0.008114, allocations: 98.52 kB / 15.73 MB, free: 5.602 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.001683/0.001683, allocations: 194.2 kB / 16.67 MB, free: 5.523 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.41/1.41, allocations: 205.1 MB / 222.6 MB, free: 4.359 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.001863/0.001863, allocations: 50.08 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.105, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3629/0.468, allocations: 150.6 MB / 0.5115 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.4692, allocations: 0.9782 MB / 0.5124 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.4693, allocations: 0 / 0.5124 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.4695, allocations: 32.77 kB / 0.5124 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006651/0.4702, allocations: 246.6 kB / 0.5127 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.4706, allocations: 117.9 kB / 0.5128 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.4708, allocations: 171.4 kB / 0.513 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.4709, allocations: 5.438 kB / 0.513 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.4711, allocations: 85 kB / 0.513 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.732e-05/0.4712, allocations: 56.7 kB / 0.5131 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.4712, allocations: 2.812 kB / 0.5131 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005056/0.4717, allocations: 271.7 kB / 0.5134 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.334e-05/0.4718, allocations: 16.61 kB / 0.5134 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.569e-05/0.4719, allocations: 42.95 kB / 0.5134 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.4723, allocations: 278.3 kB / 0.5137 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4723, allocations: 0 / 0.5137 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.4723, allocations: 0 / 0.5137 GB, free: 4.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.4723, allocations: 3.938 kB / 0.5137 GB, free: 4.062 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.0004983/0.4728, allocations: 412.7 kB / 0.5141 GB, free: 3.664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.4729, allocations: 14 kB / 0.5141 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/0.4748, allocations: 187.1 kB / 0.5143 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.4751, allocations: 215.3 kB / 0.5145 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.4752, allocations: 7.562 kB / 0.5145 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.4752, allocations: 13.8 kB / 0.5145 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.4757, allocations: 227.3 kB / 0.5147 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.4757, allocations: 3 kB / 0.5147 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.4758, allocations: 4 kB / 0.5147 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.4758, allocations: 2.281 kB / 0.5147 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.4762, allocations: 170.9 kB / 0.5149 GB, free: 3.086 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.001026/0.4772, allocations: 0.5746 MB / 0.5154 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.4776, allocations: 137.3 kB / 0.5156 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.4777, allocations: 72.36 kB / 0.5156 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.4777, allocations: 5.031 kB / 0.5157 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.4778, allocations: 42.5 kB / 0.5157 GB, free: 2.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.4778, allocations: 0 / 0.5157 GB, free: 2.352 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.004986/0.4828, allocations: 1.304 MB / 0.517 GB, free: 1.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.4828, allocations: 57.94 kB / 0.517 GB, free: 1.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/0.4829, allocations: 107.9 kB / 0.5171 GB, free: 1.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.483, allocations: 31.8 kB / 0.5172 GB, free: 1.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.483, allocations: 95.17 kB / 0.5172 GB, free: 1.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.24e-05/0.4831, allocations: 78.78 kB / 0.5173 GB, free: 1.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.4832, allocations: 52.25 kB / 0.5174 GB, free: 1.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.4833, allocations: 324 kB / 0.5177 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.4835, allocations: 71.06 kB / 0.5177 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.4836, allocations: 102 kB / 0.5178 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.484, allocations: 181.8 kB / 0.518 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.484, allocations: 7.094 kB / 0.518 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004703/0.4845, allocations: 264.8 kB / 0.5183 GB, free: 384 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4845, allocations: 9.094 kB / 0.5183 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.4845, allocations: 0 / 0.5183 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/0.4847, allocations: 49.36 kB / 0.5183 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.485, allocations: 52.05 kB / 0.5184 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004182/0.4854, allocations: 0.5693 MB / 0.5189 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.4856, allocations: 10.39 kB / 0.519 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.4856, allocations: 21.66 kB / 0.519 GB, free: 15.79 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.0001167/0.4858, allocations: 128.4 kB / 0.5191 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.4858, allocations: 9.641 kB / 0.5191 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007068/0.4865, allocations: 344.3 kB / 0.5194 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.4866, allocations: 7.219 kB / 0.5194 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4866, allocations: 0 / 0.5194 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4866, allocations: 0 / 0.5194 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009415/0.4875, allocations: 0.6245 MB / 0.52 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4875, allocations: 2.531 kB / 0.5201 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.4879, allocations: 65.36 kB / 0.5201 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.157e-05/0.488, allocations: 16.59 kB / 0.5201 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.488, allocations: 19.8 kB / 0.5201 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009101/0.4889, allocations: 1.369 MB / 0.5215 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4889, allocations: 2.406 kB / 0.5215 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006717/0.4896, allocations: 436.7 kB / 0.5219 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.4897, allocations: 87.86 kB / 0.522 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.4897, allocations: 3.312 kB / 0.522 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.4899, allocations: 12.41 kB / 0.522 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.49, allocations: 29 kB / 0.522 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.49, allocations: 26.23 kB / 0.5221 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.702e-05/0.4901, allocations: 88.92 kB / 0.5221 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4901, allocations: 0 / 0.5221 GB, free: 12.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003975/0.4905, allocations: 83.59 kB / 0.5222 GB, free: 12.92 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.0003798/0.4909, allocations: 154.2 kB / 0.5224 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004866/0.4914, allocations: 202.2 kB / 0.5226 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4914, allocations: 4 kB / 0.5226 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.4917, allocations: 220.7 kB / 0.5228 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.4922, allocations: 52.95 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.0007949/0.493, allocations: 483.8 kB / 0.5233 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.4933, allocations: 0.7057 MB / 0.524 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003026/0.4936, allocations: 74.45 kB / 0.524 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.4938, allocations: 53.59 kB / 0.5241 GB, free: 11.38 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4938, allocations: 0 / 0.5241 GB, free: 11.38 MB / 414.1 MB Notification: Performance of Templates: time 0.009231/0.503, allocations: 5.624 MB / 0.5296 GB, free: 5.953 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)