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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001275/0.001275, allocations: 185.6 kB / 8.051 MB, free: 1.008 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.03089/0.03089, allocations: 5.424 MB / 13.89 MB, free: 84 kB / 7.832 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.845/1.845, allocations: 194.3 MB / 209.9 MB, free: 9.84 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.001884/0.001884, allocations: 113.6 kB / 256.2 MB, free: 11.95 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.771e-05, allocations: 2.469 kB / 308.1 MB, free: 43.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 45.77 MB / 353.9 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.454/1.573, allocations: 385.4 MB / 0.722 GB, free: 141 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/1.573, allocations: 78.5 kB / 0.7221 GB, free: 141 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.712/3.285, allocations: 473.4 MB / 1.184 GB, free: 13.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.196e-06/3.285, allocations: 0 / 1.184 GB, free: 13.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008791/3.286, allocations: 123.4 kB / 1.184 GB, free: 13.66 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.04046/3.327, allocations: 7.922 MB / 1.192 GB, free: 5.672 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/3.327, allocations: 8.031 kB / 1.192 GB, free: 5.664 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008789/3.336, allocations: 0.7615 MB / 1.193 GB, free: 4.895 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0172/3.353, allocations: 4.195 MB / 1.197 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001189/3.354, allocations: 428 kB / 1.197 GB, free: 176 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3848/3.739, allocations: 315.6 kB / 1.198 GB, free: 35.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04345/3.783, allocations: 18.04 MB / 1.215 GB, free: 35.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03814/3.821, allocations: 10.74 MB / 1.226 GB, free: 35.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004217/3.821, allocations: 8.375 kB / 1.226 GB, free: 35.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006748/3.828, allocations: 6.344 kB / 1.226 GB, free: 35.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006803/3.829, allocations: 376.5 kB / 1.226 GB, free: 35.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1189/3.948, allocations: 41.97 MB / 1.267 GB, free: 21.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02745/3.975, allocations: 11.3 MB / 1.278 GB, free: 21.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01245/3.988, allocations: 5.854 MB / 1.284 GB, free: 20.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06111/4.049, allocations: 17.82 MB / 1.301 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/4.049, allocations: 105.3 kB / 1.301 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01113/4.06, allocations: 1.353 MB / 1.303 GB, free: 14.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=667): time 5.978e-05/4.06, allocations: 0 / 1.303 GB, free: 14.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=688): time 0.1932/4.254, allocations: 27.38 MB / 1.33 GB, free: 292 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/4.254, allocations: 234.1 kB / 1.33 GB, free: 24 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009011/4.263, allocations: 3.255 MB / 1.333 GB, free: 13.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003162/4.266, allocations: 25.7 kB / 1.333 GB, free: 13.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003163/4.269, allocations: 2.475 MB / 1.335 GB, free: 10.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005516/4.275, allocations: 2.331 MB / 1.338 GB, free: 8.723 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003139/4.278, allocations: 0 / 1.338 GB, free: 8.723 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001118/4.279, allocations: 0.6566 MB / 1.338 GB, free: 8.164 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01226/4.291, allocations: 5.221 MB / 1.343 GB, free: 3.508 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02083/4.312, allocations: 8.026 MB / 1.351 GB, free: 12.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01824/4.33, allocations: 6.858 MB / 1.358 GB, free: 7.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001791/4.331, allocations: 24 kB / 1.358 GB, free: 7.227 MB / 458.7 MB Notification: Performance of matching and sorting (n=1084) (initialization): time 0.4024/4.733, allocations: 14.96 MB / 1.373 GB, free: 58.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.008847/4.742, allocations: 31.59 MB / 1.403 GB, free: 25.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003346/4.742, allocations: 73.28 kB / 1.403 GB, free: 25.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/4.744, allocations: 381.5 kB / 1.404 GB, free: 25.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02336/4.767, allocations: 3.176 MB / 1.407 GB, free: 25.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004738/4.772, allocations: 3.573 MB / 1.41 GB, free: 23.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01239/4.784, allocations: 367.1 kB / 1.411 GB, free: 23.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005274/4.79, allocations: 0.495 MB / 1.411 GB, free: 23.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/4.79, allocations: 6.156 kB / 1.411 GB, free: 23.32 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04931/4.839, allocations: 13.44 MB / 1.424 GB, free: 23.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004911/4.84, allocations: 76.56 kB / 1.424 GB, free: 23.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006839/4.84, allocations: 303.6 kB / 1.425 GB, free: 23.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01897/4.859, allocations: 3.005 MB / 1.428 GB, free: 23.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00464/4.864, allocations: 3.942 MB / 1.432 GB, free: 20.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01141/4.876, allocations: 359.6 kB / 1.432 GB, free: 20.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004702/4.88, allocations: 0.4901 MB / 1.432 GB, free: 20.59 MB / 458.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 (1063): * Single equations (assignments): 1060 * 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,77.8%) 4} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.009242/4.89, allocations: 356.6 kB / 1.433 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006927/4.897, allocations: 0.5304 MB / 1.433 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04474/4.941, allocations: 11.95 MB / 1.445 GB, free: 20.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.677e-05/4.941, allocations: 65.03 kB / 1.445 GB, free: 20.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-05/4.942, allocations: 1.844 kB / 1.445 GB, free: 20.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002149/4.942, allocations: 32.39 kB / 1.445 GB, free: 20.05 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.064/5.006, allocations: 20.78 MB / 1.465 GB, free: 17.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.144e-05/5.006, allocations: 11.75 kB / 1.465 GB, free: 17.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01629/5.022, allocations: 2.385 MB / 1.468 GB, free: 17.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/5.023, allocations: 310.5 kB / 1.468 GB, free: 17.78 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00326/5.027, allocations: 117.8 kB / 1.468 GB, free: 17.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003139/5.03, allocations: 3.216 MB / 1.471 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.839e-05/5.03, allocations: 21.02 kB / 1.471 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04411/5.074, allocations: 19.12 MB / 1.49 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007243/5.081, allocations: 1.576 MB / 1.491 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004027/5.085, allocations: 50.12 kB / 1.491 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007764/5.093, allocations: 308.5 kB / 1.492 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002889/5.096, allocations: 456.8 kB / 1.492 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00257/5.099, allocations: 294.7 kB / 1.492 GB, free: 11.95 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005913/5.105, allocations: 2.339 MB / 1.495 GB, free: 11.72 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/5.105, allocations: 0 / 1.495 GB, free: 11.72 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.02337/5.128, allocations: 3.407 MB / 1.498 GB, free: 11.72 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (673): * Single equations (assignments): 670 * 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,77.8%) 2} * Non-linear torn systems: 1 {4 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.008473/5.136, allocations: 1.507 MB / 1.5 GB, free: 11.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04579/5.182, allocations: 19.69 MB / 1.519 GB, free: 3.113 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.53e-05/5.182, allocations: 4 kB / 1.519 GB, free: 3.109 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02136/5.204, allocations: 6.16 MB / 1.525 GB, free: 15.03 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01246/5.216, allocations: 1.355 MB / 1.526 GB, free: 14.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05592/5.272, allocations: 14.96 MB / 1.541 GB, free: 1.195 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3654/5.638, allocations: 3.75 MB / 1.544 GB, free: 68.09 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.04074/5.679, allocations: 8.714 MB / 1.553 GB, free: 68.04 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00603/5.685, allocations: 0.5502 MB / 1.553 GB, free: 68.04 MB / 474.7 MB Notification: Performance of SimCode: time 1.513e-06/5.685, allocations: 0 / 1.553 GB, free: 68.04 MB / 474.7 MB Notification: Performance of Templates: time 0.2245/5.909, allocations: 136.4 MB / 1.687 GB, free: 12.96 MB / 474.7 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)