Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003869/0.00387, allocations: 179.7 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.528/1.528, allocations: 170.6 MB / 178.4 MB, free: 15.4 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001993/0.001994, allocations: 107.8 kB / 217.7 MB, free: 8.168 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2186/0.2186, allocations: 37.97 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.36e-05/1.365e-05, allocations: 1.25 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1549, allocations: 48.71 MB / 398.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.169/2.324, allocations: 0.7202 GB / 1.109 GB, free: 160.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/2.325, allocations: 74.03 kB / 1.109 GB, free: 160.4 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Media.mo:684:27-684:37:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd: time 0.1029/2.428, allocations: 39.28 MB / 1.147 GB, free: 134.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/2.428, allocations: 0 / 1.147 GB, free: 134.1 MB / 426.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.001031/2.429, allocations: 0.5105 MB / 1.148 GB, free: 133.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/2.429, allocations: 12.03 kB / 1.148 GB, free: 133.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/2.432, allocations: 431 kB / 1.148 GB, free: 133.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/2.433, allocations: 250.9 kB / 1.149 GB, free: 132.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/2.433, allocations: 8 kB / 1.149 GB, free: 132.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/2.433, allocations: 23.84 kB / 1.149 GB, free: 132.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000851/2.434, allocations: 480.5 kB / 1.149 GB, free: 132.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005362/2.434, allocations: 317.1 kB / 1.149 GB, free: 132 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/2.434, allocations: 0 / 1.149 GB, free: 132 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.339e-05/2.434, allocations: 0 / 1.149 GB, free: 132 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/2.434, allocations: 4 kB / 1.149 GB, free: 132 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002484/2.437, allocations: 0.9527 MB / 1.15 GB, free: 131 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/2.437, allocations: 229.7 kB / 1.151 GB, free: 130.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/2.438, allocations: 129.8 kB / 1.151 GB, free: 130.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/2.439, allocations: 0.6515 MB / 1.151 GB, free: 129.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/2.439, allocations: 42.56 kB / 1.151 GB, free: 129.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.326e-06/2.439, allocations: 4 kB / 1.151 GB, free: 129.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007813/2.44, allocations: 269.8 kB / 1.152 GB, free: 129.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/2.44, allocations: 77.39 kB / 1.152 GB, free: 129.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/2.44, allocations: 108.9 kB / 1.152 GB, free: 129.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/2.44, allocations: 25.7 kB / 1.152 GB, free: 129.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/2.44, allocations: 108.4 kB / 1.152 GB, free: 129.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.776e-05/2.44, allocations: 106.4 kB / 1.152 GB, free: 129.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/2.44, allocations: 0 / 1.152 GB, free: 129.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.753e-05/2.44, allocations: 330.8 kB / 1.152 GB, free: 128.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/2.44, allocations: 96.64 kB / 1.152 GB, free: 128.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/2.441, allocations: 179.3 kB / 1.153 GB, free: 128.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/2.441, allocations: 129.1 kB / 1.153 GB, free: 128.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/2.441, allocations: 0 / 1.153 GB, free: 128.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000587/2.441, allocations: 329.2 kB / 1.153 GB, free: 128 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/2.441, allocations: 7.281 kB / 1.153 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/2.441, allocations: 4 kB / 1.153 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/2.441, allocations: 4 kB / 1.153 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/2.442, allocations: 71.89 kB / 1.153 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/2.442, allocations: 8.25 kB / 1.153 GB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/2.442, allocations: 31.97 kB / 1.153 GB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/2.442, allocations: 19.98 kB / 1.153 GB, free: 127.9 MB / 426.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.000135/2.442, allocations: 108.9 kB / 1.153 GB, free: 127.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/2.443, allocations: 15.81 kB / 1.153 GB, free: 127.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008021/2.443, allocations: 363.3 kB / 1.154 GB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/2.443, allocations: 11.84 kB / 1.154 GB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/2.443, allocations: 4 kB / 1.154 GB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/2.443, allocations: 7.922 kB / 1.154 GB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/2.444, allocations: 315.9 kB / 1.154 GB, free: 127 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/2.444, allocations: 0 / 1.154 GB, free: 127 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/2.444, allocations: 63.89 kB / 1.154 GB, free: 127 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/2.444, allocations: 0 / 1.154 GB, free: 127 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/2.444, allocations: 7.984 kB / 1.154 GB, free: 127 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/2.444, allocations: 11.91 kB / 1.154 GB, free: 126.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/2.444, allocations: 0 / 1.154 GB, free: 126.9 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006952/2.445, allocations: 0.5161 MB / 1.155 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/2.445, allocations: 92.86 kB / 1.155 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/2.445, allocations: 4 kB / 1.155 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/2.446, allocations: 15.92 kB / 1.155 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/2.446, allocations: 19.91 kB / 1.155 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/2.446, allocations: 19.98 kB / 1.155 GB, free: 126.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.284e-05/2.446, allocations: 91.27 kB / 1.155 GB, free: 126.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00136/2.447, allocations: 247.7 kB / 1.155 GB, free: 125.9 MB / 426.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.002428/2.45, allocations: 0.8516 MB / 1.156 GB, free: 125.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004986/2.45, allocations: 258.2 kB / 1.156 GB, free: 124.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/2.45, allocations: 0 / 1.156 GB, free: 124.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000186/2.45, allocations: 144 kB / 1.156 GB, free: 124.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006408/2.451, allocations: 76.48 kB / 1.156 GB, free: 124.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/2.452, allocations: 0.5805 MB / 1.157 GB, free: 124 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000516/2.453, allocations: 0.7868 MB / 1.158 GB, free: 123.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/2.453, allocations: 4 kB / 1.158 GB, free: 123.2 MB / 426.7 MB Notification: Performance of Templates: time 0.02111/2.474, allocations: 11.78 MB / 1.169 GB, free: 111.4 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1)