Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr LibRAS_LibRAS.Examples.ReactorTest.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/LibRAS master/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 LibRAS with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/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(LibRAS.Examples.ReactorTest,tolerance=0.0001,outputFormat="empty",numberOfIntervals=48,variableFilter="",fileNamePrefix="LibRAS_LibRAS.Examples.ReactorTest") translateModel(LibRAS.Examples.ReactorTest,tolerance=0.0001,outputFormat="empty",numberOfIntervals=48,variableFilter="",fileNamePrefix="LibRAS_LibRAS.Examples.ReactorTest") [: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.00122/0.001219, allocations: 196.8 kB / 7.846 MB, free: 2.48 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.02504/0.02504, allocations: 5.428 MB / 13.69 MB, free: 2.289 MB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.808/1.808, allocations: 194.2 MB / 209.6 MB, free: 1.961 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.001837/0.001837, allocations: 113.8 kB / 255.8 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.493e-06, allocations: 0 / 307.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1204, allocations: 45.73 MB / 353.3 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.078/1.198, allocations: 385.4 MB / 0.7214 GB, free: 101.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/1.199, allocations: 76.91 kB / 0.7214 GB, free: 101.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.708/2.906, allocations: 475.3 MB / 1.186 GB, free: 31.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006037/2.907, allocations: 132.7 kB / 1.186 GB, free: 31.85 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: 1429 * Number of variables: 1429 Notification: Performance of Generate backend data structure: time 0.03965/2.946, allocations: 7.937 MB / 1.193 GB, free: 29.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.013e-05/2.947, allocations: 12.3 kB / 1.193 GB, free: 29.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00881/2.955, allocations: 0.7674 MB / 1.194 GB, free: 29.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01521/2.971, allocations: 4.201 MB / 1.198 GB, free: 28.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009305/2.972, allocations: 429.4 kB / 1.199 GB, free: 28.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004907/2.977, allocations: 316.1 kB / 1.199 GB, free: 28.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03646/3.013, allocations: 17.55 MB / 1.216 GB, free: 28.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04008/3.053, allocations: 11.04 MB / 1.227 GB, free: 27.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003653/3.054, allocations: 10.84 kB / 1.227 GB, free: 27.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004803/3.058, allocations: 10.56 kB / 1.227 GB, free: 27.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004169/3.059, allocations: 393.4 kB / 1.227 GB, free: 27.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1147/3.173, allocations: 42.76 MB / 1.269 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01695/3.191, allocations: 7.053 MB / 1.276 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01209/3.203, allocations: 6.142 MB / 1.282 GB, free: 5.242 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0532/3.256, allocations: 17.99 MB / 1.3 GB, free: 6.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.694e-05/3.256, allocations: 106.2 kB / 1.3 GB, free: 6.566 MB / 442.7 MB Notification: Performance of pre-optimization done (n=667): time 9.238e-06/3.256, allocations: 4 kB / 1.3 GB, free: 6.562 MB / 442.7 MB Notification: Performance of matching and sorting (n=690): time 0.4038/3.66, allocations: 30.61 MB / 1.33 GB, free: 73.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.607e-05/3.66, allocations: 225.7 kB / 1.33 GB, free: 73.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005815/3.666, allocations: 3.31 MB / 1.333 GB, free: 73.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003122/3.669, allocations: 25.7 kB / 1.333 GB, free: 73.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001597/3.671, allocations: 1.917 MB / 1.335 GB, free: 72.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005383/3.676, allocations: 2.338 MB / 1.337 GB, free: 70.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002288/3.678, allocations: 0 / 1.337 GB, free: 70.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00103/3.679, allocations: 0.6555 MB / 1.338 GB, free: 70.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01094/3.69, allocations: 5.807 MB / 1.343 GB, free: 70.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01322/3.704, allocations: 8.155 MB / 1.351 GB, free: 67.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01756/3.721, allocations: 7.558 MB / 1.359 GB, free: 67.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001387/3.721, allocations: 22.72 kB / 1.359 GB, free: 67.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=1086) (initialization): time 0.04156/3.763, allocations: 15.71 MB / 1.374 GB, free: 67.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.008081/3.771, allocations: 31.53 MB / 1.405 GB, free: 34.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003053/3.771, allocations: 71.84 kB / 1.405 GB, free: 34.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002836/3.774, allocations: 0.6951 MB / 1.406 GB, free: 34.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0224/3.797, allocations: 3.236 MB / 1.409 GB, free: 34.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005967/3.803, allocations: 4.381 MB / 1.413 GB, free: 32.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01146/3.814, allocations: 333.7 kB / 1.413 GB, free: 32.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003801/3.818, allocations: 0.5423 MB / 1.414 GB, free: 32.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/3.818, allocations: 3.75 kB / 1.414 GB, free: 32.24 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03225/3.85, allocations: 15.16 MB / 1.429 GB, free: 31.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003795/3.851, allocations: 73.81 kB / 1.429 GB, free: 31.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/3.853, allocations: 0.57 MB / 1.429 GB, free: 31.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02229/3.875, allocations: 3.053 MB / 1.432 GB, free: 31.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00782/3.883, allocations: 5.288 MB / 1.438 GB, free: 28.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01083/3.894, allocations: 329.8 kB / 1.438 GB, free: 28.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003745/3.898, allocations: 0.5385 MB / 1.438 GB, free: 28.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 10 (aerob1.regularFlow[1],aerob1.regularFlow[2],bufferTank.regularFlow[1],bufferTank.regularFlow[2],bufferTank.regularFlow[3],bufferTank.inFlow[3],bufferTank.inFlow[2],bufferTank.inFlow[1],aerob1.inFlow[2],aerob1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1055): * Single equations (assignments): 1052 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 1 {4 17} Notification: Performance of prepare postOptimizeDAE: time 0.004017/3.902, allocations: 351 kB / 1.439 GB, free: 28.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00227/3.904, allocations: 0.5339 MB / 1.439 GB, free: 28.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02966/3.934, allocations: 13.43 MB / 1.452 GB, free: 26.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.419e-05/3.934, allocations: 65.16 kB / 1.452 GB, free: 26.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.407e-05/3.934, allocations: 3.812 kB / 1.452 GB, free: 26.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.88e-05/3.934, allocations: 31.97 kB / 1.452 GB, free: 26.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04744/3.982, allocations: 21.01 MB / 1.473 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/3.982, allocations: 0 / 1.473 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01619/3.998, allocations: 2.362 MB / 1.475 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/4, allocations: 484.1 kB / 1.476 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001447/4.001, allocations: 121.7 kB / 1.476 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2011/4.202, allocations: 3.564 MB / 1.479 GB, free: 65.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/4.202, allocations: 3.656 kB / 1.479 GB, free: 65.57 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03794/4.24, allocations: 19.92 MB / 1.499 GB, free: 65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006959/4.247, allocations: 1.656 MB / 1.5 GB, free: 64.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002582/4.25, allocations: 39.38 kB / 1.5 GB, free: 64.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006911/4.257, allocations: 261 kB / 1.501 GB, free: 64.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001185/4.258, allocations: 387.9 kB / 1.501 GB, free: 64.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008554/4.259, allocations: 293.5 kB / 1.501 GB, free: 64.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.004437/4.263, allocations: 2.379 MB / 1.504 GB, free: 64.72 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.02385/4.287, allocations: 3.516 MB / 1.507 GB, free: 64.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 52 (aerob1.mC_S_scaled[1],aerob1.mC_S_scaled[2],aerob1.mC_S_scaled[3],aerob1.mC_S_scaled[4],aerob1.mC_S_scaled[5],aerob1.mC_S_scaled[6],aerob1.mC_S_scaled[7],aerob1.mC_S_scaled[8],aerob1.mC_S_scaled[9],aerob1.mC_S_scaled[10],aerob1.mC_X_scaled[1],aerob1.mC_X_scaled[2],aerob1.mC_X_scaled[3],aerob1.mC_X_scaled[4],aerob1.mC_X_scaled[5],aerob1.mC_X_scaled[6],aerob1.mC_X_scaled[7],aerob1.C_S_film[1],aerob1.C_S_film[2],aerob1.C_S_film[3],aerob1.C_S_film[4],aerob1.C_S_film[5],aerob1.C_S_film[6],aerob1.C_S_film[7],aerob1.C_S_film[8],aerob1.C_S_film[9],aerob1.C_S_film[10],aerob1.C_X_film[1],aerob1.C_X_film[2],aerob1.C_X_film[3],aerob1.C_X_film[4],aerob1.C_X_film[5],aerob1.C_X_film[6],aerob1.C_X_film[7],aerob1.L,bufferTank.mC_S_scaled[1],bufferTank.mC_S_scaled[2],bufferTank.mC_S_scaled[3],bufferTank.mC_S_scaled[4],bufferTank.mC_S_scaled[5],bufferTank.mC_S_scaled[6],bufferTank.mC_S_scaled[7],bufferTank.mC_S_scaled[8],bufferTank.mC_S_scaled[9],bufferTank.mC_S_scaled[10],bufferTank.mC_X_scaled[1],bufferTank.mC_X_scaled[2],bufferTank.mC_X_scaled[3],bufferTank.mC_X_scaled[4],bufferTank.mC_X_scaled[5],bufferTank.mC_X_scaled[6],bufferTank.mC_X_scaled[7]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (665): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 7} * Non-linear torn systems: 1 {4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.008139/4.295, allocations: 1.472 MB / 1.509 GB, free: 64.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.04726/4.343, allocations: 21.73 MB / 1.53 GB, free: 64.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/4.343, allocations: 0 / 1.53 GB, free: 64.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01589/4.359, allocations: 6.397 MB / 1.536 GB, free: 64.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01053/4.369, allocations: 1.239 MB / 1.537 GB, free: 64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06064/4.43, allocations: 20.46 MB / 1.557 GB, free: 61.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01571/4.446, allocations: 4.575 MB / 1.562 GB, free: 60.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.423e-06/4.446, allocations: 2.734 kB / 1.562 GB, free: 60.97 MB / 442.7 MB Notification: Performance of Templates: time 1.054/5.5, allocations: 230.4 MB / 1.787 GB, free: 66.92 MB / 442.8 MB make -j1 -f LibRAS_LibRAS.Examples.ReactorTest.makefile (rm -f LibRAS_LibRAS.Examples.ReactorTest.pipe ; mkfifo LibRAS_LibRAS.Examples.ReactorTest.pipe ; head -c 1048576 < LibRAS_LibRAS.Examples.ReactorTest.pipe >> ../files/LibRAS_LibRAS.Examples.ReactorTest.sim & ./LibRAS_LibRAS.Examples.ReactorTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > LibRAS_LibRAS.Examples.ReactorTest.pipe 2>&1)