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.001274/0.001274, allocations: 188 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.02163/0.02163, allocations: 5.483 MB / 22.02 MB, free: 124 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.444/1.444, allocations: 194.5 MB / 218.5 MB, free: 1.395 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.001685/0.001685, allocations: 104.7 kB / 265 MB, free: 2.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004109, allocations: 12 kB / 321.2 MB, free: 19.46 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09096/0.09139, allocations: 45.75 MB / 367 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9287/1.02, allocations: 386.2 MB / 0.7355 GB, free: 128.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/1.021, allocations: 87.91 kB / 0.7356 GB, free: 128.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823/2.844, allocations: 478.6 MB / 1.203 GB, free: 33.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.465e-06/2.844, allocations: 1.562 kB / 1.203 GB, free: 33.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005516/2.844, allocations: 130.2 kB / 1.203 GB, free: 33.08 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.03668/2.881, allocations: 8.612 MB / 1.211 GB, free: 30.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/2.881, allocations: 14.39 kB / 1.212 GB, free: 30.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007641/2.889, allocations: 0.7634 MB / 1.212 GB, free: 30.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01729/2.906, allocations: 4.212 MB / 1.216 GB, free: 29.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001352/2.908, allocations: 0.5935 MB / 1.217 GB, free: 29.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006125/2.914, allocations: 0.5114 MB / 1.217 GB, free: 29.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04692/2.961, allocations: 11.58 MB / 1.229 GB, free: 28.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003015/2.961, allocations: 11.72 kB / 1.229 GB, free: 28.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004366/2.965, allocations: 209.8 kB / 1.229 GB, free: 28.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005469/2.966, allocations: 377.5 kB / 1.229 GB, free: 28.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04651/3.013, allocations: 25.01 MB / 1.254 GB, free: 28.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09862/3.111, allocations: 42.65 MB / 1.295 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02395/3.135, allocations: 11.79 MB / 1.307 GB, free: 5.668 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05878/3.194, allocations: 18.02 MB / 1.325 GB, free: 7.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/3.194, allocations: 99.8 kB / 1.325 GB, free: 7.07 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0101/3.204, allocations: 1.329 MB / 1.326 GB, free: 5.977 MB / 442.7 MB Notification: Performance of pre-optimization done (n=667): time 4.339e-05/3.204, allocations: 0 / 1.326 GB, free: 5.977 MB / 442.7 MB Notification: Performance of matching and sorting (n=691): time 0.5231/3.728, allocations: 34.84 MB / 1.36 GB, free: 45.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/3.728, allocations: 232.9 kB / 1.36 GB, free: 44.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005589/3.733, allocations: 3.57 MB / 1.364 GB, free: 44.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002276/3.736, allocations: 145.4 kB / 1.364 GB, free: 44.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001963/3.738, allocations: 2.491 MB / 1.366 GB, free: 43.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003965/3.742, allocations: 2.435 MB / 1.369 GB, free: 42.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007308/3.742, allocations: 175.4 kB / 1.369 GB, free: 42.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006248/3.743, allocations: 0.6569 MB / 1.369 GB, free: 42.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009739/3.753, allocations: 5.266 MB / 1.375 GB, free: 41.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01285/3.766, allocations: 7.668 MB / 1.382 GB, free: 39.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01308/3.779, allocations: 6.392 MB / 1.388 GB, free: 39.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001868/3.779, allocations: 23.34 kB / 1.388 GB, free: 39.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=1086) (initialization): time 0.03096/3.81, allocations: 14.19 MB / 1.402 GB, free: 38.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.006374/3.816, allocations: 31.8 MB / 1.433 GB, free: 20.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002062/3.817, allocations: 71.06 kB / 1.433 GB, free: 20.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/3.818, allocations: 434.9 kB / 1.434 GB, free: 20.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01813/3.836, allocations: 3.204 MB / 1.437 GB, free: 20.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003689/3.84, allocations: 3.513 MB / 1.44 GB, free: 18.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009482/3.849, allocations: 0.5342 MB / 1.441 GB, free: 18.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003258/3.853, allocations: 0.5051 MB / 1.441 GB, free: 18.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/3.853, allocations: 6.031 kB / 1.441 GB, free: 18.27 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02917/3.882, allocations: 13.71 MB / 1.455 GB, free: 17.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002881/3.882, allocations: 72.84 kB / 1.455 GB, free: 17.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004716/3.883, allocations: 290.8 kB / 1.455 GB, free: 17.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01718/3.9, allocations: 3.037 MB / 1.458 GB, free: 17.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004134/3.904, allocations: 3.962 MB / 1.462 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008598/3.913, allocations: 0.531 MB / 1.462 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00274/3.916, allocations: 0.4993 MB / 1.463 GB, free: 14.12 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1065): * Single equations (assignments): 1062 * 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.006497/3.922, allocations: 2.035 MB / 1.465 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001346/3.923, allocations: 0.5465 MB / 1.465 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0208/3.944, allocations: 12.33 MB / 1.477 GB, free: 8.066 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.894e-05/3.944, allocations: 71.64 kB / 1.477 GB, free: 8.062 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/3.944, allocations: 0 / 1.477 GB, free: 8.062 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.979e-05/3.944, allocations: 33.19 kB / 1.477 GB, free: 8.062 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05184/3.996, allocations: 21.56 MB / 1.499 GB, free: 7.352 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/3.996, allocations: 9.094 kB / 1.499 GB, free: 7.344 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01528/4.012, allocations: 2.42 MB / 1.501 GB, free: 5.523 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/4.013, allocations: 320 kB / 1.501 GB, free: 5.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002261/4.015, allocations: 216.2 kB / 1.501 GB, free: 5.102 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003406/4.019, allocations: 3.183 MB / 1.505 GB, free: 1.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/4.019, allocations: 23.38 kB / 1.505 GB, free: 1.891 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3155/4.334, allocations: 19.46 MB / 1.524 GB, free: 70.36 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00697/4.341, allocations: 1.563 MB / 1.525 GB, free: 70.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003303/4.345, allocations: 163 kB / 1.525 GB, free: 70.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00723/4.352, allocations: 421.1 kB / 1.526 GB, free: 70.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002762/4.355, allocations: 459.6 kB / 1.526 GB, free: 70.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002361/4.357, allocations: 300.2 kB / 1.526 GB, free: 70.26 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006517/4.364, allocations: 2.636 MB / 1.529 GB, free: 70.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.71e-07/4.364, allocations: 0 / 1.529 GB, free: 70.08 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02443/4.388, allocations: 3.903 MB / 1.533 GB, free: 70.08 MB / 474.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (677): * Single equations (assignments): 674 * 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.008515/4.397, allocations: 1.612 MB / 1.534 GB, free: 69.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.04772/4.444, allocations: 20.05 MB / 1.554 GB, free: 69.42 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.268e-05/4.444, allocations: 2.594 kB / 1.554 GB, free: 69.42 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01561/4.46, allocations: 5.86 MB / 1.56 GB, free: 69.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01194/4.472, allocations: 1.612 MB / 1.561 GB, free: 69.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05078/4.523, allocations: 19.27 MB / 1.58 GB, free: 62.93 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008867/4.532, allocations: 3.726 MB / 1.584 GB, free: 62.02 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0301/4.562, allocations: 7.98 MB / 1.591 GB, free: 61.14 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007448/4.569, allocations: 0.5895 MB / 1.592 GB, free: 61.13 MB / 474.7 MB Notification: Performance of SimCode: time 1.352e-06/4.569, allocations: 0 / 1.592 GB, free: 61.13 MB / 474.7 MB Notification: Performance of Templates: time 0.5062/5.076, allocations: 144.2 MB / 1.733 GB, free: 69.03 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)