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") [: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.2+maint.om/package.mo): time 0.001562/0.001562, allocations: 191.6 kB / 8.135 MB, free: 2.199 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.146/1.146, allocations: 194.2 MB / 202.8 MB, free: 8.676 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.001815/0.001815, allocations: 120.1 kB / 247.7 MB, free: 6.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.815e-06/7.834e-06, allocations: 4 kB / 297.6 MB, free: 8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06825/0.06827, allocations: 44.5 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.179, allocations: 0.7243 GB / 1.058 GB, free: 106.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001598/1.179, allocations: 74.81 kB / 1.058 GB, free: 106.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.08773/1.266, allocations: 39.27 MB / 1.097 GB, free: 66.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/1.267, allocations: 4 kB / 1.097 GB, free: 66.71 MB / 410.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.0006733/1.267, allocations: 0.5027 MB / 1.097 GB, free: 66.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/1.267, allocations: 8.031 kB / 1.097 GB, free: 66.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003391/1.271, allocations: 429.8 kB / 1.098 GB, free: 65.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/1.271, allocations: 262.7 kB / 1.098 GB, free: 65.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/1.271, allocations: 8 kB / 1.098 GB, free: 65.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.318e-05/1.271, allocations: 12 kB / 1.098 GB, free: 65.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007686/1.272, allocations: 476.5 kB / 1.098 GB, free: 64.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/1.272, allocations: 321.4 kB / 1.099 GB, free: 64.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.272, allocations: 0 / 1.099 GB, free: 64.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/1.272, allocations: 0 / 1.099 GB, free: 64.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/1.272, allocations: 4.547 kB / 1.099 GB, free: 64.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/1.274, allocations: 0.9536 MB / 1.1 GB, free: 63.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/1.275, allocations: 224.2 kB / 1.1 GB, free: 63.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/1.275, allocations: 129.8 kB / 1.1 GB, free: 63.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/1.276, allocations: 0.6518 MB / 1.101 GB, free: 62.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/1.276, allocations: 50.48 kB / 1.101 GB, free: 62.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/1.276, allocations: 0 / 1.101 GB, free: 62.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006139/1.277, allocations: 259.5 kB / 1.101 GB, free: 62.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/1.277, allocations: 81.11 kB / 1.101 GB, free: 62.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.623e-05/1.277, allocations: 113 kB / 1.101 GB, free: 61.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/1.277, allocations: 29.64 kB / 1.101 GB, free: 61.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/1.277, allocations: 112.4 kB / 1.101 GB, free: 61.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/1.277, allocations: 102.5 kB / 1.101 GB, free: 61.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/1.277, allocations: 4 kB / 1.101 GB, free: 61.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.987e-05/1.277, allocations: 322.8 kB / 1.102 GB, free: 61.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/1.277, allocations: 100.6 kB / 1.102 GB, free: 61.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/1.277, allocations: 183.2 kB / 1.102 GB, free: 61.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/1.278, allocations: 135.9 kB / 1.102 GB, free: 60.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.278, allocations: 0 / 1.102 GB, free: 60.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005867/1.278, allocations: 333.2 kB / 1.102 GB, free: 60.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/1.278, allocations: 5.562 kB / 1.102 GB, free: 60.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.278, allocations: 7.938 kB / 1.102 GB, free: 60.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/1.278, allocations: 4 kB / 1.102 GB, free: 60.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/1.279, allocations: 71.89 kB / 1.102 GB, free: 60.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.279, allocations: 7.906 kB / 1.102 GB, free: 60.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/1.279, allocations: 36.02 kB / 1.102 GB, free: 60.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.752e-05/1.279, allocations: 16 kB / 1.102 GB, free: 60.48 MB / 410.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.402e-05/1.279, allocations: 120.5 kB / 1.103 GB, free: 60.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/1.279, allocations: 15.89 kB / 1.103 GB, free: 60.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007898/1.28, allocations: 367.4 kB / 1.103 GB, free: 59.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.28, allocations: 0 / 1.103 GB, free: 59.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.28, allocations: 4 kB / 1.103 GB, free: 59.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.28, allocations: 0 / 1.103 GB, free: 59.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/1.281, allocations: 321.5 kB / 1.103 GB, free: 59.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.281, allocations: 3.906 kB / 1.103 GB, free: 59.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/1.281, allocations: 51.97 kB / 1.103 GB, free: 59.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/1.281, allocations: 4 kB / 1.103 GB, free: 59.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/1.281, allocations: 19.92 kB / 1.103 GB, free: 59.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/1.281, allocations: 0 / 1.103 GB, free: 59.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.281, allocations: 0 / 1.103 GB, free: 59.55 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006396/1.282, allocations: 0.5061 MB / 1.104 GB, free: 59.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/1.282, allocations: 96.86 kB / 1.104 GB, free: 58.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/1.282, allocations: 11.98 kB / 1.104 GB, free: 58.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/1.282, allocations: 8 kB / 1.104 GB, free: 58.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/1.282, allocations: 19.88 kB / 1.104 GB, free: 58.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/1.282, allocations: 15.98 kB / 1.104 GB, free: 58.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.722e-05/1.282, allocations: 95.25 kB / 1.104 GB, free: 58.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008183/1.283, allocations: 251.7 kB / 1.104 GB, free: 58.51 MB / 410.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.001423/1.285, allocations: 0.8745 MB / 1.105 GB, free: 57.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003916/1.285, allocations: 272.8 kB / 1.105 GB, free: 57.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.285, allocations: 0 / 1.105 GB, free: 57.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/1.285, allocations: 135.8 kB / 1.106 GB, free: 57.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/1.286, allocations: 73.33 kB / 1.106 GB, free: 57.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009071/1.287, allocations: 0.5771 MB / 1.106 GB, free: 56.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/1.287, allocations: 0.7791 MB / 1.107 GB, free: 55.75 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/1.287, allocations: 0 / 1.107 GB, free: 55.75 MB / 410.7 MB Notification: Performance of Templates: time 0.01562/1.303, allocations: 11.91 MB / 1.119 GB, free: 43.86 MB / 410.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)