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.001569/0.001569, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.694/1.694, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001976/0.001976, allocations: 103.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.011e-05/4.029e-05, allocations: 4 kB / 268.9 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 38.78 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.013/2.118, allocations: 0.701 GB / 1.001 GB, free: 29.13 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/2.118, allocations: 68.66 kB / 1.001 GB, free: 29.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2918/2.41, allocations: 33.49 MB / 1.034 GB, free: 117 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.224e-06/2.41, allocations: 0 / 1.034 GB, free: 117 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.443e-05/2.41, allocations: 5.031 kB / 1.034 GB, free: 117 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.0006595/2.411, allocations: 408.8 kB / 1.035 GB, free: 116.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/2.411, allocations: 9.531 kB / 1.035 GB, free: 116.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/2.413, allocations: 183.7 kB / 1.035 GB, free: 116.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/2.413, allocations: 207.5 kB / 1.035 GB, free: 116.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/2.413, allocations: 6.938 kB / 1.035 GB, free: 116.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-05/2.413, allocations: 9.266 kB / 1.035 GB, free: 116.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/2.414, allocations: 189.4 kB / 1.035 GB, free: 116.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/2.414, allocations: 0.5156 kB / 1.035 GB, free: 116.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/2.414, allocations: 3.438 kB / 1.035 GB, free: 116.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/2.414, allocations: 2.219 kB / 1.035 GB, free: 116.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/2.414, allocations: 197.9 kB / 1.035 GB, free: 116.5 MB / 362.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.001574/2.416, allocations: 0.6264 MB / 1.036 GB, free: 116.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/2.416, allocations: 151.1 kB / 1.036 GB, free: 116.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/2.416, allocations: 78.2 kB / 1.036 GB, free: 116.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/2.417, allocations: 91.41 kB / 1.036 GB, free: 116 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/2.417, allocations: 37.66 kB / 1.036 GB, free: 115.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/2.417, allocations: 0 / 1.036 GB, free: 115.9 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.004897/2.422, allocations: 1.202 MB / 1.037 GB, free: 115.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/2.422, allocations: 58.45 kB / 1.038 GB, free: 115.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.521e-05/2.422, allocations: 109.1 kB / 1.038 GB, free: 115.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/2.422, allocations: 30.02 kB / 1.038 GB, free: 115.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/2.422, allocations: 97.31 kB / 1.038 GB, free: 115.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/2.422, allocations: 67.39 kB / 1.038 GB, free: 115.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/2.422, allocations: 5.625 kB / 1.038 GB, free: 115.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.625e-05/2.422, allocations: 320.7 kB / 1.038 GB, free: 114.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/2.422, allocations: 73.84 kB / 1.038 GB, free: 114.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/2.422, allocations: 110.8 kB / 1.038 GB, free: 114.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/2.422, allocations: 87.12 kB / 1.038 GB, free: 114.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/2.422, allocations: 0 / 1.038 GB, free: 114.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005207/2.423, allocations: 246.9 kB / 1.039 GB, free: 114.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/2.423, allocations: 7.812 kB / 1.039 GB, free: 114.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/2.423, allocations: 1.062 kB / 1.039 GB, free: 114.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/2.423, allocations: 33.59 kB / 1.039 GB, free: 114.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/2.424, allocations: 46.75 kB / 1.039 GB, free: 114.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003548/2.424, allocations: 0.5432 MB / 1.039 GB, free: 114.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/2.424, allocations: 13.91 kB / 1.039 GB, free: 114.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/2.424, allocations: 11.36 kB / 1.039 GB, free: 114.2 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 () * 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.884e-05/2.424, allocations: 119.9 kB / 1.039 GB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/2.424, allocations: 11.48 kB / 1.039 GB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006391/2.425, allocations: 273.7 kB / 1.04 GB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/2.425, allocations: 4.422 kB / 1.04 GB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/2.425, allocations: 0 / 1.04 GB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/2.425, allocations: 1.281 kB / 1.04 GB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009522/2.426, allocations: 0.6501 MB / 1.04 GB, free: 113.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/2.426, allocations: 0 / 1.04 GB, free: 113.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/2.426, allocations: 50.56 kB / 1.04 GB, free: 113.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.05e-05/2.427, allocations: 21.23 kB / 1.04 GB, free: 113.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/2.427, allocations: 8.812 kB / 1.04 GB, free: 113.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007041/2.427, allocations: 1.269 MB / 1.042 GB, free: 112.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/2.427, allocations: 2.031 kB / 1.042 GB, free: 112.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006191/2.428, allocations: 446.7 kB / 1.042 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/2.428, allocations: 95.97 kB / 1.042 GB, free: 112.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/2.428, allocations: 6.719 kB / 1.042 GB, free: 112.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/2.428, allocations: 7.188 kB / 1.042 GB, free: 112.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/2.428, allocations: 17.72 kB / 1.042 GB, free: 112.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/2.428, allocations: 13.23 kB / 1.042 GB, free: 112.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.523e-05/2.428, allocations: 86.56 kB / 1.042 GB, free: 112 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/2.428, allocations: 3.969 kB / 1.042 GB, free: 112 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008106/2.429, allocations: 159.7 kB / 1.042 GB, free: 112 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 () * 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.001263/2.431, allocations: 0.6203 MB / 1.043 GB, free: 111.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004941/2.431, allocations: 196.6 kB / 1.043 GB, free: 111.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/2.431, allocations: 3.219 kB / 1.043 GB, free: 111.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/2.431, allocations: 215.1 kB / 1.043 GB, free: 111.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/2.432, allocations: 42.78 kB / 1.043 GB, free: 111.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006372/2.432, allocations: 324.1 kB / 1.044 GB, free: 111.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/2.433, allocations: 0.7159 MB / 1.044 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003408/2.433, allocations: 47.83 kB / 1.045 GB, free: 110.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/2.433, allocations: 22.77 kB / 1.045 GB, free: 110.9 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/2.433, allocations: 0 / 1.045 GB, free: 110.9 MB / 362.7 MB Notification: Performance of Templates: time 0.01961/2.453, allocations: 12.86 MB / 1.057 GB, free: 110.1 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)