Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.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.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas") [: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.00387/0.00387, allocations: 182.3 kB / 7.455 MB, free: 2.512 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.524/1.524, allocations: 194.2 MB / 202.1 MB, free: 8.824 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.001805/0.001805, allocations: 118.7 kB / 247.1 MB, free: 6.262 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.227/0.227, allocations: 39.94 MB / 331.9 MB, free: 4.996 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.002e-05/1.006e-05, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1407, allocations: 54.86 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.67/1.811, allocations: 0.7588 GB / 1.196 GB, free: 7.859 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/1.811, allocations: 67.97 kB / 1.196 GB, free: 7.793 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Media.mo:725:35-725:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd: time 0.3303/2.142, allocations: 61.27 MB / 1.256 GB, free: 139 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/2.142, allocations: 7.938 kB / 1.256 GB, free: 139 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007696/2.143, allocations: 474.2 kB / 1.256 GB, free: 138.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/2.143, allocations: 11.97 kB / 1.256 GB, free: 138.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005941/2.149, allocations: 0.8302 MB / 1.257 GB, free: 137.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00066/2.149, allocations: 278.8 kB / 1.257 GB, free: 137.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/2.149, allocations: 8 kB / 1.257 GB, free: 137.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/2.15, allocations: 11.91 kB / 1.257 GB, free: 137.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001264/2.151, allocations: 0.6562 MB / 1.258 GB, free: 136.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006399/2.152, allocations: 416.5 kB / 1.258 GB, free: 136.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/2.152, allocations: 4 kB / 1.258 GB, free: 136.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/2.152, allocations: 0 / 1.258 GB, free: 136.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/2.152, allocations: 12 kB / 1.258 GB, free: 136.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/2.155, allocations: 1.318 MB / 1.26 GB, free: 134.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/2.155, allocations: 316.2 kB / 1.26 GB, free: 134.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/2.155, allocations: 225.7 kB / 1.26 GB, free: 134.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005771/2.156, allocations: 254.3 kB / 1.26 GB, free: 134 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/2.156, allocations: 38.56 kB / 1.261 GB, free: 134 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 2.855e-06/2.156, allocations: 0 / 1.261 GB, free: 134 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008533/2.157, allocations: 445.6 kB / 1.261 GB, free: 133.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/2.157, allocations: 81.11 kB / 1.261 GB, free: 133.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/2.157, allocations: 113 kB / 1.261 GB, free: 133.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/2.157, allocations: 25.7 kB / 1.261 GB, free: 133.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/2.157, allocations: 116.4 kB / 1.261 GB, free: 133.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.826e-05/2.157, allocations: 110.4 kB / 1.261 GB, free: 133.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/2.157, allocations: 0 / 1.261 GB, free: 133.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.273e-05/2.157, allocations: 322.8 kB / 1.262 GB, free: 132.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/2.158, allocations: 203.9 kB / 1.262 GB, free: 132.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/2.158, allocations: 304.9 kB / 1.262 GB, free: 132.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/2.158, allocations: 235.2 kB / 1.262 GB, free: 132 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/2.158, allocations: 4 kB / 1.262 GB, free: 132 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000827/2.159, allocations: 0.5404 MB / 1.263 GB, free: 131.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/2.159, allocations: 8 kB / 1.263 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/2.159, allocations: 0 / 1.263 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/2.159, allocations: 11.98 kB / 1.263 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/2.16, allocations: 79.89 kB / 1.263 GB, free: 131.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/2.16, allocations: 11.94 kB / 1.263 GB, free: 131.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/2.16, allocations: 39.78 kB / 1.263 GB, free: 131.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/2.16, allocations: 27.98 kB / 1.263 GB, free: 131.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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.0001218/2.16, allocations: 112.8 kB / 1.263 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/2.161, allocations: 19.84 kB / 1.263 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009754/2.162, allocations: 0.5447 MB / 1.264 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/2.162, allocations: 4 kB / 1.264 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/2.162, allocations: 0 / 1.264 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/2.162, allocations: 0 / 1.264 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006913/2.162, allocations: 0.5122 MB / 1.264 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/2.162, allocations: 0 / 1.264 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/2.163, allocations: 63.89 kB / 1.264 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/2.163, allocations: 4 kB / 1.264 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/2.163, allocations: 7.984 kB / 1.264 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/2.163, allocations: 8 kB / 1.264 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/2.163, allocations: 0 / 1.264 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008907/2.164, allocations: 0.7385 MB / 1.265 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/2.164, allocations: 92.86 kB / 1.265 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.004e-05/2.164, allocations: 4 kB / 1.265 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/2.165, allocations: 27.95 kB / 1.265 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/2.165, allocations: 11.98 kB / 1.265 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/2.165, allocations: 19.97 kB / 1.265 GB, free: 129 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.354e-05/2.165, allocations: 103.3 kB / 1.265 GB, free: 128.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008729/2.166, allocations: 187.8 kB / 1.265 GB, free: 128.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.001576/2.167, allocations: 0.8625 MB / 1.266 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000655/2.168, allocations: 480.5 kB / 1.267 GB, free: 127.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/2.168, allocations: 4 kB / 1.267 GB, free: 127.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002774/2.168, allocations: 239.8 kB / 1.267 GB, free: 127.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005842/2.169, allocations: 76.61 kB / 1.267 GB, free: 127 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/2.17, allocations: 0.7838 MB / 1.268 GB, free: 126.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004498/2.17, allocations: 0.7829 MB / 1.269 GB, free: 125.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.2e-07/2.17, allocations: 0 / 1.269 GB, free: 125.4 MB / 474.7 MB Notification: Performance of Templates: time 0.01644/2.187, allocations: 13.06 MB / 1.281 GB, free: 112.4 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1)