Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001485/0.001485, allocations: 187.3 kB / 7.654 MB, free: 1.402 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.738/1.738, allocations: 194.3 MB / 202.4 MB, free: 8.477 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.001775/0.001775, allocations: 111.6 kB / 247.4 MB, free: 6.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2228/0.2228, allocations: 39.93 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.532e-05/1.527e-05, allocations: 3.984 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1243, allocations: 54.86 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.022/2.147, allocations: 0.7335 GB / 1.171 GB, free: 32.88 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/2.147, allocations: 75.89 kB / 1.171 GB, free: 32.8 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Media.mo:684:27-684:37:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.4272/2.574, allocations: 38.92 MB / 1.209 GB, free: 156.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.683e-06/2.574, allocations: 0 / 1.209 GB, free: 156.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/2.574, allocations: 3.094 kB / 1.209 GB, free: 156.7 MB / 474.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.001041/2.575, allocations: 0.4996 MB / 1.21 GB, free: 156.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.54e-05/2.576, allocations: 12.03 kB / 1.21 GB, free: 156.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003121/2.579, allocations: 367.2 kB / 1.21 GB, free: 156.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/2.579, allocations: 261.8 kB / 1.21 GB, free: 156.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/2.579, allocations: 7.875 kB / 1.21 GB, free: 156.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.037e-05/2.579, allocations: 12 kB / 1.21 GB, free: 156.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009182/2.58, allocations: 472.9 kB / 1.211 GB, free: 156.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/2.581, allocations: 312.5 kB / 1.211 GB, free: 156.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/2.581, allocations: 9.25 kB / 1.211 GB, free: 156 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/2.581, allocations: 1.219 kB / 1.211 GB, free: 156 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/2.581, allocations: 3.75 kB / 1.211 GB, free: 156 MB / 474.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.002194/2.583, allocations: 0.9476 MB / 1.212 GB, free: 155.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/2.583, allocations: 254.7 kB / 1.212 GB, free: 155.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/2.584, allocations: 137.1 kB / 1.212 GB, free: 155.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/2.585, allocations: 0.6593 MB / 1.213 GB, free: 155 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/2.585, allocations: 42.03 kB / 1.213 GB, free: 155 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 1.383e-06/2.585, allocations: 0 / 1.213 GB, free: 155 MB / 474.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006984/2.586, allocations: 256.9 kB / 1.213 GB, free: 154.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/2.586, allocations: 89.89 kB / 1.213 GB, free: 154.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.827e-05/2.586, allocations: 105.7 kB / 1.214 GB, free: 154.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/2.586, allocations: 26.77 kB / 1.214 GB, free: 154.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/2.586, allocations: 112.9 kB / 1.214 GB, free: 154.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.555e-05/2.586, allocations: 98.84 kB / 1.214 GB, free: 154.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/2.586, allocations: 1.469 kB / 1.214 GB, free: 154.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.216e-05/2.586, allocations: 326.8 kB / 1.214 GB, free: 154.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/2.586, allocations: 101 kB / 1.214 GB, free: 154.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/2.587, allocations: 180.6 kB / 1.214 GB, free: 154.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/2.587, allocations: 125.9 kB / 1.214 GB, free: 154.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/2.587, allocations: 0 / 1.214 GB, free: 154.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006703/2.588, allocations: 329.7 kB / 1.215 GB, free: 154.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/2.588, allocations: 9.859 kB / 1.215 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/2.588, allocations: 2.406 kB / 1.215 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/2.588, allocations: 8.094 kB / 1.215 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/2.588, allocations: 78.36 kB / 1.215 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/2.588, allocations: 4.594 kB / 1.215 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/2.588, allocations: 31.69 kB / 1.215 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/2.588, allocations: 18.25 kB / 1.215 GB, free: 154.1 MB / 474.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 0.0001039/2.589, allocations: 110.5 kB / 1.215 GB, free: 154 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.213e-05/2.589, allocations: 15.69 kB / 1.215 GB, free: 154 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007464/2.589, allocations: 346.5 kB / 1.215 GB, free: 153.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/2.589, allocations: 3.188 kB / 1.215 GB, free: 153.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/2.589, allocations: 1.125 kB / 1.215 GB, free: 153.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/2.589, allocations: 3 kB / 1.215 GB, free: 153.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/2.59, allocations: 317.8 kB / 1.216 GB, free: 153.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/2.59, allocations: 0 / 1.216 GB, free: 153.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/2.59, allocations: 56.34 kB / 1.216 GB, free: 153.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/2.59, allocations: 2.156 kB / 1.216 GB, free: 153.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/2.59, allocations: 10.78 kB / 1.216 GB, free: 153.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/2.59, allocations: 8.984 kB / 1.216 GB, free: 153.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/2.59, allocations: 1 kB / 1.216 GB, free: 153.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007512/2.591, allocations: 0.5207 MB / 1.216 GB, free: 153.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/2.591, allocations: 91.91 kB / 1.216 GB, free: 153.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/2.591, allocations: 6.047 kB / 1.216 GB, free: 153.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/2.592, allocations: 22.09 kB / 1.216 GB, free: 153.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/2.592, allocations: 20.41 kB / 1.216 GB, free: 153.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/2.592, allocations: 17.86 kB / 1.216 GB, free: 153.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.671e-05/2.592, allocations: 88.88 kB / 1.217 GB, free: 153.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/2.592, allocations: 2.688 kB / 1.217 GB, free: 153.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001397/2.593, allocations: 249.4 kB / 1.217 GB, free: 153.3 MB / 474.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.001763/2.595, allocations: 0.8191 MB / 1.218 GB, free: 153.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005298/2.596, allocations: 258.2 kB / 1.218 GB, free: 153.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/2.596, allocations: 0 / 1.218 GB, free: 153.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/2.596, allocations: 130.2 kB / 1.218 GB, free: 153.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/2.596, allocations: 78.7 kB / 1.218 GB, free: 153.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/2.597, allocations: 0.5945 MB / 1.219 GB, free: 152.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/2.598, allocations: 0.7398 MB / 1.219 GB, free: 152.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004792/2.598, allocations: 80.92 kB / 1.219 GB, free: 152.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/2.598, allocations: 36.41 kB / 1.219 GB, free: 152.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/2.598, allocations: 0 / 1.219 GB, free: 152.1 MB / 474.7 MB Notification: Performance of Templates: time 0.01569/2.614, allocations: 10.22 MB / 1.229 GB, free: 151.1 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1)