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.001075/0.001075, allocations: 180.8 kB / 8.05 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.02917/0.02917, allocations: 5.423 MB / 13.9 MB, free: 64 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.472/1.472, allocations: 194.3 MB / 209.9 MB, free: 4.836 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.001683/0.001683, allocations: 128.5 kB / 256.2 MB, free: 6.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.105e-05, allocations: 0 / 308.2 MB, free: 28.17 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08968/0.08971, allocations: 45.75 MB / 354 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.118, allocations: 385.6 MB / 0.7223 GB, free: 114 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/1.119, allocations: 77.11 kB / 0.7223 GB, free: 114 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.758/2.877, allocations: 473.3 MB / 1.185 GB, free: 36.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/2.877, allocations: 0 / 1.185 GB, free: 36.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005106/2.877, allocations: 124.3 kB / 1.185 GB, free: 36.51 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.03287/2.91, allocations: 7.934 MB / 1.192 GB, free: 34.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/2.91, allocations: 9.438 kB / 1.192 GB, free: 34.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007069/2.917, allocations: 0.7596 MB / 1.193 GB, free: 34.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01273/2.93, allocations: 4.192 MB / 1.197 GB, free: 33.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000715/2.931, allocations: 433.4 kB / 1.198 GB, free: 33.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004379/2.935, allocations: 315.6 kB / 1.198 GB, free: 33.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03506/2.97, allocations: 18.04 MB / 1.216 GB, free: 33.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03257/3.003, allocations: 10.74 MB / 1.226 GB, free: 32.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002798/3.003, allocations: 8.219 kB / 1.226 GB, free: 32.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004709/3.008, allocations: 4.281 kB / 1.226 GB, free: 32.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004753/3.009, allocations: 384.5 kB / 1.226 GB, free: 32.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09908/3.108, allocations: 41.96 MB / 1.267 GB, free: 18.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02391/3.132, allocations: 11.3 MB / 1.278 GB, free: 17.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0112/3.143, allocations: 5.862 MB / 1.284 GB, free: 16.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05254/3.195, allocations: 17.81 MB / 1.302 GB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.904e-05/3.196, allocations: 111 kB / 1.302 GB, free: 2.289 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009531/3.205, allocations: 1.354 MB / 1.303 GB, free: 1.207 MB / 426.7 MB Notification: Performance of pre-optimization done (n=667): time 3.599e-05/3.205, allocations: 0 / 1.303 GB, free: 1.207 MB / 426.7 MB Notification: Performance of matching and sorting (n=688): time 0.5007/3.706, allocations: 28.96 MB / 1.331 GB, free: 45.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/3.706, allocations: 227.7 kB / 1.332 GB, free: 45.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006594/3.713, allocations: 3.254 MB / 1.335 GB, free: 45.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00274/3.716, allocations: 25.7 kB / 1.335 GB, free: 45.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001859/3.717, allocations: 2.473 MB / 1.337 GB, free: 44.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004437/3.722, allocations: 2.335 MB / 1.339 GB, free: 43.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002312/3.724, allocations: 2 kB / 1.339 GB, free: 43.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008753/3.725, allocations: 0.6562 MB / 1.34 GB, free: 42.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01202/3.737, allocations: 5.216 MB / 1.345 GB, free: 42.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01275/3.75, allocations: 7.568 MB / 1.353 GB, free: 40.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01708/3.767, allocations: 6.86 MB / 1.359 GB, free: 40.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001535/3.767, allocations: 24.91 kB / 1.359 GB, free: 40.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=1084) (initialization): time 0.03859/3.806, allocations: 14.11 MB / 1.373 GB, free: 39.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.009359/3.815, allocations: 31.59 MB / 1.404 GB, free: 23.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003268/3.816, allocations: 72.25 kB / 1.404 GB, free: 23.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009997/3.817, allocations: 384.6 kB / 1.404 GB, free: 23.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02003/3.837, allocations: 3.18 MB / 1.407 GB, free: 23.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/3.841, allocations: 3.559 MB / 1.411 GB, free: 20.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/3.851, allocations: 368 kB / 1.411 GB, free: 20.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00405/3.855, allocations: 0.5021 MB / 1.412 GB, free: 20.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/3.855, allocations: 2.812 kB / 1.412 GB, free: 20.7 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03214/3.887, allocations: 13.44 MB / 1.425 GB, free: 20.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003284/3.888, allocations: 72.34 kB / 1.425 GB, free: 20.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/3.888, allocations: 314.9 kB / 1.425 GB, free: 20.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01788/3.906, allocations: 2.993 MB / 1.428 GB, free: 20.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004149/3.91, allocations: 3.942 MB / 1.432 GB, free: 17.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/3.922, allocations: 359.3 kB / 1.432 GB, free: 17.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004665/3.927, allocations: 0.4901 MB / 1.433 GB, free: 17.66 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.005651/3.932, allocations: 355.8 kB / 1.433 GB, free: 17.38 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02701/3.959, allocations: 11.05 MB / 1.444 GB, free: 16.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003065/3.963, allocations: 0.5352 MB / 1.445 GB, free: 16.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03033/3.993, allocations: 11.95 MB / 1.456 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.899e-05/3.993, allocations: 69.17 kB / 1.456 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.332e-05/3.993, allocations: 9.422 kB / 1.456 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000132/3.993, allocations: 33.89 kB / 1.456 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05689/4.05, allocations: 20.78 MB / 1.477 GB, free: 8.527 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.048e-05/4.05, allocations: 14.92 kB / 1.477 GB, free: 8.523 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01624/4.067, allocations: 2.381 MB / 1.479 GB, free: 6.863 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/4.068, allocations: 306.1 kB / 1.479 GB, free: 6.613 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003093/4.071, allocations: 120.8 kB / 1.479 GB, free: 6.539 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003655/4.074, allocations: 3.216 MB / 1.482 GB, free: 3.355 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.741e-05/4.074, allocations: 18.75 kB / 1.482 GB, free: 3.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06036/4.135, allocations: 20.23 MB / 1.502 GB, free: 4.562 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007068/4.142, allocations: 1.585 MB / 1.504 GB, free: 3.184 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003947/4.146, allocations: 51.09 kB / 1.504 GB, free: 3.148 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008098/4.154, allocations: 309.1 kB / 1.504 GB, free: 2.973 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002992/4.157, allocations: 453.5 kB / 1.505 GB, free: 2.695 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002883/4.16, allocations: 301 kB / 1.505 GB, free: 2.465 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007355/4.167, allocations: 2.333 MB / 1.507 GB, free: 424 kB / 474.7 MB Notification: Performance of sort global known variables: time 2.21e-07/4.167, allocations: 3.172 kB / 1.507 GB, free: 424 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.3691/4.537, allocations: 3.559 MB / 1.511 GB, free: 72.47 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 () * 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.04975/4.586, allocations: 23.44 MB / 1.534 GB, free: 67.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.04404/4.63, allocations: 19.69 MB / 1.553 GB, free: 66.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.958e-05/4.63, allocations: 4.812 kB / 1.553 GB, free: 66.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01445/4.645, allocations: 5.749 MB / 1.558 GB, free: 66.58 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01044/4.655, allocations: 1.353 MB / 1.56 GB, free: 66.55 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05876/4.714, allocations: 16.74 MB / 1.576 GB, free: 63.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004704/4.719, allocations: 3.731 MB / 1.58 GB, free: 62.82 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.02703/4.746, allocations: 8.715 MB / 1.588 GB, free: 61.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007879/4.754, allocations: 2.64 MB / 1.591 GB, free: 61.87 MB / 474.7 MB Notification: Performance of SimCode: time 1.012e-06/4.754, allocations: 0 / 1.591 GB, free: 61.87 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.607/5.361, allocations: 191.8 MB / 1.778 GB, free: 51.05 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/5.361, allocations: 132 kB / 1.778 GB, free: 50.86 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/17.28, allocations: 4 kB / 1.778 GB, free: 50.85 MB / 474.7 MB (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)