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.001547/0.001547, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 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 / 203.1 MB, free: 13.03 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.001646/0.001646, allocations: 124.3 kB / 248.1 MB, free: 32 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/1.997e-05, allocations: 3.938 kB / 298.1 MB, free: 35.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1181, allocations: 44.51 MB / 342.6 MB, free: 7 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.969/2.087, allocations: 0.7244 GB / 1.059 GB, free: 53.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/2.087, allocations: 79.27 kB / 1.059 GB, free: 53.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0823/2.17, allocations: 39.23 MB / 1.097 GB, free: 20.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/2.17, allocations: 4 kB / 1.097 GB, free: 20.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/2.17, allocations: 4 kB / 1.097 GB, free: 20.36 MB / 394.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.0007822/2.171, allocations: 0.4994 MB / 1.098 GB, free: 19.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/2.171, allocations: 8.031 kB / 1.098 GB, free: 19.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/2.173, allocations: 367.8 kB / 1.098 GB, free: 19.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/2.174, allocations: 266.8 kB / 1.098 GB, free: 19.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/2.174, allocations: 8 kB / 1.098 GB, free: 19.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.874e-05/2.174, allocations: 8 kB / 1.098 GB, free: 19.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006741/2.175, allocations: 484.4 kB / 1.099 GB, free: 18.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/2.175, allocations: 313.5 kB / 1.099 GB, free: 18.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/2.175, allocations: 0 / 1.099 GB, free: 18.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/2.175, allocations: 0 / 1.099 GB, free: 18.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/2.175, allocations: 8 kB / 1.099 GB, free: 18.33 MB / 394.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.001844/2.177, allocations: 0.948 MB / 1.1 GB, free: 17.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/2.177, allocations: 257.1 kB / 1.1 GB, free: 17.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/2.177, allocations: 129.7 kB / 1.1 GB, free: 16.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/2.178, allocations: 0.6519 MB / 1.101 GB, free: 16.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/2.179, allocations: 38.56 kB / 1.101 GB, free: 16.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/2.179, allocations: 0 / 1.101 GB, free: 16.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005567/2.179, allocations: 266 kB / 1.101 GB, free: 15.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/2.179, allocations: 77.11 kB / 1.101 GB, free: 15.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/2.179, allocations: 116.9 kB / 1.102 GB, free: 15.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/2.179, allocations: 25.7 kB / 1.102 GB, free: 15.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/2.179, allocations: 112.5 kB / 1.102 GB, free: 15.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.651e-05/2.179, allocations: 98.47 kB / 1.102 GB, free: 15.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/2.179, allocations: 0 / 1.102 GB, free: 15.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/2.179, allocations: 330.8 kB / 1.102 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/2.18, allocations: 100.6 kB / 1.102 GB, free: 14.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/2.18, allocations: 179.5 kB / 1.102 GB, free: 14.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/2.18, allocations: 143.8 kB / 1.103 GB, free: 14.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/2.18, allocations: 0 / 1.103 GB, free: 14.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004961/2.18, allocations: 317.3 kB / 1.103 GB, free: 14.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/2.18, allocations: 4 kB / 1.103 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/2.18, allocations: 4.312 kB / 1.103 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/2.181, allocations: 8 kB / 1.103 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/2.181, allocations: 75.83 kB / 1.103 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/2.181, allocations: 4 kB / 1.103 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/2.181, allocations: 31.67 kB / 1.103 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/2.181, allocations: 23.98 kB / 1.103 GB, free: 14.15 MB / 394.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.236e-05/2.181, allocations: 112.7 kB / 1.103 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-05/2.181, allocations: 19.84 kB / 1.103 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000606/2.182, allocations: 346.3 kB / 1.103 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/2.182, allocations: 4 kB / 1.103 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/2.182, allocations: 0 / 1.103 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/2.182, allocations: 3.984 kB / 1.103 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/2.183, allocations: 321 kB / 1.104 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/2.183, allocations: 11.95 kB / 1.104 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/2.183, allocations: 59.91 kB / 1.104 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/2.183, allocations: 7.984 kB / 1.104 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/2.183, allocations: 4 kB / 1.104 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/2.183, allocations: 0 / 1.104 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/2.183, allocations: 4 kB / 1.104 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/2.184, allocations: 0.5216 MB / 1.104 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/2.184, allocations: 96.86 kB / 1.104 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/2.184, allocations: 4 kB / 1.104 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/2.184, allocations: 15.92 kB / 1.104 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/2.184, allocations: 15.97 kB / 1.104 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/2.184, allocations: 20.05 kB / 1.105 GB, free: 12.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.063e-05/2.184, allocations: 83.28 kB / 1.105 GB, free: 12.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.184, allocations: 0 / 1.105 GB, free: 12.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001045/2.185, allocations: 247.8 kB / 1.105 GB, free: 12.19 MB / 394.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.001343/2.187, allocations: 0.8405 MB / 1.106 GB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003756/2.187, allocations: 256.6 kB / 1.106 GB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/2.187, allocations: 4.062 kB / 1.106 GB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/2.187, allocations: 140.1 kB / 1.106 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/2.188, allocations: 71.88 kB / 1.106 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008427/2.188, allocations: 0.6043 MB / 1.107 GB, free: 10.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/2.189, allocations: 0.7327 MB / 1.107 GB, free: 9.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004601/2.189, allocations: 81.91 kB / 1.107 GB, free: 9.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/2.189, allocations: 35.42 kB / 1.108 GB, free: 9.367 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/2.189, allocations: 0 / 1.108 GB, free: 9.367 MB / 394.7 MB Notification: Performance of Templates: time 0.2411/2.43, allocations: 10.29 MB / 1.118 GB, free: 118 MB / 394.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)