Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00796/0.00796, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001882/0.001882, allocations: 192.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.35/1.35, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.001261/0.001261, allocations: 43.94 kB / 326.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09334/0.09461, allocations: 46.62 MB / 373.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3932/0.4878, allocations: 150.9 MB / 0.5117 GB, free: 8.441 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.4904, allocations: 1.491 MB / 0.5132 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.4906, allocations: 8 kB / 0.5132 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004255/0.4911, allocations: 43.73 kB / 0.5132 GB, free: 6.902 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.4924, allocations: 394.2 kB / 0.5136 GB, free: 6.516 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.493, allocations: 168.1 kB / 0.5138 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.4933, allocations: 179.3 kB / 0.5139 GB, free: 6.176 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.79e-05/0.4934, allocations: 4 kB / 0.5139 GB, free: 6.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.4936, allocations: 87.62 kB / 0.514 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.4939, allocations: 63.81 kB / 0.5141 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.4939, allocations: 4 kB / 0.5141 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.4951, allocations: 0.5768 MB / 0.5147 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.4952, allocations: 31.89 kB / 0.5147 GB, free: 5.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.4953, allocations: 51.73 kB / 0.5147 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007435/0.496, allocations: 386.8 kB / 0.5151 GB, free: 4.984 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.496, allocations: 3.938 kB / 0.5151 GB, free: 4.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.496, allocations: 0 / 0.5151 GB, free: 4.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.496, allocations: 3.938 kB / 0.5151 GB, free: 4.977 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006576/0.4967, allocations: 431 kB / 0.5155 GB, free: 4.508 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.4968, allocations: 8.031 kB / 0.5155 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.4989, allocations: 188.6 kB / 0.5157 GB, free: 4.316 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.4992, allocations: 212.2 kB / 0.5159 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.4993, allocations: 12.31 kB / 0.5159 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.4993, allocations: 7.953 kB / 0.5159 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.4998, allocations: 209.5 kB / 0.5161 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4999, allocations: 0 / 0.5161 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.4999, allocations: 4 kB / 0.5161 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4999, allocations: 4 kB / 0.5161 GB, free: 3.832 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006102/0.5005, allocations: 239.8 kB / 0.5164 GB, free: 3.598 MB / 446.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.00178/0.5023, allocations: 0.6725 MB / 0.517 GB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004344/0.5028, allocations: 191.7 kB / 0.5172 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.503, allocations: 92.81 kB / 0.5173 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.5032, allocations: 93.09 kB / 0.5174 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.5032, allocations: 38.56 kB / 0.5174 GB, free: 2.422 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.5032, allocations: 0 / 0.5174 GB, free: 2.422 MB / 446.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.005662/0.5089, allocations: 1.545 MB / 0.5189 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.5089, allocations: 51.41 kB / 0.519 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.475e-05/0.509, allocations: 113.8 kB / 0.5191 GB, free: 0.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.5091, allocations: 25.7 kB / 0.5191 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.5091, allocations: 100.4 kB / 0.5192 GB, free: 460 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.5092, allocations: 75.36 kB / 0.5193 GB, free: 384 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.5093, allocations: 49.69 kB / 0.5193 GB, free: 328 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.5094, allocations: 318.8 kB / 0.5196 GB, free: 0 / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.5097, allocations: 87.95 kB / 0.5197 GB, free: 15.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.5099, allocations: 127.2 kB / 0.5198 GB, free: 15.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.5104, allocations: 223.3 kB / 0.5201 GB, free: 15.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5104, allocations: 6.25 kB / 0.5201 GB, free: 15.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006318/0.511, allocations: 290.2 kB / 0.5203 GB, free: 15.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.5111, allocations: 8 kB / 0.5203 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5111, allocations: 320 / 0.5203 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.5112, allocations: 24.84 kB / 0.5204 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.5117, allocations: 55.89 kB / 0.5204 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003479/0.512, allocations: 0.5369 MB / 0.5209 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.5123, allocations: 8 kB / 0.521 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.5124, allocations: 15.97 kB / 0.521 GB, free: 14.57 MB / 462.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.0001248/0.5125, allocations: 129.7 kB / 0.5211 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.5126, allocations: 15.89 kB / 0.5211 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008107/0.5134, allocations: 315.2 kB / 0.5214 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5134, allocations: 4 kB / 0.5214 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.5134, allocations: 7.875 kB / 0.5214 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5134, allocations: 0 / 0.5214 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.5145, allocations: 0.6717 MB / 0.5221 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.5145, allocations: 4 kB / 0.5221 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004309/0.515, allocations: 47.95 kB / 0.5221 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.067e-05/0.5151, allocations: 20.84 kB / 0.5221 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.5151, allocations: 16.08 kB / 0.5222 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009406/0.5161, allocations: 1.364 MB / 0.5235 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5161, allocations: 0 / 0.5235 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008285/0.5169, allocations: 454.7 kB / 0.5239 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.517, allocations: 89.03 kB / 0.524 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.517, allocations: 4 kB / 0.524 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.5173, allocations: 12.86 kB / 0.524 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.5174, allocations: 19.92 kB / 0.524 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.5174, allocations: 11.98 kB / 0.5241 GB, free: 11.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.88e-05/0.5175, allocations: 91.33 kB / 0.5241 GB, free: 11.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5175, allocations: 0 / 0.5241 GB, free: 11.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005233/0.518, allocations: 127.7 kB / 0.5243 GB, free: 10.92 MB / 462.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 (19): * Single equations (assignments): 18 * 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.0006665/0.5187, allocations: 250.8 kB / 0.5245 GB, free: 10.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006435/0.5193, allocations: 243.7 kB / 0.5247 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5193, allocations: 0 / 0.5247 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.5198, allocations: 238.8 kB / 0.525 GB, free: 10.18 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.5202, allocations: 46.06 kB / 0.525 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008604/0.5211, allocations: 486.5 kB / 0.5255 GB, free: 9.633 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.5214, allocations: 0.7046 MB / 0.5262 GB, free: 8.902 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002911/0.5217, allocations: 49.39 kB / 0.5262 GB, free: 8.852 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.5218, allocations: 31.42 kB / 0.5262 GB, free: 8.824 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5218, allocations: 0 / 0.5262 GB, free: 8.824 MB / 462.1 MB Notification: Performance of Templates: time 0.0105/0.5323, allocations: 6.269 MB / 0.5324 GB, free: 2.547 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)