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: "" <> buildModelFMU(LibRAS.Examples.ReactorTest,fileNamePrefix="LibRAS_LibRAS_Examples_ReactorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(LibRAS.Examples.ReactorTest,fileNamePrefix="LibRAS_LibRAS_Examples_ReactorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002397/0.002397, allocations: 186.3 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.0366/0.0366, 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.792/1.792, allocations: 194.5 MB / 218.5 MB, free: 2.371 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.001444/0.001444, allocations: 124.6 kB / 265 MB, free: 3.73 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.000403, allocations: 12 kB / 321.3 MB, free: 19.46 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1057, allocations: 45.74 MB / 367.1 MB, free: 5.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.088/1.194, allocations: 386.2 MB / 0.7356 GB, free: 129.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/1.194, allocations: 84.22 kB / 0.7357 GB, free: 129.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.92/3.115, allocations: 478.6 MB / 1.203 GB, free: 33.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.585e-06/3.115, allocations: 2.719 kB / 1.203 GB, free: 33.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006052/3.116, allocations: 125.1 kB / 1.203 GB, free: 33.19 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/3.152, allocations: 8.619 MB / 1.212 GB, free: 30.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/3.152, allocations: 11.84 kB / 1.212 GB, free: 30.78 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005683/3.158, allocations: 0.757 MB / 1.212 GB, free: 30.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008332/3.166, allocations: 0.7648 MB / 1.213 GB, free: 30.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01602/3.182, allocations: 4.215 MB / 1.217 GB, free: 29.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001072/3.184, allocations: 0.5956 MB / 1.218 GB, free: 29.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004889/3.188, allocations: 0.516 MB / 1.218 GB, free: 29.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0347/3.223, allocations: 11.58 MB / 1.23 GB, free: 28.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003804/3.224, allocations: 11.41 kB / 1.23 GB, free: 28.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004606/3.228, allocations: 204.1 kB / 1.23 GB, free: 28.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005336/3.229, allocations: 378.1 kB / 1.23 GB, free: 28.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05046/3.279, allocations: 25.01 MB / 1.255 GB, free: 28.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1015/3.381, allocations: 42.66 MB / 1.296 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02496/3.406, allocations: 11.78 MB / 1.308 GB, free: 5.191 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05964/3.466, allocations: 18.01 MB / 1.325 GB, free: 6.707 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/3.466, allocations: 105.4 kB / 1.325 GB, free: 6.594 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009089/3.475, allocations: 1.323 MB / 1.327 GB, free: 5.504 MB / 442.7 MB Notification: Performance of pre-optimization done (n=667): time 4.487e-05/3.475, allocations: 4 kB / 1.327 GB, free: 5.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=691): time 0.5104/3.985, allocations: 35.01 MB / 1.361 GB, free: 45.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/3.985, allocations: 236.1 kB / 1.361 GB, free: 45.22 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005512/3.991, allocations: 3.568 MB / 1.365 GB, free: 44.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002073/3.993, allocations: 145 kB / 1.365 GB, free: 44.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001739/3.995, allocations: 2.491 MB / 1.367 GB, free: 43.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00334/3.998, allocations: 2.436 MB / 1.37 GB, free: 42.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006501/3.999, allocations: 169.9 kB / 1.37 GB, free: 42.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004742/3.999, allocations: 0.663 MB / 1.37 GB, free: 42.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007977/4.007, allocations: 5.265 MB / 1.376 GB, free: 42.24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009662/4.017, allocations: 7.665 MB / 1.383 GB, free: 39.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/4.027, allocations: 6.4 MB / 1.389 GB, free: 39.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.432e-05/4.028, allocations: 20.59 kB / 1.389 GB, free: 39.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=1086) (initialization): time 0.02578/4.053, allocations: 14.18 MB / 1.403 GB, free: 38.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.006362/4.06, allocations: 31.8 MB / 1.434 GB, free: 21.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002013/4.06, allocations: 72.44 kB / 1.434 GB, free: 21.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/4.061, allocations: 430.8 kB / 1.435 GB, free: 21.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0184/4.08, allocations: 3.208 MB / 1.438 GB, free: 21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004055/4.084, allocations: 3.515 MB / 1.441 GB, free: 18.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0103/4.094, allocations: 0.5281 MB / 1.442 GB, free: 18.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003414/4.098, allocations: 0.5064 MB / 1.442 GB, free: 18.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/4.098, allocations: 5.188 kB / 1.442 GB, free: 18.52 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03086/4.129, allocations: 13.72 MB / 1.456 GB, free: 17.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004612/4.129, allocations: 71.59 kB / 1.456 GB, free: 17.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007055/4.13, allocations: 286.9 kB / 1.456 GB, free: 17.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0189/4.149, allocations: 3.035 MB / 1.459 GB, free: 17.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004701/4.154, allocations: 3.966 MB / 1.463 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009715/4.163, allocations: 0.5255 MB / 1.463 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003456/4.167, allocations: 0.4956 MB / 1.464 GB, free: 14.47 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.008516/4.175, allocations: 2.039 MB / 1.466 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003449/4.179, allocations: 0.5471 MB / 1.466 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03179/4.211, allocations: 12.33 MB / 1.478 GB, free: 8.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.855e-05/4.211, allocations: 72.84 kB / 1.478 GB, free: 8.402 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.138e-05/4.211, allocations: 0 / 1.478 GB, free: 8.402 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001536/4.211, allocations: 35.91 kB / 1.479 GB, free: 8.402 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05974/4.271, allocations: 21.56 MB / 1.5 GB, free: 7.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.133e-05/4.271, allocations: 8 kB / 1.5 GB, free: 7.172 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01626/4.287, allocations: 2.416 MB / 1.502 GB, free: 5.352 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/4.289, allocations: 328.5 kB / 1.502 GB, free: 5.094 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00256/4.291, allocations: 210.4 kB / 1.502 GB, free: 4.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003331/4.295, allocations: 3.186 MB / 1.506 GB, free: 1.734 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/4.295, allocations: 15.94 kB / 1.506 GB, free: 1.719 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3445/4.639, allocations: 19.46 MB / 1.525 GB, free: 70.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009915/4.649, allocations: 1.564 MB / 1.526 GB, free: 70.36 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003934/4.653, allocations: 156.1 kB / 1.526 GB, free: 70.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008241/4.661, allocations: 421.6 kB / 1.527 GB, free: 70.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002917/4.664, allocations: 456 kB / 1.527 GB, free: 70.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001735/4.666, allocations: 304.4 kB / 1.527 GB, free: 70.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006461/4.672, allocations: 2.637 MB / 1.53 GB, free: 70.17 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.092e-06/4.672, allocations: 2.062 kB / 1.53 GB, free: 70.17 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02535/4.698, allocations: 3.902 MB / 1.534 GB, free: 70.17 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.04362/4.742, allocations: 23.72 MB / 1.557 GB, free: 64.63 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.047/4.789, allocations: 20.05 MB / 1.577 GB, free: 63.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.403e-05/4.789, allocations: 3.5 kB / 1.577 GB, free: 63.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01387/4.803, allocations: 5.857 MB / 1.582 GB, free: 63.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008989/4.812, allocations: 1.619 MB / 1.584 GB, free: 63.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07633/4.888, allocations: 80.04 MB / 1.662 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009052/4.897, allocations: 3.733 MB / 1.666 GB, free: 11.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.02859/4.926, allocations: 7.984 MB / 1.673 GB, free: 8.781 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01149/4.937, allocations: 2.681 MB / 1.676 GB, free: 6.371 MB / 490.7 MB Notification: Performance of SimCode: time 2.124e-06/4.937, allocations: 0 / 1.676 GB, free: 6.371 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9767/5.914, allocations: 199.7 MB / 1.871 GB, free: 83.69 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/5.914, allocations: 215.6 kB / 1.871 GB, free: 83.45 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/17.49, allocations: 0 / 1.871 GB, free: 83.45 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_LibRAS_LibRAS_Examples_ReactorTest_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=0.0001 LibRAS_LibRAS_Examples_ReactorTest.fmu > LibRAS_LibRAS.Examples.ReactorTest.pipe 2>&1)