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.00114/0.001139, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.829/1.829, allocations: 194.3 MB / 207.5 MB, free: 3.395 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.001829/0.001828, allocations: 121.1 kB / 252.6 MB, free: 4.836 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.2365/0.2365, allocations: 39.94 MB / 337.5 MB, free: 468 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.571e-05/4.573e-05, allocations: 0 / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1377, allocations: 54.86 MB / 455.1 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.371/2.509, allocations: 0.7342 GB / 1.179 GB, free: 62.09 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/2.509, allocations: 71.66 kB / 1.179 GB, free: 62.06 MB / 490.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.08814/2.598, allocations: 39.64 MB / 1.217 GB, free: 28.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.433e-06/2.598, allocations: 0 / 1.217 GB, free: 28.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/2.598, allocations: 4 kB / 1.217 GB, free: 28.09 MB / 490.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.0009832/2.599, allocations: 0.5063 MB / 1.218 GB, free: 27.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/2.599, allocations: 8.031 kB / 1.218 GB, free: 27.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/2.602, allocations: 364.3 kB / 1.218 GB, free: 27.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/2.602, allocations: 259.4 kB / 1.218 GB, free: 26.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/2.602, allocations: 19.44 kB / 1.219 GB, free: 26.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.29e-05/2.602, allocations: 16.5 kB / 1.219 GB, free: 26.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007715/2.603, allocations: 462.5 kB / 1.219 GB, free: 26.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/2.603, allocations: 0 / 1.219 GB, free: 26.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/2.603, allocations: 12 kB / 1.219 GB, free: 26.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/2.603, allocations: 4 kB / 1.219 GB, free: 26.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007344/2.604, allocations: 487.7 kB / 1.219 GB, free: 25.98 MB / 490.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.001947/2.606, allocations: 0.9937 MB / 1.22 GB, free: 24.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/2.606, allocations: 273 kB / 1.221 GB, free: 24.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/2.606, allocations: 143.5 kB / 1.221 GB, free: 24.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/2.608, allocations: 0.6555 MB / 1.221 GB, free: 23.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/2.608, allocations: 42.5 kB / 1.222 GB, free: 23.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 1.963e-06/2.608, allocations: 0 / 1.222 GB, free: 23.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006392/2.608, allocations: 277.7 kB / 1.222 GB, free: 23.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/2.608, allocations: 81.11 kB / 1.222 GB, free: 23.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.683e-05/2.608, allocations: 101 kB / 1.222 GB, free: 23.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/2.609, allocations: 37.7 kB / 1.222 GB, free: 23.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/2.609, allocations: 116.4 kB / 1.222 GB, free: 23.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/2.609, allocations: 102.5 kB / 1.222 GB, free: 22.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/2.609, allocations: 4 kB / 1.222 GB, free: 22.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/2.609, allocations: 330.8 kB / 1.223 GB, free: 22.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/2.609, allocations: 104.6 kB / 1.223 GB, free: 22.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/2.609, allocations: 191.5 kB / 1.223 GB, free: 22.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/2.609, allocations: 129 kB / 1.223 GB, free: 22.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/2.609, allocations: 4 kB / 1.223 GB, free: 22.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005099/2.61, allocations: 354.8 kB / 1.223 GB, free: 21.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/2.61, allocations: 8.266 kB / 1.223 GB, free: 21.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/2.61, allocations: 8 kB / 1.223 GB, free: 21.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/2.61, allocations: 4 kB / 1.223 GB, free: 21.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/2.61, allocations: 79.83 kB / 1.223 GB, free: 21.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/2.61, allocations: 4 kB / 1.223 GB, free: 21.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/2.611, allocations: 39.67 kB / 1.223 GB, free: 21.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/2.611, allocations: 16 kB / 1.223 GB, free: 21.64 MB / 490.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.0001072/2.611, allocations: 120.9 kB / 1.224 GB, free: 21.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/2.611, allocations: 19.89 kB / 1.224 GB, free: 21.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000626/2.612, allocations: 363.8 kB / 1.224 GB, free: 21.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/2.612, allocations: 7.922 kB / 1.224 GB, free: 21.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/2.612, allocations: 4 kB / 1.224 GB, free: 21.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/2.612, allocations: 0 / 1.224 GB, free: 21.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/2.612, allocations: 360.5 kB / 1.224 GB, free: 20.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/2.612, allocations: 8 kB / 1.224 GB, free: 20.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/2.612, allocations: 55.91 kB / 1.224 GB, free: 20.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/2.612, allocations: 4 kB / 1.224 GB, free: 20.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/2.613, allocations: 15.94 kB / 1.224 GB, free: 20.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/2.613, allocations: 0 / 1.224 GB, free: 20.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/2.613, allocations: 4 kB / 1.224 GB, free: 20.63 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006253/2.613, allocations: 0.5375 MB / 1.225 GB, free: 20.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/2.613, allocations: 92.95 kB / 1.225 GB, free: 19.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/2.613, allocations: 12 kB / 1.225 GB, free: 19.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/2.614, allocations: 19.84 kB / 1.225 GB, free: 19.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/2.614, allocations: 19.97 kB / 1.225 GB, free: 19.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/2.614, allocations: 19.98 kB / 1.225 GB, free: 19.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.426e-05/2.614, allocations: 91.27 kB / 1.225 GB, free: 19.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/2.614, allocations: 0 / 1.225 GB, free: 19.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001272/2.615, allocations: 263.8 kB / 1.225 GB, free: 19.55 MB / 490.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.001454/2.616, allocations: 0.747 MB / 1.226 GB, free: 18.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004637/2.617, allocations: 283.3 kB / 1.226 GB, free: 18.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/2.617, allocations: 4.062 kB / 1.226 GB, free: 18.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001834/2.617, allocations: 139.8 kB / 1.226 GB, free: 18.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/2.618, allocations: 74.11 kB / 1.227 GB, free: 18.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009395/2.619, allocations: 0.6093 MB / 1.227 GB, free: 17.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/2.619, allocations: 0.7365 MB / 1.228 GB, free: 16.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004687/2.619, allocations: 81.91 kB / 1.228 GB, free: 16.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/2.62, allocations: 35.42 kB / 1.228 GB, free: 16.79 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/2.62, allocations: 3.938 kB / 1.228 GB, free: 16.78 MB / 490.7 MB Notification: Performance of Templates: time 0.02228/2.642, allocations: 15.63 MB / 1.243 GB, free: 1.152 MB / 490.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)