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.0009878/0.0009877, allocations: 185.5 kB / 13.24 MB, free: 2.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.02902/0.02902, allocations: 5.426 MB / 19.19 MB, free: 1.535 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.517/1.517, allocations: 194.2 MB / 215.2 MB, free: 8.57 MB / 186.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001648/0.001648, allocations: 112.7 kB / 261.6 MB, free: 12.85 MB / 218.9 MB Notification: Performance of FrontEnd - loaded program: time 4.464e-05/4.466e-05, allocations: 4 kB / 315.3 MB, free: 7.043 MB / 266.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2876, allocations: 45.74 MB / 361 MB, free: 39.59 MB / 282.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.93/1.218, allocations: 386.1 MB / 0.7296 GB, free: 37.74 MB / 410.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/1.218, allocations: 74.78 kB / 0.7297 GB, free: 37.71 MB / 410.9 MB Notification: Performance of FrontEnd - DAE generated: time 1.905/3.123, allocations: 477.2 MB / 1.196 GB, free: 38.88 MB / 426.9 MB Notification: Performance of FrontEnd: time 1.984e-06/3.123, allocations: 0 / 1.196 GB, free: 38.88 MB / 426.9 MB Notification: Performance of Transformations before backend: time 0.0004437/3.124, allocations: 125 kB / 1.196 GB, free: 38.87 MB / 426.9 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.03189/3.155, allocations: 7.925 MB / 1.204 GB, free: 36.43 MB / 426.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/3.156, allocations: 14.72 kB / 1.204 GB, free: 36.42 MB / 426.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005046/3.161, allocations: 0.7512 MB / 1.204 GB, free: 36.02 MB / 426.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006745/3.167, allocations: 0.765 MB / 1.205 GB, free: 35.67 MB / 426.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/3.18, allocations: 4.189 MB / 1.209 GB, free: 33.82 MB / 426.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009131/3.181, allocations: 0.5941 MB / 1.21 GB, free: 33.45 MB / 426.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004886/3.186, allocations: 0.5205 MB / 1.21 GB, free: 33.27 MB / 426.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03282/3.219, allocations: 11.42 MB / 1.221 GB, free: 25.26 MB / 426.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003147/3.219, allocations: 11.94 kB / 1.221 GB, free: 25.25 MB / 426.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005498/3.225, allocations: 210.2 kB / 1.222 GB, free: 25.05 MB / 426.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004442/3.225, allocations: 380.9 kB / 1.222 GB, free: 24.72 MB / 426.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0414/3.267, allocations: 24.74 MB / 1.246 GB, free: 1.527 MB / 426.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4301/3.697, allocations: 42.64 MB / 1.288 GB, free: 41.45 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02602/3.723, allocations: 11.66 MB / 1.299 GB, free: 41.19 MB / 442.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01264/3.735, allocations: 6.032 MB / 1.305 GB, free: 41.15 MB / 442.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0606/3.796, allocations: 18.21 MB / 1.323 GB, free: 38.3 MB / 442.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/3.796, allocations: 108.8 kB / 1.323 GB, free: 38.25 MB / 442.9 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009782/3.806, allocations: 1.458 MB / 1.324 GB, free: 38.09 MB / 442.9 MB Notification: Performance of pre-optimization done (n=667): time 4.284e-05/3.806, allocations: 2.812 kB / 1.324 GB, free: 38.09 MB / 442.9 MB Notification: Performance of matching and sorting (n=691): time 0.1751/3.981, allocations: 29.64 MB / 1.353 GB, free: 34.4 MB / 442.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.543e-05/3.981, allocations: 230.7 kB / 1.354 GB, free: 34.21 MB / 442.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005514/3.987, allocations: 3.542 MB / 1.357 GB, free: 32.95 MB / 442.9 MB Notification: Performance of collectPreVariables (initialization): time 0.00249/3.989, allocations: 149 kB / 1.357 GB, free: 32.83 MB / 442.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.001724/3.991, allocations: 2.487 MB / 1.36 GB, free: 30.9 MB / 442.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.004014/3.995, allocations: 2.432 MB / 1.362 GB, free: 29.03 MB / 442.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001764/3.997, allocations: 167.5 kB / 1.362 GB, free: 28.89 MB / 442.9 MB Notification: Performance of setup shared object (initialization): time 0.0006738/3.998, allocations: 0.6624 MB / 1.363 GB, free: 28.43 MB / 442.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00986/4.008, allocations: 5.377 MB / 1.368 GB, free: 26.52 MB / 442.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01154/4.019, allocations: 7.778 MB / 1.376 GB, free: 21.69 MB / 442.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01211/4.031, allocations: 6.477 MB / 1.382 GB, free: 19.54 MB / 442.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001173/4.031, allocations: 23.72 kB / 1.382 GB, free: 19.54 MB / 442.9 MB Notification: Performance of matching and sorting (n=1087) (initialization): time 0.02925/4.061, allocations: 14.37 MB / 1.396 GB, free: 7.566 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.01059/4.071, allocations: 31.8 MB / 1.427 GB, free: 5.086 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000259/4.072, allocations: 72 kB / 1.427 GB, free: 5.016 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/4.073, allocations: 444.4 kB / 1.428 GB, free: 4.645 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01983/4.093, allocations: 3.204 MB / 1.431 GB, free: 2.32 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3183/4.411, allocations: 3.599 MB / 1.434 GB, free: 76.82 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/4.422, allocations: 0.5355 MB / 1.435 GB, free: 76.82 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003453/4.425, allocations: 0.5017 MB / 1.435 GB, free: 76.82 MB / 474.9 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/4.425, allocations: 4.594 kB / 1.435 GB, free: 76.82 MB / 474.9 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03367/4.459, allocations: 13.91 MB / 1.449 GB, free: 76.62 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003226/4.459, allocations: 75.33 kB / 1.449 GB, free: 76.62 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004162/4.46, allocations: 312.4 kB / 1.449 GB, free: 76.61 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01763/4.477, allocations: 3.034 MB / 1.452 GB, free: 76.61 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/4.481, allocations: 4.097 MB / 1.456 GB, free: 73.98 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009529/4.491, allocations: 0.5224 MB / 1.457 GB, free: 73.98 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003794/4.495, allocations: 0.5013 MB / 1.457 GB, free: 73.98 MB / 474.9 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 (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.005569/4.5, allocations: 0.612 MB / 1.458 GB, free: 73.76 MB / 474.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002455/4.503, allocations: 0.5501 MB / 1.458 GB, free: 73.76 MB / 474.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02844/4.531, allocations: 12.45 MB / 1.47 GB, free: 73.44 MB / 474.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-05/4.531, allocations: 66.34 kB / 1.47 GB, free: 73.44 MB / 474.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/4.531, allocations: 0 / 1.47 GB, free: 73.44 MB / 474.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000132/4.532, allocations: 37.17 kB / 1.47 GB, free: 73.44 MB / 474.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04985/4.581, allocations: 21.79 MB / 1.492 GB, free: 71.16 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.763e-05/4.581, allocations: 11.28 kB / 1.492 GB, free: 71.16 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01551/4.597, allocations: 2.398 MB / 1.494 GB, free: 71.09 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/4.598, allocations: 354.3 kB / 1.494 GB, free: 71.07 MB / 474.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00252/4.601, allocations: 211.5 kB / 1.495 GB, free: 71.07 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/4.603, allocations: 3.252 MB / 1.498 GB, free: 68.71 MB / 474.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/4.603, allocations: 13.97 kB / 1.498 GB, free: 68.71 MB / 474.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03274/4.636, allocations: 19.53 MB / 1.517 GB, free: 65.42 MB / 474.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006344/4.642, allocations: 1.587 MB / 1.518 GB, free: 64.95 MB / 474.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003428/4.646, allocations: 158.3 kB / 1.519 GB, free: 64.85 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007287/4.653, allocations: 420.1 kB / 1.519 GB, free: 64.75 MB / 474.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002513/4.656, allocations: 464.9 kB / 1.519 GB, free: 64.67 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001449/4.657, allocations: 296.9 kB / 1.52 GB, free: 64.62 MB / 474.9 MB Notification: Performance of sorting global known variables: time 0.004345/4.662, allocations: 2.603 MB / 1.522 GB, free: 63.69 MB / 474.9 MB Notification: Performance of sort global known variables: time 3.81e-07/4.662, allocations: 2.062 kB / 1.522 GB, free: 63.69 MB / 474.9 MB Notification: Performance of remove unused functions: time 0.01907/4.681, allocations: 3.926 MB / 1.526 GB, free: 63.29 MB / 474.9 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 (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.03825/4.719, allocations: 23.92 MB / 1.549 GB, free: 45.96 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.04148/4.76, allocations: 20.46 MB / 1.569 GB, free: 27.52 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-05/4.761, allocations: 0 / 1.569 GB, free: 27.52 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.01398/4.775, allocations: 5.911 MB / 1.575 GB, free: 22.24 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009082/4.784, allocations: 1.571 MB / 1.577 GB, free: 21.1 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04733/4.831, allocations: 17.42 MB / 1.594 GB, free: 6.441 MB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003466/4.835, allocations: 3.733 MB / 1.597 GB, free: 3.633 MB / 474.9 MB Notification: Performance of simCode: alias equations: time 0.2993/5.134, allocations: 8.775 MB / 1.606 GB, free: 68.75 MB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007839/5.142, allocations: 2.648 MB / 1.609 GB, free: 68.74 MB / 474.9 MB Notification: Performance of SimCode: time 1.804e-06/5.142, allocations: 1.031 kB / 1.609 GB, free: 68.74 MB / 474.9 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6001/5.742, allocations: 209.9 MB / 1.814 GB, free: 87.98 MB / 0.495 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/5.742, allocations: 196.6 kB / 1.814 GB, free: 87.75 MB / 0.495 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/18.34, allocations: 0 / 1.814 GB, free: 87.75 MB / 0.495 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)