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.01302/0.01302, allocations: 173.3 kB / 15.12 MB, free: 5.969 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.895/1.895, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001729/0.001729, allocations: 132.5 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2719/0.2719, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004821, allocations: 13.47 kB / 406.2 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1621, allocations: 54.88 MB / 461 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.193/2.355, allocations: 0.7342 GB / 1.184 GB, free: 84.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/2.356, allocations: 76.75 kB / 1.185 GB, free: 84.36 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.08622/2.442, allocations: 39.7 MB / 1.223 GB, free: 50.35 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.974e-06/2.442, allocations: 3.938 kB / 1.223 GB, free: 50.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.958e-05/2.442, allocations: 4 kB / 1.223 GB, free: 50.34 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.001249/2.443, allocations: 0.5092 MB / 1.224 GB, free: 49.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/2.443, allocations: 12.03 kB / 1.224 GB, free: 49.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003171/2.447, allocations: 368.6 kB / 1.224 GB, free: 49.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/2.447, allocations: 259 kB / 1.224 GB, free: 49.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/2.447, allocations: 15.38 kB / 1.224 GB, free: 49.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/2.447, allocations: 26.89 kB / 1.224 GB, free: 49.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009899/2.448, allocations: 472 kB / 1.225 GB, free: 48.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/2.448, allocations: 0 / 1.225 GB, free: 48.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.582e-05/2.448, allocations: 18.8 kB / 1.225 GB, free: 48.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/2.448, allocations: 4 kB / 1.225 GB, free: 48.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009943/2.449, allocations: 0.5049 MB / 1.225 GB, free: 48.48 MB / 490.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.002342/2.452, allocations: 0.9949 MB / 1.226 GB, free: 47.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/2.452, allocations: 283 kB / 1.227 GB, free: 47.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/2.454, allocations: 0.6576 MB / 1.227 GB, free: 46.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/2.454, allocations: 34.8 kB / 1.227 GB, free: 46.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 2.064e-06/2.454, allocations: 0 / 1.227 GB, free: 46.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=29): time 0.000974/2.455, allocations: 403.2 kB / 1.228 GB, free: 46.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/2.455, allocations: 85.11 kB / 1.228 GB, free: 46.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.727e-05/2.455, allocations: 104.8 kB / 1.228 GB, free: 46.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/2.455, allocations: 33.64 kB / 1.228 GB, free: 46.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/2.455, allocations: 115.8 kB / 1.228 GB, free: 45.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/2.455, allocations: 105.1 kB / 1.228 GB, free: 45.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/2.455, allocations: 3.75 kB / 1.228 GB, free: 45.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.734e-05/2.455, allocations: 326.6 kB / 1.228 GB, free: 45.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/2.455, allocations: 113.6 kB / 1.229 GB, free: 45.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/2.456, allocations: 215.6 kB / 1.229 GB, free: 45.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/2.456, allocations: 135.2 kB / 1.229 GB, free: 45.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/2.456, allocations: 4 kB / 1.229 GB, free: 45.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006531/2.457, allocations: 371.4 kB / 1.229 GB, free: 44.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/2.457, allocations: 4 kB / 1.229 GB, free: 44.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/2.457, allocations: 7.953 kB / 1.229 GB, free: 44.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/2.457, allocations: 7.938 kB / 1.229 GB, free: 44.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/2.457, allocations: 71.89 kB / 1.229 GB, free: 44.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/2.457, allocations: 4 kB / 1.229 GB, free: 44.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/2.457, allocations: 38.86 kB / 1.229 GB, free: 44.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.876e-05/2.457, allocations: 19.94 kB / 1.229 GB, free: 44.81 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 () * 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.0002144/2.458, allocations: 151.4 kB / 1.23 GB, free: 44.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/2.458, allocations: 15.81 kB / 1.23 GB, free: 44.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007822/2.459, allocations: 365.6 kB / 1.23 GB, free: 44.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/2.459, allocations: 7.953 kB / 1.23 GB, free: 44.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/2.459, allocations: 0 / 1.23 GB, free: 44.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/2.459, allocations: 7.984 kB / 1.23 GB, free: 44.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006552/2.459, allocations: 359.4 kB / 1.23 GB, free: 44.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/2.459, allocations: 0 / 1.23 GB, free: 44.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/2.46, allocations: 63.58 kB / 1.23 GB, free: 43.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-06/2.46, allocations: 0 / 1.23 GB, free: 43.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/2.46, allocations: 19.42 kB / 1.23 GB, free: 43.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/2.46, allocations: 3.953 kB / 1.23 GB, free: 43.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/2.46, allocations: 0 / 1.23 GB, free: 43.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008548/2.461, allocations: 0.5639 MB / 1.231 GB, free: 43.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/2.461, allocations: 100.8 kB / 1.231 GB, free: 43.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/2.461, allocations: 7.391 kB / 1.231 GB, free: 43.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/2.461, allocations: 15.42 kB / 1.231 GB, free: 43.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/2.461, allocations: 23.41 kB / 1.231 GB, free: 43.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/2.461, allocations: 15.98 kB / 1.231 GB, free: 43.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.644e-05/2.461, allocations: 95.38 kB / 1.231 GB, free: 43.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.461, allocations: 0 / 1.231 GB, free: 43.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001421/2.463, allocations: 271.2 kB / 1.231 GB, free: 42.99 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 () * 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.002349/2.465, allocations: 0.7358 MB / 1.232 GB, free: 42.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007377/2.466, allocations: 301.5 kB / 1.232 GB, free: 42.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/2.466, allocations: 0 / 1.232 GB, free: 42.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/2.466, allocations: 145.4 kB / 1.233 GB, free: 41.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/2.467, allocations: 75.42 kB / 1.233 GB, free: 41.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/2.468, allocations: 0.9 MB / 1.234 GB, free: 41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/2.468, allocations: 0.7326 MB / 1.234 GB, free: 40.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005199/2.469, allocations: 82.06 kB / 1.234 GB, free: 40.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/2.469, allocations: 39.17 kB / 1.234 GB, free: 40.12 MB / 490.7 MB Notification: Performance of SimCode: time 8.31e-07/2.469, allocations: 4 kB / 1.234 GB, free: 40.11 MB / 490.7 MB Notification: Performance of Templates: time 0.02406/2.493, allocations: 14.03 MB / 1.248 GB, free: 26.11 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)