Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002057/0.002057, allocations: 184.3 kB / 13.65 MB, free: 1.668 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.485/1.485, allocations: 194.3 MB / 208.4 MB, free: 6.672 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.001917/0.001917, allocations: 112.7 kB / 253.5 MB, free: 9.543 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.274e-05, allocations: 4 kB / 304.9 MB, free: 29.8 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08749/0.08754, allocations: 44.5 MB / 349.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.831/1.919, allocations: 0.725 GB / 1.066 GB, free: 140.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/1.919, allocations: 67.09 kB / 1.066 GB, free: 140.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08163/2.001, allocations: 39.96 MB / 1.105 GB, free: 100.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/2.001, allocations: 4 kB / 1.105 GB, free: 100.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/2.001, allocations: 4 kB / 1.105 GB, free: 100.6 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007971/2.002, allocations: 0.4994 MB / 1.106 GB, free: 100 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/2.002, allocations: 12.03 kB / 1.106 GB, free: 100 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002832/2.004, allocations: 363.8 kB / 1.106 GB, free: 99.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/2.005, allocations: 262.8 kB / 1.106 GB, free: 99.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/2.005, allocations: 12.38 kB / 1.106 GB, free: 99.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.693e-05/2.005, allocations: 23.98 kB / 1.106 GB, free: 99.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/2.006, allocations: 469.3 kB / 1.107 GB, free: 98.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/2.006, allocations: 3.938 kB / 1.107 GB, free: 98.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.626e-05/2.006, allocations: 8 kB / 1.107 GB, free: 98.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/2.006, allocations: 4 kB / 1.107 GB, free: 98.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00068/2.006, allocations: 483.8 kB / 1.107 GB, free: 98.39 MB / 410.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.001826/2.008, allocations: 0.9979 MB / 1.108 GB, free: 97.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/2.009, allocations: 265.1 kB / 1.109 GB, free: 97.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/2.009, allocations: 143.1 kB / 1.109 GB, free: 96.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/2.01, allocations: 0.6555 MB / 1.109 GB, free: 96.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/2.01, allocations: 38.5 kB / 1.109 GB, free: 96.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.595e-06/2.01, allocations: 0 / 1.109 GB, free: 96.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005354/2.011, allocations: 273.7 kB / 1.11 GB, free: 95.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/2.011, allocations: 89.06 kB / 1.11 GB, free: 95.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/2.011, allocations: 116.9 kB / 1.11 GB, free: 95.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/2.011, allocations: 29.7 kB / 1.11 GB, free: 95.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/2.011, allocations: 112.5 kB / 1.11 GB, free: 95.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/2.011, allocations: 106.5 kB / 1.11 GB, free: 95.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/2.011, allocations: 8 kB / 1.11 GB, free: 95.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.006e-05/2.011, allocations: 322.8 kB / 1.11 GB, free: 95.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/2.011, allocations: 108.6 kB / 1.111 GB, free: 94.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/2.011, allocations: 195.5 kB / 1.111 GB, free: 94.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/2.011, allocations: 128.9 kB / 1.111 GB, free: 94.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/2.011, allocations: 0 / 1.111 GB, free: 94.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004807/2.012, allocations: 357.5 kB / 1.111 GB, free: 94.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/2.012, allocations: 8.062 kB / 1.111 GB, free: 94.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/2.012, allocations: 4 kB / 1.111 GB, free: 94.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/2.012, allocations: 7.938 kB / 1.111 GB, free: 94.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/2.012, allocations: 75.89 kB / 1.111 GB, free: 94.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/2.012, allocations: 4.312 kB / 1.111 GB, free: 94.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/2.013, allocations: 35.64 kB / 1.111 GB, free: 94.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/2.013, allocations: 19.98 kB / 1.111 GB, free: 94.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/2.013, allocations: 124.9 kB / 1.111 GB, free: 93.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-05/2.013, allocations: 11.91 kB / 1.112 GB, free: 93.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00062/2.013, allocations: 362.1 kB / 1.112 GB, free: 93.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/2.014, allocations: 4 kB / 1.112 GB, free: 93.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/2.014, allocations: 0 / 1.112 GB, free: 93.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/2.014, allocations: 3.984 kB / 1.112 GB, free: 93.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/2.014, allocations: 368.2 kB / 1.112 GB, free: 93.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/2.014, allocations: 3.984 kB / 1.112 GB, free: 93.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/2.014, allocations: 55.97 kB / 1.112 GB, free: 93.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/2.014, allocations: 0 / 1.112 GB, free: 93.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/2.014, allocations: 15.98 kB / 1.112 GB, free: 93.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/2.014, allocations: 0 / 1.112 GB, free: 93.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/2.014, allocations: 4 kB / 1.112 GB, free: 93.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/2.015, allocations: 0.5406 MB / 1.113 GB, free: 92.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/2.015, allocations: 92.86 kB / 1.113 GB, free: 92.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/2.015, allocations: 12.05 kB / 1.113 GB, free: 92.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/2.015, allocations: 15.94 kB / 1.113 GB, free: 92.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/2.015, allocations: 27.86 kB / 1.113 GB, free: 92.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/2.015, allocations: 15.98 kB / 1.113 GB, free: 92.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.319e-05/2.016, allocations: 91.27 kB / 1.113 GB, free: 92.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/2.016, allocations: 4 kB / 1.113 GB, free: 92.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00105/2.017, allocations: 267.7 kB / 1.113 GB, free: 91.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001223/2.018, allocations: 0.7523 MB / 1.114 GB, free: 91.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004021/2.018, allocations: 276.3 kB / 1.114 GB, free: 90.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/2.018, allocations: 0 / 1.114 GB, free: 90.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/2.018, allocations: 136.1 kB / 1.114 GB, free: 90.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/2.019, allocations: 76.53 kB / 1.115 GB, free: 90.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000828/2.02, allocations: 0.6133 MB / 1.115 GB, free: 90.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/2.02, allocations: 0.7443 MB / 1.116 GB, free: 89.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004496/2.02, allocations: 81.89 kB / 1.116 GB, free: 89.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/2.021, allocations: 35.42 kB / 1.116 GB, free: 89.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/2.021, allocations: 0 / 1.116 GB, free: 89.18 MB / 410.7 MB Notification: Performance of Templates: time 0.01775/2.038, allocations: 15.74 MB / 1.131 GB, free: 73.42 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1)