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.001061/0.00106, allocations: 178.5 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.383/1.383, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001607/0.001607, allocations: 113.6 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09482/0.09517, allocations: 44.5 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.505/1.601, allocations: 0.7251 GB / 1.072 GB, free: 94.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/1.601, allocations: 77.12 kB / 1.072 GB, free: 94.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08255/1.683, allocations: 40 MB / 1.111 GB, free: 54.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.684, allocations: 3.938 kB / 1.111 GB, free: 54.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/1.684, allocations: 4 kB / 1.111 GB, free: 54.43 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.0008457/1.684, allocations: 0.5107 MB / 1.111 GB, free: 53.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.684, allocations: 8.031 kB / 1.111 GB, free: 53.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/1.687, allocations: 372.3 kB / 1.112 GB, free: 53.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/1.688, allocations: 262.7 kB / 1.112 GB, free: 53.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/1.688, allocations: 16.38 kB / 1.112 GB, free: 53.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.904e-05/1.688, allocations: 19.98 kB / 1.112 GB, free: 53.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008224/1.689, allocations: 493.6 kB / 1.113 GB, free: 52.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/1.689, allocations: 0 / 1.113 GB, free: 52.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-05/1.689, allocations: 8 kB / 1.113 GB, free: 52.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/1.689, allocations: 8 kB / 1.113 GB, free: 52.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000842/1.69, allocations: 0.5035 MB / 1.113 GB, free: 52.16 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.001856/1.691, allocations: 0.9957 MB / 1.114 GB, free: 51.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/1.692, allocations: 281.8 kB / 1.114 GB, free: 50.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/1.693, allocations: 0.6554 MB / 1.115 GB, free: 50.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/1.693, allocations: 38.84 kB / 1.115 GB, free: 50.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.373e-06/1.693, allocations: 0 / 1.115 GB, free: 50.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008133/1.694, allocations: 402.6 kB / 1.115 GB, free: 49.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/1.694, allocations: 81.11 kB / 1.115 GB, free: 49.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/1.694, allocations: 108.9 kB / 1.116 GB, free: 49.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/1.694, allocations: 33.7 kB / 1.116 GB, free: 49.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/1.694, allocations: 116.3 kB / 1.116 GB, free: 49.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.953e-05/1.694, allocations: 102.5 kB / 1.116 GB, free: 49.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/1.694, allocations: 4 kB / 1.116 GB, free: 49.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.456e-05/1.694, allocations: 334.8 kB / 1.116 GB, free: 48.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/1.694, allocations: 112.6 kB / 1.116 GB, free: 48.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/1.695, allocations: 207.4 kB / 1.116 GB, free: 48.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/1.695, allocations: 137.7 kB / 1.117 GB, free: 48.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.695, allocations: 0 / 1.117 GB, free: 48.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005738/1.695, allocations: 361.8 kB / 1.117 GB, free: 47.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.695, allocations: 12.3 kB / 1.117 GB, free: 47.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.695, allocations: 4 kB / 1.117 GB, free: 47.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.696, allocations: 4 kB / 1.117 GB, free: 47.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/1.696, allocations: 83.83 kB / 1.117 GB, free: 47.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/1.696, allocations: 4 kB / 1.117 GB, free: 47.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/1.696, allocations: 27.78 kB / 1.117 GB, free: 47.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/1.696, allocations: 23.94 kB / 1.117 GB, free: 47.8 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 () * Number of clocked 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 0.0001335/1.696, allocations: 141.8 kB / 1.117 GB, free: 47.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.775e-05/1.696, allocations: 15.81 kB / 1.117 GB, free: 47.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007263/1.697, allocations: 371.3 kB / 1.118 GB, free: 47.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.697, allocations: 4 kB / 1.118 GB, free: 47.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.697, allocations: 0 / 1.118 GB, free: 47.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/1.697, allocations: 7.984 kB / 1.118 GB, free: 47.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005038/1.698, allocations: 363 kB / 1.118 GB, free: 46.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.698, allocations: 4 kB / 1.118 GB, free: 46.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003428/1.698, allocations: 63.89 kB / 1.118 GB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/1.698, allocations: 4 kB / 1.118 GB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/1.698, allocations: 8 kB / 1.118 GB, free: 46.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.698, allocations: 3.984 kB / 1.118 GB, free: 46.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.698, allocations: 0 / 1.118 GB, free: 46.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007925/1.699, allocations: 0.5734 MB / 1.119 GB, free: 46.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/1.699, allocations: 92.89 kB / 1.119 GB, free: 46.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/1.699, allocations: 8.062 kB / 1.119 GB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/1.699, allocations: 16.11 kB / 1.119 GB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/1.699, allocations: 27.91 kB / 1.119 GB, free: 46.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/1.699, allocations: 19.94 kB / 1.119 GB, free: 46.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.029e-05/1.7, allocations: 87.28 kB / 1.119 GB, free: 45.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.7, allocations: 0 / 1.119 GB, free: 45.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001345/1.701, allocations: 271.7 kB / 1.119 GB, free: 45.66 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 () * Number of clocked 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.001437/1.702, allocations: 0.757 MB / 1.12 GB, free: 44.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006168/1.703, allocations: 300.8 kB / 1.12 GB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.703, allocations: 0 / 1.12 GB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/1.703, allocations: 147.4 kB / 1.12 GB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/1.704, allocations: 72.55 kB / 1.12 GB, free: 44.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/1.705, allocations: 0.8946 MB / 1.121 GB, free: 43.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/1.705, allocations: 0.7365 MB / 1.122 GB, free: 42.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004607/1.705, allocations: 86.97 kB / 1.122 GB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/1.706, allocations: 35.42 kB / 1.122 GB, free: 42.58 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/1.706, allocations: 0 / 1.122 GB, free: 42.58 MB / 410.7 MB Notification: Performance of Templates: time 0.01732/1.723, allocations: 14.12 MB / 1.136 GB, free: 28.46 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)