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.009949/0.009949, allocations: 165.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.481/1.481, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001684/0.001684, allocations: 110.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003957, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2842, allocations: 38.76 MB / 312.9 MB, free: 38.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.809/2.094, allocations: 0.7011 GB / 1.007 GB, free: 88.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/2.094, allocations: 78.61 kB / 1.007 GB, free: 88.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07128/2.165, allocations: 33.59 MB / 1.04 GB, free: 60.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.624e-06/2.165, allocations: 0 / 1.04 GB, free: 60.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/2.165, allocations: 4 kB / 1.04 GB, free: 60.7 MB / 362.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.0004978/2.166, allocations: 419.1 kB / 1.04 GB, free: 60.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/2.166, allocations: 8.031 kB / 1.04 GB, free: 60.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/2.168, allocations: 178 kB / 1.04 GB, free: 60.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/2.168, allocations: 217.8 kB / 1.04 GB, free: 59.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/2.168, allocations: 8.188 kB / 1.04 GB, free: 59.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/2.168, allocations: 7.75 kB / 1.04 GB, free: 59.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/2.168, allocations: 198.5 kB / 1.041 GB, free: 59.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/2.168, allocations: 4 kB / 1.041 GB, free: 59.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/2.168, allocations: 0.5625 kB / 1.041 GB, free: 59.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/2.168, allocations: 3.984 kB / 1.041 GB, free: 59.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/2.169, allocations: 218.8 kB / 1.041 GB, free: 59.54 MB / 362.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.0014/2.17, allocations: 0.6349 MB / 1.041 GB, free: 58.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/2.171, allocations: 168 kB / 1.042 GB, free: 58.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/2.171, allocations: 89.09 kB / 1.042 GB, free: 58.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/2.171, allocations: 37.88 kB / 1.042 GB, free: 58.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/2.171, allocations: 3.938 kB / 1.042 GB, free: 58.69 MB / 362.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.005161/2.176, allocations: 1.461 MB / 1.043 GB, free: 57.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/2.176, allocations: 55.41 kB / 1.043 GB, free: 57.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/2.176, allocations: 103.7 kB / 1.043 GB, free: 57.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/2.176, allocations: 25.7 kB / 1.043 GB, free: 57.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/2.176, allocations: 107.9 kB / 1.043 GB, free: 57.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/2.176, allocations: 73.86 kB / 1.043 GB, free: 57.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/2.176, allocations: 3.375 kB / 1.043 GB, free: 57.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.887e-05/2.176, allocations: 322.4 kB / 1.044 GB, free: 56.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/2.177, allocations: 80.64 kB / 1.044 GB, free: 56.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/2.177, allocations: 112.6 kB / 1.044 GB, free: 56.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/2.177, allocations: 99.55 kB / 1.044 GB, free: 56.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/2.177, allocations: 0 / 1.044 GB, free: 56.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005826/2.178, allocations: 268.8 kB / 1.044 GB, free: 56.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/2.178, allocations: 4 kB / 1.044 GB, free: 56.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/2.178, allocations: 0 / 1.044 GB, free: 56.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/2.178, allocations: 24.16 kB / 1.044 GB, free: 56.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/2.178, allocations: 55.89 kB / 1.044 GB, free: 56.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002594/2.178, allocations: 0.536 MB / 1.045 GB, free: 55.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/2.179, allocations: 11.45 kB / 1.045 GB, free: 55.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/2.179, allocations: 11.94 kB / 1.045 GB, free: 55.66 MB / 362.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 0.0001146/2.179, allocations: 124.9 kB / 1.045 GB, free: 55.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/2.179, allocations: 11.91 kB / 1.045 GB, free: 55.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000627/2.18, allocations: 296.1 kB / 1.045 GB, free: 55.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/2.18, allocations: 4 kB / 1.045 GB, free: 55.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/2.18, allocations: 4 kB / 1.045 GB, free: 55.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/2.18, allocations: 0 / 1.045 GB, free: 55.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009222/2.18, allocations: 0.6521 MB / 1.046 GB, free: 54.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/2.181, allocations: 3.938 kB / 1.046 GB, free: 54.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/2.181, allocations: 47.95 kB / 1.046 GB, free: 54.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.497e-05/2.181, allocations: 24.25 kB / 1.046 GB, free: 54.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/2.181, allocations: 7.953 kB / 1.046 GB, free: 54.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006882/2.182, allocations: 1.274 MB / 1.047 GB, free: 53.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/2.182, allocations: 3.938 kB / 1.047 GB, free: 53.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006925/2.182, allocations: 468.4 kB / 1.048 GB, free: 52.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/2.182, allocations: 81.02 kB / 1.048 GB, free: 52.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/2.182, allocations: 7.984 kB / 1.048 GB, free: 52.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/2.183, allocations: 11.44 kB / 1.048 GB, free: 52.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/2.183, allocations: 23.38 kB / 1.048 GB, free: 52.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/2.183, allocations: 11.98 kB / 1.048 GB, free: 52.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.725e-05/2.183, allocations: 94.81 kB / 1.048 GB, free: 52.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.183, allocations: 4 kB / 1.048 GB, free: 52.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008229/2.184, allocations: 157 kB / 1.048 GB, free: 52.48 MB / 362.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.001607/2.185, allocations: 0.6272 MB / 1.049 GB, free: 51.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005983/2.186, allocations: 204.9 kB / 1.049 GB, free: 51.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/2.186, allocations: 0 / 1.049 GB, free: 51.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003625/2.186, allocations: 218.9 kB / 1.049 GB, free: 51.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/2.187, allocations: 51.53 kB / 1.049 GB, free: 51.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009319/2.188, allocations: 0.5634 MB / 1.05 GB, free: 50.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/2.188, allocations: 0.7126 MB / 1.05 GB, free: 50.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003616/2.188, allocations: 53.61 kB / 1.05 GB, free: 50.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/2.188, allocations: 19.44 kB / 1.05 GB, free: 50.11 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/2.188, allocations: 0 / 1.05 GB, free: 50.11 MB / 362.7 MB Notification: Performance of Templates: time 0.01508/2.203, allocations: 11.36 MB / 1.062 GB, free: 38.77 MB / 362.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)