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.001051/0.001051, 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.02947/0.02947, allocations: 5.425 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.568/1.568, allocations: 194.2 MB / 215.2 MB, free: 8.523 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.001645/0.001645, allocations: 115.3 kB / 261.6 MB, free: 12.84 MB / 218.9 MB Notification: Performance of FrontEnd - loaded program: time 5.093e-05/5.095e-05, allocations: 7.984 kB / 315.2 MB, free: 7.117 MB / 266.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3018, allocations: 45.73 MB / 360.9 MB, free: 39.59 MB / 282.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9076/1.209, allocations: 386.1 MB / 0.7295 GB, free: 53.82 MB / 410.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/1.21, allocations: 79.97 kB / 0.7296 GB, free: 53.74 MB / 410.9 MB Notification: Performance of FrontEnd - DAE generated: time 1.758/2.968, allocations: 477.2 MB / 1.196 GB, free: 37.1 MB / 426.9 MB Notification: Performance of FrontEnd: time 1.473e-06/2.968, allocations: 0 / 1.196 GB, free: 37.1 MB / 426.9 MB Notification: Performance of Transformations before backend: time 0.0005019/2.968, allocations: 126.7 kB / 1.196 GB, free: 37.09 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.03087/2.999, allocations: 7.918 MB / 1.203 GB, free: 34.76 MB / 426.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/2.999, allocations: 15.16 kB / 1.204 GB, free: 34.75 MB / 426.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006481/3.006, allocations: 0.7579 MB / 1.204 GB, free: 34.41 MB / 426.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/3.019, allocations: 4.198 MB / 1.208 GB, free: 33.55 MB / 426.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007894/3.02, allocations: 0.6073 MB / 1.209 GB, free: 33.34 MB / 426.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004302/3.024, allocations: 0.5031 MB / 1.209 GB, free: 33.34 MB / 426.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03232/3.056, allocations: 11.42 MB / 1.221 GB, free: 29.9 MB / 426.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003124/3.057, allocations: 7.844 kB / 1.221 GB, free: 29.89 MB / 426.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004174/3.061, allocations: 212.2 kB / 1.221 GB, free: 29.74 MB / 426.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004436/3.061, allocations: 379.5 kB / 1.221 GB, free: 29.7 MB / 426.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04363/3.105, allocations: 24.74 MB / 1.245 GB, free: 9.305 MB / 426.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4227/3.528, allocations: 42.65 MB / 1.287 GB, free: 38.63 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02375/3.551, allocations: 11.66 MB / 1.298 GB, free: 38.38 MB / 442.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01134/3.563, allocations: 6.036 MB / 1.304 GB, free: 38.34 MB / 442.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04698/3.61, allocations: 18.22 MB / 1.322 GB, free: 35.56 MB / 442.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.646e-05/3.61, allocations: 109 kB / 1.322 GB, free: 35.51 MB / 442.9 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00855/3.619, allocations: 1.47 MB / 1.324 GB, free: 35.35 MB / 442.9 MB Notification: Performance of pre-optimization done (n=667): time 2.568e-05/3.619, allocations: 0 / 1.324 GB, free: 35.35 MB / 442.9 MB Notification: Performance of matching and sorting (n=691): time 0.1666/3.785, allocations: 29.62 MB / 1.352 GB, free: 32.59 MB / 442.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/3.785, allocations: 224.5 kB / 1.353 GB, free: 32.39 MB / 442.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006114/3.792, allocations: 3.547 MB / 1.356 GB, free: 31.98 MB / 442.9 MB Notification: Performance of collectPreVariables (initialization): time 0.003125/3.795, allocations: 148.3 kB / 1.356 GB, free: 31.95 MB / 442.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.001913/3.797, allocations: 2.492 MB / 1.359 GB, free: 30.36 MB / 442.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.004714/3.801, allocations: 2.432 MB / 1.361 GB, free: 28.48 MB / 442.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001518/3.803, allocations: 175.3 kB / 1.361 GB, free: 28.34 MB / 442.9 MB Notification: Performance of setup shared object (initialization): time 0.0007773/3.804, allocations: 0.6521 MB / 1.362 GB, free: 27.89 MB / 442.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01108/3.815, allocations: 5.382 MB / 1.367 GB, free: 25.97 MB / 442.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01291/3.828, allocations: 7.772 MB / 1.375 GB, free: 21.14 MB / 442.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/3.842, allocations: 6.479 MB / 1.381 GB, free: 18.99 MB / 442.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001338/3.842, allocations: 25.31 kB / 1.381 GB, free: 18.99 MB / 442.9 MB Notification: Performance of matching and sorting (n=1087) (initialization): time 0.03287/3.875, allocations: 14.38 MB / 1.395 GB, free: 12.43 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.01355/3.888, allocations: 31.8 MB / 1.426 GB, free: 9.945 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003121/3.889, allocations: 73.56 kB / 1.426 GB, free: 9.875 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/3.891, allocations: 446 kB / 1.427 GB, free: 9.504 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02063/3.911, allocations: 3.201 MB / 1.43 GB, free: 7.184 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004246/3.915, allocations: 3.584 MB / 1.433 GB, free: 3.668 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01219/3.928, allocations: 0.5352 MB / 1.434 GB, free: 3.258 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004311/3.932, allocations: 0.5035 MB / 1.434 GB, free: 2.844 MB / 474.9 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/3.932, allocations: 4 kB / 1.434 GB, free: 2.84 MB / 474.9 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3753/4.307, allocations: 14.99 MB / 1.449 GB, free: 73.06 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003461/4.308, allocations: 74.5 kB / 1.449 GB, free: 73.06 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004511/4.308, allocations: 307.5 kB / 1.449 GB, free: 73.04 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01776/4.326, allocations: 3.037 MB / 1.452 GB, free: 73.04 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003838/4.33, allocations: 4.095 MB / 1.456 GB, free: 70.42 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01028/4.34, allocations: 0.5238 MB / 1.457 GB, free: 70.42 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003692/4.344, allocations: 0.5011 MB / 1.457 GB, free: 70.42 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.004839/4.349, allocations: 0.6078 MB / 1.458 GB, free: 70.32 MB / 474.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001941/4.351, allocations: 0.5434 MB / 1.458 GB, free: 70.32 MB / 474.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02584/4.377, allocations: 12.45 MB / 1.471 GB, free: 69.99 MB / 474.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.651e-05/4.377, allocations: 66.09 kB / 1.471 GB, free: 69.99 MB / 474.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/4.377, allocations: 3.5 kB / 1.471 GB, free: 69.99 MB / 474.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.149e-05/4.377, allocations: 35.25 kB / 1.471 GB, free: 69.99 MB / 474.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04811/4.425, allocations: 21.77 MB / 1.492 GB, free: 67.8 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/4.425, allocations: 7.5 kB / 1.492 GB, free: 67.8 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01549/4.441, allocations: 2.41 MB / 1.494 GB, free: 67.8 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/4.442, allocations: 341 kB / 1.495 GB, free: 67.78 MB / 474.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002643/4.444, allocations: 216.7 kB / 1.495 GB, free: 67.78 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/4.447, allocations: 3.257 MB / 1.498 GB, free: 65.43 MB / 474.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/4.447, allocations: 16.22 kB / 1.498 GB, free: 65.43 MB / 474.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02996/4.477, allocations: 19.52 MB / 1.517 GB, free: 62.34 MB / 474.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006913/4.484, allocations: 1.595 MB / 1.519 GB, free: 61.93 MB / 474.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002195/4.486, allocations: 161.1 kB / 1.519 GB, free: 61.92 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005681/4.492, allocations: 418.4 kB / 1.519 GB, free: 61.91 MB / 474.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/4.493, allocations: 460.4 kB / 1.52 GB, free: 61.89 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007414/4.494, allocations: 298.9 kB / 1.52 GB, free: 61.89 MB / 474.9 MB Notification: Performance of sorting global known variables: time 0.00442/4.498, allocations: 2.597 MB / 1.523 GB, free: 61.65 MB / 474.9 MB Notification: Performance of sort global known variables: time 1.313e-06/4.498, allocations: 0.7188 kB / 1.523 GB, free: 61.65 MB / 474.9 MB Notification: Performance of remove unused functions: time 0.01964/4.518, allocations: 3.928 MB / 1.526 GB, free: 61.65 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.007494/4.525, allocations: 1.612 MB / 1.528 GB, free: 61.5 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.04421/4.57, allocations: 20.46 MB / 1.548 GB, free: 54.29 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 2.818e-05/4.57, allocations: 5.062 kB / 1.548 GB, free: 54.29 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.01332/4.583, allocations: 5.912 MB / 1.554 GB, free: 49.01 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0123/4.595, allocations: 1.555 MB / 1.555 GB, free: 47.88 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04281/4.638, allocations: 15.34 MB / 1.57 GB, free: 34.95 MB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006069/4.644, allocations: 3.73 MB / 1.574 GB, free: 32.14 MB / 474.9 MB Notification: Performance of simCode: alias equations: time 0.0245/4.669, allocations: 8.761 MB / 1.582 GB, free: 26.22 MB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004696/4.674, allocations: 0.5562 MB / 1.583 GB, free: 25.77 MB / 474.9 MB Notification: Performance of SimCode: time 1.353e-06/4.674, allocations: 4 kB / 1.583 GB, free: 25.77 MB / 474.9 MB Notification: Performance of Templates: time 0.5317/5.205, allocations: 152.6 MB / 1.732 GB, free: 28.18 MB / 474.9 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)