Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6059/0.6059, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001682/0.001682, allocations: 142.2 kB / 151.8 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002784, allocations: 8 kB / 184.9 MB, free: 3.938 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 25.16 MB / 210 MB, free: 29.73 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.316/1.434, allocations: 0.6537 GB / 0.8588 GB, free: 38.79 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/1.435, allocations: 64.19 kB / 0.8589 GB, free: 38.76 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07789/1.513, allocations: 37.6 MB / 0.8956 GB, free: 4.25 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.086e-06/1.513, allocations: 7.938 kB / 0.8956 GB, free: 4.242 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/1.513, allocations: 4 kB / 0.8956 GB, free: 4.238 MB / 234.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.0006325/1.513, allocations: 419.7 kB / 0.896 GB, free: 3.777 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/1.513, allocations: 8.031 kB / 0.896 GB, free: 3.77 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/1.513, allocations: 7.906 kB / 0.896 GB, free: 3.762 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/1.514, allocations: 191 kB / 0.8962 GB, free: 3.535 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/1.514, allocations: 8.172 kB / 0.8962 GB, free: 3.527 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/1.514, allocations: 15.89 kB / 0.8962 GB, free: 3.512 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/1.514, allocations: 139.1 kB / 0.8963 GB, free: 3.371 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.514, allocations: 4 kB / 0.8963 GB, free: 3.367 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/1.514, allocations: 0 / 0.8963 GB, free: 3.367 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/1.514, allocations: 4 kB / 0.8964 GB, free: 3.363 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/1.514, allocations: 156.5 kB / 0.8965 GB, free: 3.211 MB / 234.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.0009193/1.515, allocations: 0.5957 MB / 0.8971 GB, free: 2.535 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/1.515, allocations: 154.6 kB / 0.8972 GB, free: 2.375 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008831/1.516, allocations: 1.038 MB / 0.8982 GB, free: 1.164 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/1.516, allocations: 34.56 kB / 0.8983 GB, free: 1.121 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/1.516, allocations: 0 / 0.8983 GB, free: 1.121 MB / 234.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.14/1.656, allocations: 1.213 MB / 0.8995 GB, free: 56.41 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/1.656, allocations: 54.39 kB / 0.8995 GB, free: 56.35 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/1.656, allocations: 111.8 kB / 0.8996 GB, free: 56.26 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/1.657, allocations: 26.8 kB / 0.8996 GB, free: 56.23 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/1.657, allocations: 101.3 kB / 0.8997 GB, free: 56.14 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/1.657, allocations: 65.58 kB / 0.8998 GB, free: 56.11 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/1.657, allocations: 7.266 kB / 0.8998 GB, free: 56.11 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.753e-05/1.657, allocations: 324.2 kB / 0.9001 GB, free: 55.8 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.458e-05/1.657, allocations: 46.72 kB / 0.9002 GB, free: 55.8 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.462e-05/1.657, allocations: 77.72 kB / 0.9002 GB, free: 55.77 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/1.657, allocations: 61.88 kB / 0.9003 GB, free: 55.77 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/1.657, allocations: 0 / 0.9003 GB, free: 55.77 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003195/1.657, allocations: 210.3 kB / 0.9005 GB, free: 55.72 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.657, allocations: 5.562 kB / 0.9005 GB, free: 55.72 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.657, allocations: 0 / 0.9005 GB, free: 55.72 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/1.658, allocations: 25.19 kB / 0.9005 GB, free: 55.71 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/1.658, allocations: 53.61 kB / 0.9006 GB, free: 55.71 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003557/1.658, allocations: 0.531 MB / 0.9011 GB, free: 55.2 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/1.658, allocations: 7.953 kB / 0.9011 GB, free: 55.2 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/1.658, allocations: 10.62 kB / 0.9011 GB, free: 55.2 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" fixed = true nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real 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.0002028/1.659, allocations: 142.6 kB / 0.9013 GB, free: 55.08 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/1.659, allocations: 17.73 kB / 0.9013 GB, free: 55.07 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004279/1.659, allocations: 230.8 kB / 0.9015 GB, free: 55.02 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.659, allocations: 5.031 kB / 0.9015 GB, free: 55.02 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.659, allocations: 0 / 0.9015 GB, free: 55.02 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/1.659, allocations: 1.078 kB / 0.9015 GB, free: 55.02 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006987/1.66, allocations: 0.5335 MB / 0.902 GB, free: 54.68 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.66, allocations: 0.8125 kB / 0.902 GB, free: 54.68 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/1.66, allocations: 56.95 kB / 0.9021 GB, free: 54.68 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.165e-05/1.66, allocations: 16.34 kB / 0.9021 GB, free: 54.68 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/1.66, allocations: 10.11 kB / 0.9021 GB, free: 54.68 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007519/1.661, allocations: 1.278 MB / 0.9033 GB, free: 53.42 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.661, allocations: 2.531 kB / 0.9033 GB, free: 53.42 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/1.662, allocations: 401.4 kB / 0.9037 GB, free: 53.19 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.354e-05/1.662, allocations: 110.1 kB / 0.9038 GB, free: 53.09 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/1.662, allocations: 10.12 kB / 0.9038 GB, free: 53.09 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/1.662, allocations: 7.984 kB / 0.9039 GB, free: 53.09 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/1.662, allocations: 14.67 kB / 0.9039 GB, free: 53.09 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/1.662, allocations: 12.81 kB / 0.9039 GB, free: 53.09 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.891e-05/1.662, allocations: 89.41 kB / 0.904 GB, free: 53.02 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.783e-06/1.662, allocations: 2.625 kB / 0.904 GB, free: 53.02 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0009383/1.663, allocations: 189.1 kB / 0.9041 GB, free: 53.02 MB / 234.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.001283/1.664, allocations: 0.6845 MB / 0.9048 GB, free: 52.9 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003816/1.665, allocations: 150.7 kB / 0.905 GB, free: 52.9 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.665, allocations: 3.938 kB / 0.905 GB, free: 52.9 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/1.665, allocations: 195.8 kB / 0.9051 GB, free: 52.79 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/1.665, allocations: 39.7 kB / 0.9052 GB, free: 52.79 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008009/1.666, allocations: 0.536 MB / 0.9057 GB, free: 52.54 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/1.666, allocations: 0.7127 MB / 0.9064 GB, free: 51.85 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.000288/1.667, allocations: 36.94 kB / 0.9064 GB, free: 51.85 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/1.667, allocations: 25.06 kB / 0.9065 GB, free: 51.84 MB / 234.7 MB Notification: Performance of SimCode: time 3.91e-07/1.667, allocations: 0 / 0.9065 GB, free: 51.84 MB / 234.7 MB Notification: Performance of Templates: time 0.01947/1.686, allocations: 11.9 MB / 0.9181 GB, free: 51.07 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)