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.001105/0.001105, allocations: 183.5 kB / 16.81 MB, free: 5.008 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.02925/0.02925, allocations: 5.486 MB / 23.05 MB, free: 1.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.435/1.435, allocations: 194.5 MB / 219.5 MB, free: 13.18 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001554/0.001553, allocations: 120.1 kB / 266.1 MB, free: 14.48 MB / 218.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 12 kB / 322.5 MB, free: 6 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2177, allocations: 45.73 MB / 368.2 MB, free: 49.05 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7455/0.9632, allocations: 386.3 MB / 0.7368 GB, free: 103 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.9636, allocations: 83.97 kB / 0.7369 GB, free: 102.9 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.608/2.572, allocations: 475.6 MB / 1.201 GB, free: 29.12 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.945e-06/2.572, allocations: 2.906 kB / 1.201 GB, free: 29.12 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0006193/2.572, allocations: 129.3 kB / 1.201 GB, free: 29.11 MB / 426.8 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.03115/2.604, allocations: 8.568 MB / 1.21 GB, free: 26.71 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/2.604, allocations: 17.44 kB / 1.21 GB, free: 26.7 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005728/2.609, allocations: 0.757 MB / 1.211 GB, free: 26.37 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/2.622, allocations: 4.332 MB / 1.215 GB, free: 25.53 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007016/2.623, allocations: 0.6012 MB / 1.215 GB, free: 25.33 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00362/2.626, allocations: 0.5085 MB / 1.216 GB, free: 25.32 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02603/2.652, allocations: 11.62 MB / 1.227 GB, free: 24.71 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/2.653, allocations: 11.56 kB / 1.227 GB, free: 24.71 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001015/2.654, allocations: 210.3 kB / 1.227 GB, free: 24.71 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002605/2.654, allocations: 374.9 kB / 1.228 GB, free: 24.7 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03751/2.691, allocations: 25.01 MB / 1.252 GB, free: 24.6 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0801/2.772, allocations: 42.63 MB / 1.294 GB, free: 8.656 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02054/2.792, allocations: 11.79 MB / 1.305 GB, free: 324 kB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.03058/2.823, allocations: 7.727 MB / 1.313 GB, free: 15.05 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05142/2.874, allocations: 18.14 MB / 1.331 GB, free: 160 kB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/2.874, allocations: 106.9 kB / 1.331 GB, free: 44 kB / 442.8 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.227/3.101, allocations: 1.458 MB / 1.332 GB, free: 45.86 MB / 442.8 MB Notification: Performance of pre-optimization done (n=667): time 2.481e-05/3.101, allocations: 0 / 1.332 GB, free: 45.86 MB / 442.8 MB Notification: Performance of matching and sorting (n=691): time 0.1721/3.273, allocations: 35.18 MB / 1.367 GB, free: 43.44 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.138e-05/3.274, allocations: 225.2 kB / 1.367 GB, free: 43.25 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006553/3.28, allocations: 4.043 MB / 1.371 GB, free: 42.9 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002551/3.283, allocations: 149 kB / 1.371 GB, free: 42.87 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002075/3.285, allocations: 2.49 MB / 1.373 GB, free: 41.99 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004701/3.29, allocations: 2.434 MB / 1.376 GB, free: 40.49 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001601/3.291, allocations: 171.4 kB / 1.376 GB, free: 40.49 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0008609/3.292, allocations: 0.6583 MB / 1.376 GB, free: 40.17 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0105/3.303, allocations: 5.491 MB / 1.382 GB, free: 40.14 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0126/3.315, allocations: 7.922 MB / 1.39 GB, free: 37.41 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02347/3.339, allocations: 14.08 MB / 1.403 GB, free: 34.49 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001092/3.339, allocations: 23.62 kB / 1.403 GB, free: 34.49 MB / 442.8 MB Notification: Performance of matching and sorting (n=1087) (initialization): time 0.03573/3.375, allocations: 14.61 MB / 1.418 GB, free: 33.26 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.001565/3.376, allocations: 2.259 MB / 1.42 GB, free: 30.29 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002043/3.376, allocations: 74.81 kB / 1.42 GB, free: 30.29 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001744/3.378, allocations: 459.2 kB / 1.42 GB, free: 30.21 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01813/3.396, allocations: 3.236 MB / 1.423 GB, free: 30.08 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/3.4, allocations: 3.604 MB / 1.427 GB, free: 27.18 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009645/3.41, allocations: 0.5405 MB / 1.428 GB, free: 27.01 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003379/3.413, allocations: 0.5075 MB / 1.428 GB, free: 26.93 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/3.413, allocations: 6.469 kB / 1.428 GB, free: 26.93 MB / 442.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03367/3.447, allocations: 14.14 MB / 1.442 GB, free: 21.67 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003664/3.447, allocations: 77.81 kB / 1.442 GB, free: 21.67 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006584/3.448, allocations: 307 kB / 1.442 GB, free: 21.6 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0175/3.466, allocations: 3.05 MB / 1.445 GB, free: 21.32 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004245/3.47, allocations: 4.118 MB / 1.449 GB, free: 17.27 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009519/3.479, allocations: 0.5287 MB / 1.45 GB, free: 16.88 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003825/3.483, allocations: 0.5014 MB / 1.45 GB, free: 16.46 MB / 442.8 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 (1066): * Single equations (assignments): 1063 * 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.008855/3.492, allocations: 2.045 MB / 1.452 GB, free: 14.67 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003171/3.495, allocations: 0.5503 MB / 1.453 GB, free: 14.11 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02777/3.523, allocations: 12.64 MB / 1.465 GB, free: 3.57 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-05/3.523, allocations: 67 kB / 1.465 GB, free: 3.508 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/3.523, allocations: 4 kB / 1.465 GB, free: 3.504 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001342/3.523, allocations: 38.77 kB / 1.465 GB, free: 3.5 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05367/3.577, allocations: 22.02 MB / 1.487 GB, free: 1.312 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-05/3.577, allocations: 19 kB / 1.487 GB, free: 1.301 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01594/3.593, allocations: 2.433 MB / 1.489 GB, free: 15.53 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/3.594, allocations: 346.9 kB / 1.489 GB, free: 15.25 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002264/3.597, allocations: 216.3 kB / 1.49 GB, free: 15.08 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003304/3.6, allocations: 3.281 MB / 1.493 GB, free: 11.82 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/3.6, allocations: 15.94 kB / 1.493 GB, free: 11.81 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2629/3.863, allocations: 19.06 MB / 1.511 GB, free: 63.8 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005845/3.869, allocations: 1.599 MB / 1.513 GB, free: 63.71 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002729/3.872, allocations: 157.7 kB / 1.513 GB, free: 63.71 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006433/3.878, allocations: 419.3 kB / 1.514 GB, free: 63.71 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002245/3.88, allocations: 465.7 kB / 1.514 GB, free: 63.7 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001277/3.882, allocations: 299.6 kB / 1.514 GB, free: 63.7 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004692/3.886, allocations: 2.634 MB / 1.517 GB, free: 63.52 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.11e-07/3.886, allocations: 1.438 kB / 1.517 GB, free: 63.52 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.02097/3.907, allocations: 3.93 MB / 1.521 GB, free: 63.52 MB / 474.8 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.007165/3.915, allocations: 1.617 MB / 1.522 GB, free: 63.4 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.04334/3.958, allocations: 20.71 MB / 1.543 GB, free: 62.87 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.036e-05/3.958, allocations: 2.312 kB / 1.543 GB, free: 62.87 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01252/3.971, allocations: 6.016 MB / 1.548 GB, free: 62.72 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01642/3.987, allocations: 2.047 MB / 1.55 GB, free: 62.68 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03416/4.021, allocations: 19.68 MB / 1.57 GB, free: 56.62 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003458/4.025, allocations: 3.633 MB / 1.573 GB, free: 55.73 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.02189/4.047, allocations: 8.036 MB / 1.581 GB, free: 54.84 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005204/4.052, allocations: 0.7107 MB / 1.582 GB, free: 54.83 MB / 474.8 MB Notification: Performance of SimCode: time 9.62e-07/4.052, allocations: 4 kB / 1.582 GB, free: 54.83 MB / 474.8 MB Notification: Performance of Templates: time 0.4937/4.546, allocations: 175 MB / 1.753 GB, free: 61.39 MB / 474.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)