Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001191/0.001191, allocations: 178.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.419/1.419, allocations: 194.5 MB / 211.6 MB, free: 3.059 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001667/0.001668, allocations: 109.7 kB / 256.9 MB, free: 4.328 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08368/0.08404, allocations: 44.5 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.337/1.421, allocations: 0.7133 GB / 1.06 GB, free: 117.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/1.421, allocations: 75.47 kB / 1.06 GB, free: 117.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06273/1.484, allocations: 33.79 MB / 1.093 GB, free: 83.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.484, allocations: 0 / 1.093 GB, free: 83.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/1.484, allocations: 3.938 kB / 1.093 GB, free: 83.7 MB / 410.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.0004194/1.484, allocations: 422.6 kB / 1.093 GB, free: 83.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/1.484, allocations: 8.031 kB / 1.093 GB, free: 83.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/1.486, allocations: 184 kB / 1.094 GB, free: 83.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/1.486, allocations: 210.8 kB / 1.094 GB, free: 82.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/1.486, allocations: 192 / 1.094 GB, free: 82.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/1.486, allocations: 12 kB / 1.094 GB, free: 82.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/1.486, allocations: 206.9 kB / 1.094 GB, free: 82.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/1.487, allocations: 4 kB / 1.094 GB, free: 82.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/1.487, allocations: 0 / 1.094 GB, free: 82.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/1.487, allocations: 7.953 kB / 1.094 GB, free: 82.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/1.487, allocations: 216.4 kB / 1.094 GB, free: 82.37 MB / 410.7 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.001205/1.488, allocations: 0.6251 MB / 1.095 GB, free: 81.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/1.489, allocations: 158.5 kB / 1.095 GB, free: 81.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/1.489, allocations: 97.09 kB / 1.095 GB, free: 81.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/1.489, allocations: 38.55 kB / 1.095 GB, free: 81.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/1.489, allocations: 0 / 1.095 GB, free: 81.38 MB / 410.7 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.004769/1.494, allocations: 1.457 MB / 1.097 GB, free: 79.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/1.494, allocations: 51.41 kB / 1.097 GB, free: 79.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.983e-05/1.494, allocations: 113 kB / 1.097 GB, free: 79.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/1.494, allocations: 29.7 kB / 1.097 GB, free: 79.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/1.494, allocations: 104.2 kB / 1.097 GB, free: 79.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/1.494, allocations: 63.02 kB / 1.097 GB, free: 79.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/1.494, allocations: 4 kB / 1.097 GB, free: 79.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.444e-05/1.494, allocations: 326.8 kB / 1.097 GB, free: 79.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/1.494, allocations: 75.95 kB / 1.097 GB, free: 79.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/1.494, allocations: 125.3 kB / 1.097 GB, free: 78.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/1.494, allocations: 89.61 kB / 1.098 GB, free: 78.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/1.494, allocations: 0 / 1.098 GB, free: 78.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000435/1.495, allocations: 264.3 kB / 1.098 GB, free: 78.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.495, allocations: 8 kB / 1.098 GB, free: 78.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.495, allocations: 0 / 1.098 GB, free: 78.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/1.495, allocations: 32.88 kB / 1.098 GB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/1.495, allocations: 51.95 kB / 1.098 GB, free: 78.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000224/1.496, allocations: 0.5367 MB / 1.098 GB, free: 77.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/1.496, allocations: 15.92 kB / 1.098 GB, free: 77.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/1.496, allocations: 5.578 kB / 1.098 GB, free: 77.86 MB / 410.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 () * 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 9.303e-05/1.496, allocations: 125.8 kB / 1.099 GB, free: 77.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/1.496, allocations: 11.81 kB / 1.099 GB, free: 77.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005729/1.497, allocations: 299 kB / 1.099 GB, free: 77.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.497, allocations: 0 / 1.099 GB, free: 77.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.497, allocations: 4 kB / 1.099 GB, free: 77.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.497, allocations: 3.953 kB / 1.099 GB, free: 77.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008408/1.497, allocations: 0.6605 MB / 1.1 GB, free: 76.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.497, allocations: 0 / 1.1 GB, free: 76.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/1.498, allocations: 55.89 kB / 1.1 GB, free: 76.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.963e-05/1.498, allocations: 16.84 kB / 1.1 GB, free: 76.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/1.498, allocations: 8 kB / 1.1 GB, free: 76.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005902/1.499, allocations: 1.28 MB / 1.101 GB, free: 75.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.499, allocations: 0 / 1.101 GB, free: 75.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000612/1.499, allocations: 460 kB / 1.101 GB, free: 74.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/1.499, allocations: 89.11 kB / 1.101 GB, free: 74.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/1.499, allocations: 11.95 kB / 1.101 GB, free: 74.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/1.499, allocations: 7.984 kB / 1.101 GB, free: 74.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/1.499, allocations: 15.98 kB / 1.101 GB, free: 74.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/1.5, allocations: 11.98 kB / 1.101 GB, free: 74.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.181e-05/1.5, allocations: 89.22 kB / 1.101 GB, free: 74.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.5, allocations: 0 / 1.101 GB, free: 74.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006332/1.5, allocations: 155.9 kB / 1.102 GB, free: 74.29 MB / 410.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 () * 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.0008784/1.501, allocations: 0.6278 MB / 1.102 GB, free: 73.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000466/1.502, allocations: 213.1 kB / 1.102 GB, free: 73.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.502, allocations: 4 kB / 1.102 GB, free: 73.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002775/1.502, allocations: 223.8 kB / 1.103 GB, free: 73.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/1.502, allocations: 45.06 kB / 1.103 GB, free: 73.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000696/1.503, allocations: 0.5637 MB / 1.103 GB, free: 72.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/1.503, allocations: 0.7127 MB / 1.104 GB, free: 71.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003298/1.503, allocations: 43.28 kB / 1.104 GB, free: 71.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.72e-05/1.503, allocations: 27.42 kB / 1.104 GB, free: 71.77 MB / 410.7 MB Notification: Performance of SimCode: time 4e-07/1.503, allocations: 0 / 1.104 GB, free: 71.77 MB / 410.7 MB Notification: Performance of Templates: time 0.01265/1.516, allocations: 11.35 MB / 1.115 GB, free: 60.43 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)