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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001481/0.001481, allocations: 167.8 kB / 7.638 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.57/1.57, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001981/0.00198, allocations: 113.2 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.3e-05/2.309e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08579/0.08583, allocations: 38.76 MB / 301 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.018/2.104, allocations: 0.7004 GB / 0.9943 GB, free: 96.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/2.104, allocations: 70.69 kB / 0.9943 GB, free: 96.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06956/2.174, allocations: 32.95 MB / 1.027 GB, free: 71.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.435e-06/2.174, allocations: 0 / 1.027 GB, free: 71.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/2.174, allocations: 4 kB / 1.027 GB, free: 71.3 MB / 346.7 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.0005769/2.175, allocations: 413 kB / 1.027 GB, free: 70.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/2.175, allocations: 12.03 kB / 1.027 GB, free: 70.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/2.176, allocations: 182.9 kB / 1.027 GB, free: 70.69 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/2.177, allocations: 210.3 kB / 1.027 GB, free: 70.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/2.177, allocations: 0 / 1.027 GB, free: 70.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/2.177, allocations: 11.94 kB / 1.027 GB, free: 70.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003521/2.177, allocations: 184.8 kB / 1.027 GB, free: 70.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/2.177, allocations: 161.1 kB / 1.028 GB, free: 70.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/2.177, allocations: 0 / 1.028 GB, free: 70.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/2.177, allocations: 0 / 1.028 GB, free: 70.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/2.177, allocations: 4 kB / 1.028 GB, free: 70.21 MB / 346.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001326/2.179, allocations: 0.5947 MB / 1.028 GB, free: 69.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/2.179, allocations: 147.4 kB / 1.028 GB, free: 69.58 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/2.179, allocations: 67.23 kB / 1.028 GB, free: 69.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/2.179, allocations: 96.41 kB / 1.029 GB, free: 69.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/2.179, allocations: 38.56 kB / 1.029 GB, free: 69.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.034e-06/2.179, allocations: 0 / 1.029 GB, free: 69.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.003809/2.183, allocations: 1.003 MB / 1.03 GB, free: 68.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/2.183, allocations: 51.41 kB / 1.03 GB, free: 68.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/2.183, allocations: 104.3 kB / 1.03 GB, free: 68.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/2.183, allocations: 25.7 kB / 1.03 GB, free: 68.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/2.183, allocations: 99.86 kB / 1.03 GB, free: 68.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/2.183, allocations: 69.94 kB / 1.03 GB, free: 68.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/2.183, allocations: 0 / 1.03 GB, free: 68.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.141e-05/2.183, allocations: 322.6 kB / 1.03 GB, free: 67.74 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.176e-05/2.184, allocations: 64.62 kB / 1.03 GB, free: 67.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/2.184, allocations: 101.8 kB / 1.03 GB, free: 67.62 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/2.184, allocations: 82.53 kB / 1.03 GB, free: 67.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/2.184, allocations: 0 / 1.03 GB, free: 67.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003454/2.184, allocations: 231.8 kB / 1.031 GB, free: 67.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/2.184, allocations: 15.86 kB / 1.031 GB, free: 67.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/2.184, allocations: 0 / 1.031 GB, free: 67.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001144/2.184, allocations: 24.89 kB / 1.031 GB, free: 67.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/2.185, allocations: 55.75 kB / 1.031 GB, free: 67.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002654/2.185, allocations: 0.5431 MB / 1.031 GB, free: 66.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/2.185, allocations: 0 / 1.031 GB, free: 66.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/2.185, allocations: 8 kB / 1.031 GB, free: 66.74 MB / 346.7 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 () * 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 8.625e-05/2.185, allocations: 109.2 kB / 1.031 GB, free: 66.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/2.185, allocations: 15.98 kB / 1.031 GB, free: 66.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004813/2.186, allocations: 266.3 kB / 1.032 GB, free: 66.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/2.186, allocations: 7.984 kB / 1.032 GB, free: 66.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/2.186, allocations: 0 / 1.032 GB, free: 66.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/2.186, allocations: 0 / 1.032 GB, free: 66.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007413/2.187, allocations: 0.5957 MB / 1.032 GB, free: 65.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/2.187, allocations: 0 / 1.032 GB, free: 65.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/2.187, allocations: 47.95 kB / 1.032 GB, free: 65.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-05/2.187, allocations: 15.36 kB / 1.032 GB, free: 65.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/2.187, allocations: 7.984 kB / 1.032 GB, free: 65.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000616/2.188, allocations: 1.217 MB / 1.033 GB, free: 64.46 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/2.188, allocations: 7.984 kB / 1.034 GB, free: 64.46 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/2.188, allocations: 427.9 kB / 1.034 GB, free: 63.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/2.188, allocations: 85.05 kB / 1.034 GB, free: 63.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/2.188, allocations: 4 kB / 1.034 GB, free: 63.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/2.188, allocations: 7.984 kB / 1.034 GB, free: 63.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/2.189, allocations: 20.05 kB / 1.034 GB, free: 63.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/2.189, allocations: 7.984 kB / 1.034 GB, free: 63.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.122e-05/2.189, allocations: 87.28 kB / 1.034 GB, free: 63.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/2.189, allocations: 0 / 1.034 GB, free: 63.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006624/2.189, allocations: 151.9 kB / 1.034 GB, free: 63.62 MB / 346.7 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 () * 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.001224/2.19, allocations: 0.7042 MB / 1.035 GB, free: 62.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003631/2.191, allocations: 183.8 kB / 1.035 GB, free: 62.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/2.191, allocations: 3.938 kB / 1.035 GB, free: 62.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002264/2.191, allocations: 205.9 kB / 1.035 GB, free: 62.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/2.192, allocations: 43.89 kB / 1.035 GB, free: 62.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/2.192, allocations: 311.8 kB / 1.036 GB, free: 62.13 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/2.192, allocations: 0.7085 MB / 1.036 GB, free: 61.39 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003465/2.193, allocations: 45.17 kB / 1.036 GB, free: 61.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/2.193, allocations: 27.36 kB / 1.036 GB, free: 61.32 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/2.193, allocations: 0 / 1.036 GB, free: 61.32 MB / 346.7 MB Notification: Performance of Templates: time 0.01226/2.205, allocations: 7.656 MB / 1.044 GB, free: 53.66 MB / 346.7 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)