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.005977/0.005977, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001276/0.001276, allocations: 195 kB / 16.67 MB, free: 5.977 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.439/1.439, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.001234/0.001234, allocations: 53.78 kB / 326.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08927/0.09051, allocations: 46.61 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.393/0.4835, allocations: 150.9 MB / 0.5117 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.4856, allocations: 1.488 MB / 0.5132 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.4857, allocations: 0 / 0.5132 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004047/0.4861, allocations: 56.53 kB / 0.5132 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009685/0.4871, allocations: 381.1 kB / 0.5136 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.4876, allocations: 182.5 kB / 0.5138 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.4878, allocations: 182.2 kB / 0.514 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.557e-05/0.4879, allocations: 9.016 kB / 0.514 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.488, allocations: 83.31 kB / 0.514 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.4882, allocations: 57.55 kB / 0.5141 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.4882, allocations: 7.719 kB / 0.5141 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000955/0.4892, allocations: 0.569 MB / 0.5147 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.35e-05/0.4893, allocations: 39.91 kB / 0.5147 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.864e-05/0.4893, allocations: 48.77 kB / 0.5147 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005927/0.4899, allocations: 392.4 kB / 0.5151 GB, free: 3.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.49, allocations: 3.938 kB / 0.5151 GB, free: 3.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.49, allocations: 0 / 0.5151 GB, free: 3.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.49, allocations: 2.469 kB / 0.5151 GB, free: 3.402 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006238/0.4906, allocations: 430 kB / 0.5155 GB, free: 2.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.4907, allocations: 10.25 kB / 0.5155 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/0.4929, allocations: 196 kB / 0.5157 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.4932, allocations: 205.8 kB / 0.5159 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4932, allocations: 10.84 kB / 0.5159 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.4933, allocations: 15.61 kB / 0.516 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.4938, allocations: 203.7 kB / 0.5161 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4938, allocations: 2.531 kB / 0.5162 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.4938, allocations: 4 kB / 0.5162 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.4938, allocations: 2.719 kB / 0.5162 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005974/0.4944, allocations: 239.2 kB / 0.5164 GB, free: 2.375 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.00175/0.4962, allocations: 0.6741 MB / 0.517 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.4967, allocations: 188 kB / 0.5172 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.4969, allocations: 87.58 kB / 0.5173 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.4971, allocations: 99.14 kB / 0.5174 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.4971, allocations: 38.55 kB / 0.5174 GB, free: 1.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.4971, allocations: 0 / 0.5174 GB, free: 1.461 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.00616/0.5033, allocations: 1.536 MB / 0.5189 GB, free: 376 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.5034, allocations: 54.03 kB / 0.519 GB, free: 312 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.868e-05/0.5035, allocations: 115.8 kB / 0.5191 GB, free: 196 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.5035, allocations: 25.7 kB / 0.5191 GB, free: 164 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.5036, allocations: 98.86 kB / 0.5192 GB, free: 64 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.657e-05/0.5037, allocations: 75.08 kB / 0.5193 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.5038, allocations: 42.61 kB / 0.5193 GB, free: 15.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5039, allocations: 325.6 kB / 0.5196 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.5041, allocations: 86.89 kB / 0.5197 GB, free: 15.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.5044, allocations: 125.7 kB / 0.5198 GB, free: 15.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.5049, allocations: 225.2 kB / 0.5201 GB, free: 15.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5049, allocations: 0 / 0.5201 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006566/0.5056, allocations: 295.3 kB / 0.5203 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5056, allocations: 5.375 kB / 0.5203 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5056, allocations: 3.156 kB / 0.5203 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.5058, allocations: 22.34 kB / 0.5204 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.5063, allocations: 56.86 kB / 0.5204 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004031/0.5067, allocations: 0.5355 MB / 0.5209 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.507, allocations: 12.73 kB / 0.521 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.5071, allocations: 11.78 kB / 0.521 GB, free: 14.62 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.0001399/0.5072, allocations: 126.1 kB / 0.5211 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.048e-05/0.5073, allocations: 13.7 kB / 0.5211 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007895/0.5081, allocations: 323.7 kB / 0.5214 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.5081, allocations: 2.594 kB / 0.5214 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.5081, allocations: 3.938 kB / 0.5214 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.5082, allocations: 3.984 kB / 0.5214 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.5093, allocations: 0.6768 MB / 0.5221 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.5094, allocations: 2.531 kB / 0.5221 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.5098, allocations: 50.95 kB / 0.5221 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.396e-05/0.5099, allocations: 26.81 kB / 0.5222 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.5099, allocations: 2.25 kB / 0.5222 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.511, allocations: 1.368 MB / 0.5235 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.511, allocations: 7.922 kB / 0.5235 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008447/0.5118, allocations: 450.7 kB / 0.5239 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.5119, allocations: 93.34 kB / 0.524 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.5119, allocations: 3.031 kB / 0.524 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.5123, allocations: 12.8 kB / 0.524 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.5123, allocations: 11.3 kB / 0.5241 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.5124, allocations: 15.89 kB / 0.5241 GB, free: 11.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.784e-05/0.5124, allocations: 88.44 kB / 0.5242 GB, free: 11.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5125, allocations: 0 / 0.5242 GB, free: 11.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005559/0.513, allocations: 134.6 kB / 0.5243 GB, free: 11.66 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 (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.0007276/0.5138, allocations: 261.1 kB / 0.5245 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006498/0.5144, allocations: 231.8 kB / 0.5247 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5144, allocations: 0 / 0.5247 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.5149, allocations: 238.6 kB / 0.525 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.5153, allocations: 47.89 kB / 0.525 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009601/0.5163, allocations: 474.8 kB / 0.5255 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.5167, allocations: 0.7046 MB / 0.5262 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003003/0.517, allocations: 61.53 kB / 0.5262 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.5171, allocations: 27.44 kB / 0.5262 GB, free: 9.629 MB / 414.1 MB Notification: Performance of SimCode: time 1.9e-07/0.5171, allocations: 0 / 0.5262 GB, free: 9.629 MB / 414.1 MB Notification: Performance of Templates: time 0.01144/0.5286, allocations: 6.255 MB / 0.5324 GB, free: 3.359 MB / 414.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)