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.0009822/0.0009822, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001102/0.001102, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.4 MB / 222.1 MB, free: 5.684 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.0004723/0.0004723, allocations: 16 kB / 278.9 MB, free: 12.87 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2331, allocations: 47.58 MB / 326.4 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.1484/0.3816, allocations: 125.7 MB / 452.1 MB, free: 5.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.3832, allocations: 1.24 MB / 453.4 MB, free: 4.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.357e-05/0.3833, allocations: 3.938 kB / 453.4 MB, free: 4.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.3836, allocations: 35.84 kB / 453.4 MB, free: 4.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006819/0.3843, allocations: 275.2 kB / 453.7 MB, free: 3.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.3847, allocations: 143.6 kB / 453.8 MB, free: 3.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.3849, allocations: 111.8 kB / 453.9 MB, free: 3.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.353e-05/0.385, allocations: 7.984 kB / 453.9 MB, free: 3.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.3852, allocations: 79.7 kB / 454 MB, free: 3.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3853, allocations: 43.83 kB / 454.1 MB, free: 3.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.3853, allocations: 4 kB / 454.1 MB, free: 3.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008594/0.3862, allocations: 439.4 kB / 454.5 MB, free: 3.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.3862, allocations: 31.91 kB / 454.5 MB, free: 3.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.3863, allocations: 45.64 kB / 454.6 MB, free: 3.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.3867, allocations: 256.8 kB / 454.8 MB, free: 2.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3867, allocations: 4 kB / 454.8 MB, free: 2.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3867, allocations: 0 / 454.8 MB, free: 2.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3867, allocations: 0 / 454.8 MB, free: 2.832 MB / 382.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.000476/0.3872, allocations: 399.3 kB / 455.2 MB, free: 2.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3872, allocations: 8.031 kB / 455.2 MB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.3894, allocations: 199.6 kB / 455.4 MB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.3897, allocations: 206.9 kB / 455.6 MB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3897, allocations: 8.188 kB / 455.6 MB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.3898, allocations: 12 kB / 455.6 MB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004661/0.3902, allocations: 199 kB / 455.8 MB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3903, allocations: 0 / 455.8 MB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.3903, allocations: 8 kB / 455.8 MB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.3903, allocations: 4 kB / 455.8 MB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005437/0.3909, allocations: 236.4 kB / 456.1 MB, free: 1.488 MB / 382.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.00208/0.3929, allocations: 0.676 MB / 456.7 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.3935, allocations: 186.4 kB / 456.9 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.3937, allocations: 93.09 kB / 457 MB, free: 464 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.3937, allocations: 30.56 kB / 457.1 MB, free: 424 kB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.3937, allocations: 4 kB / 457.1 MB, free: 420 kB / 382.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.2352/0.6289, allocations: 1.529 MB / 458.6 MB, free: 5.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.629, allocations: 57.38 kB / 458.6 MB, free: 5.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.6291, allocations: 107.8 kB / 458.7 MB, free: 5.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.6292, allocations: 30.61 kB / 458.8 MB, free: 5.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.6292, allocations: 100.8 kB / 458.9 MB, free: 5.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/0.6293, allocations: 62.48 kB / 458.9 MB, free: 5.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.6293, allocations: 4.469 kB / 458.9 MB, free: 5.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.6294, allocations: 322.9 kB / 459.3 MB, free: 5.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.6297, allocations: 93.92 kB / 459.3 MB, free: 5.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.63, allocations: 123.4 kB / 459.5 MB, free: 5.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.6304, allocations: 92.81 kB / 459.6 MB, free: 5.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.6304, allocations: 0.5625 kB / 459.6 MB, free: 5.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008071/0.6312, allocations: 288.1 kB / 459.8 MB, free: 5.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.6312, allocations: 5.562 kB / 459.8 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.6312, allocations: 1.219 kB / 459.8 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001945/0.6314, allocations: 24.48 kB / 459.9 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/0.632, allocations: 66.83 kB / 459.9 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002896/0.6323, allocations: 0.5383 MB / 460.5 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.6325, allocations: 9.5 kB / 460.5 MB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.6326, allocations: 14.75 kB / 460.5 MB, free: 4.688 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.6327, allocations: 127.5 kB / 460.6 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.6328, allocations: 10.02 kB / 460.6 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/0.6335, allocations: 321.8 kB / 460.9 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6335, allocations: 6.312 kB / 461 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6335, allocations: 0 / 461 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.6335, allocations: 3.094 kB / 461 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.6345, allocations: 0.6739 MB / 461.6 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6346, allocations: 0 / 461.6 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.635, allocations: 61.78 kB / 461.7 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.308e-05/0.6351, allocations: 19.05 kB / 461.7 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.6351, allocations: 13.06 kB / 461.7 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006606/0.6358, allocations: 1.27 MB / 463 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6358, allocations: 1.562 kB / 463 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008484/0.6366, allocations: 490.7 kB / 463.5 MB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.6367, allocations: 88.2 kB / 463.6 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.6367, allocations: 5.344 kB / 463.6 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.6371, allocations: 12.05 kB / 463.6 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.6371, allocations: 24.83 kB / 463.6 MB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.6371, allocations: 10.62 kB / 463.6 MB, free: 2.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.513e-05/0.6372, allocations: 88.09 kB / 463.7 MB, free: 2.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6372, allocations: 0 / 463.7 MB, free: 2.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000577/0.6378, allocations: 128.1 kB / 463.8 MB, free: 2.477 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006357/0.6384, allocations: 233.8 kB / 464 MB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005926/0.639, allocations: 228.4 kB / 464.3 MB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.639, allocations: 1.031 kB / 464.3 MB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.6394, allocations: 232 kB / 464.5 MB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.6398, allocations: 45.03 kB / 464.5 MB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.6407, allocations: 0.5651 MB / 465.1 MB, free: 1.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.6411, allocations: 0.711 MB / 465.8 MB, free: 17.22 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003985/0.6415, allocations: 63.64 kB / 465.9 MB, free: 17.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.6416, allocations: 23.12 kB / 465.9 MB, free: 17.17 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.6416, allocations: 0 / 465.9 MB, free: 17.17 MB / 398.1 MB Notification: Performance of Templates: time 0.009178/0.6508, allocations: 6.043 MB / 471.9 MB, free: 16.79 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: