Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr LibRAS_LibRAS.Culture.SSCulture_V.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.Culture.SSCulture_V,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="LibRAS_LibRAS.Culture.SSCulture_V") translateModel(LibRAS.Culture.SSCulture_V,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="LibRAS_LibRAS.Culture.SSCulture_V") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009096/0.0009096, allocations: 183.6 kB / 16.81 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.02703/0.02703, allocations: 5.481 MB / 23.04 MB, free: 1.758 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.433/1.433, allocations: 194.5 MB / 219.5 MB, free: 13.11 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.001646/0.001646, allocations: 113.9 kB / 266 MB, free: 14.49 MB / 218.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004741, allocations: 12 kB / 322.5 MB, free: 6 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2474, allocations: 45.75 MB / 368.2 MB, free: 49.01 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08239/0.3299, allocations: 72.91 MB / 441.1 MB, free: 15.97 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001632/0.3301, allocations: 59.98 kB / 441.2 MB, free: 15.91 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.0796/0.4097, allocations: 28.73 MB / 469.9 MB, free: 3.105 MB / 346.8 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4097, allocations: 0 / 469.9 MB, free: 3.105 MB / 346.8 MB Notification: Performance of Transformations before backend: time 7.889e-05/0.4098, allocations: 28 kB / 469.9 MB, free: 3.078 MB / 346.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.01686/0.4267, allocations: 9.412 MB / 479.3 MB, free: 9.598 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.4268, allocations: 12.03 kB / 479.4 MB, free: 9.586 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002993/0.4298, allocations: 482.5 kB / 479.8 MB, free: 9.113 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005379/0.4352, allocations: 2.312 MB / 482.1 MB, free: 6.758 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.4353, allocations: 103 kB / 482.2 MB, free: 6.656 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009048/0.4362, allocations: 152.2 kB / 482.4 MB, free: 6.508 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009681/0.4459, allocations: 4.771 MB / 487.2 MB, free: 1.656 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.494e-05/0.446, allocations: 0 / 487.2 MB, free: 1.656 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004656/0.4465, allocations: 55.98 kB / 487.2 MB, free: 1.602 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.4465, allocations: 35.94 kB / 487.2 MB, free: 1.566 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02462/0.4711, allocations: 16.51 MB / 0.492 GB, free: 1.027 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2114/0.6826, allocations: 10.12 MB / 0.5018 GB, free: 107.8 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008277/0.6909, allocations: 4.69 MB / 0.5064 GB, free: 106.5 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006706/0.6977, allocations: 4.523 MB / 0.5108 GB, free: 105.1 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003094/0.698, allocations: 50.02 kB / 0.5109 GB, free: 105.1 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006508/0.7045, allocations: 4.427 MB / 0.5152 GB, free: 103.9 MB / 378.8 MB Notification: Performance of pre-optimization done (n=321): time 7.284e-06/0.7046, allocations: 0 / 0.5152 GB, free: 103.9 MB / 378.8 MB Notification: Performance of matching and sorting (n=321): time 0.01733/0.7219, allocations: 11.06 MB / 0.526 GB, free: 98.25 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.7221, allocations: 453.2 kB / 0.5264 GB, free: 97.73 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.7233, allocations: 0.9692 MB / 0.5274 GB, free: 96.75 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003306/0.7237, allocations: 82.92 kB / 0.5275 GB, free: 96.66 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.7239, allocations: 322 kB / 0.5278 GB, free: 96.34 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007444/0.7246, allocations: 1.097 MB / 0.5288 GB, free: 95.38 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.7249, allocations: 56 kB / 0.5289 GB, free: 95.32 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.725, allocations: 442.1 kB / 0.5293 GB, free: 94.88 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005285/0.7303, allocations: 3.592 MB / 0.5328 GB, free: 91.3 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005666/0.736, allocations: 3.913 MB / 0.5366 GB, free: 87.32 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/0.748, allocations: 7.597 MB / 0.5441 GB, free: 79.65 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/0.7481, allocations: 4 kB / 0.5441 GB, free: 79.65 MB / 378.8 MB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01258/0.7607, allocations: 7.993 MB / 0.5519 GB, free: 71.64 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.7607, allocations: 8 kB / 0.5519 GB, free: 71.63 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.7607, allocations: 8 kB / 0.5519 GB, free: 71.62 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.281e-05/0.7608, allocations: 19.84 kB / 0.5519 GB, free: 71.61 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005211/0.766, allocations: 1.828 MB / 0.5537 GB, free: 69.8 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.425e-05/0.7661, allocations: 23.94 kB / 0.5537 GB, free: 69.78 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00375/0.7698, allocations: 1.324 MB / 0.555 GB, free: 68.45 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/0.7701, allocations: 104 kB / 0.5551 GB, free: 68.35 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 9 (sampled_m[9],sampled_m[8],sampled_m[7],sampled_m[6],sampled_m[5],sampled_m[4],sampled_m[3],sampled_m[2],sampled_m[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (375): * Single equations (assignments): 375 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00108/0.7712, allocations: 0.5477 MB / 0.5556 GB, free: 67.79 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005882/0.7718, allocations: 324.3 kB / 0.556 GB, free: 67.46 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.7729, allocations: 0.626 MB / 0.5566 GB, free: 66.83 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.7729, allocations: 35.94 kB / 0.5566 GB, free: 66.8 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/0.7729, allocations: 4 kB / 0.5566 GB, free: 66.79 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.128e-05/0.773, allocations: 19.94 kB / 0.5566 GB, free: 66.77 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004948/0.7779, allocations: 4.367 MB / 0.5609 GB, free: 62.43 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.547e-06/0.778, allocations: 4 kB / 0.5609 GB, free: 62.42 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005102/0.7831, allocations: 1.751 MB / 0.5626 GB, free: 60.67 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.047e-05/0.7831, allocations: 19.94 kB / 0.5626 GB, free: 60.65 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003046/0.7834, allocations: 91.91 kB / 0.5627 GB, free: 60.56 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.4e-05/0.7834, allocations: 19.94 kB / 0.5627 GB, free: 60.54 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.7834, allocations: 4 kB / 0.5627 GB, free: 60.54 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01867/0.8021, allocations: 13.98 MB / 0.5764 GB, free: 46.46 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004971/0.8027, allocations: 310.2 kB / 0.5767 GB, free: 46.14 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004894/0.8032, allocations: 75.97 kB / 0.5767 GB, free: 46.06 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003739/0.8069, allocations: 1.194 MB / 0.5779 GB, free: 44.87 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009587/0.8079, allocations: 253.8 kB / 0.5782 GB, free: 44.62 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002564/0.8082, allocations: 99.94 kB / 0.5782 GB, free: 44.52 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0008229/0.809, allocations: 0.7058 MB / 0.5789 GB, free: 43.82 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.809, allocations: 0 / 0.5789 GB, free: 43.82 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.002003/0.811, allocations: 0.8866 MB / 0.5798 GB, free: 42.93 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 45 (n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],intestineState1[1],intestineState1[2],intestineState1[3],intestineState1[4],intestineState1[5],intestineState1[6],intestineState1[7],intestineState1[8],intestineState1[9],intestineState2[1],intestineState2[2],intestineState2[3],intestineState2[4],intestineState2[5],intestineState2[6],intestineState2[7],intestineState2[8],intestineState2[9],F_digested_scaled[1],F_digested_scaled[2],F_digested_scaled[3],F_digested_scaled[4],F_digested_scaled[5],F_digested_scaled[6],F_digested_scaled[7],F_digested_scaled[8],F_digested_scaled[9],feedSignal_scaled[1],feedSignal_scaled[2],feedSignal_scaled[3],feedSignal_scaled[4],feedSignal_scaled[5],feedSignal_scaled[6],feedSignal_scaled[7],feedSignal_scaled[8],feedSignal_scaled[9]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 9 (sampled_m[1],sampled_m[2],sampled_m[3],sampled_m[4],sampled_m[5],sampled_m[6],sampled_m[7],sampled_m[8],sampled_m[9]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (321): * Single equations (assignments): 321 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005712/0.8116, allocations: 291.1 kB / 0.5801 GB, free: 42.66 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.01192/0.8235, allocations: 7.985 MB / 0.5879 GB, free: 34.64 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/0.8236, allocations: 0 / 0.5879 GB, free: 34.64 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006084/0.8296, allocations: 4.354 MB / 0.5921 GB, free: 30.28 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/0.8323, allocations: 363.8 kB / 0.5925 GB, free: 29.94 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008838/0.8411, allocations: 6.365 MB / 0.5987 GB, free: 23.49 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009308/0.8421, allocations: 1.456 MB / 0.6001 GB, free: 22 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.005385/0.8475, allocations: 3.653 MB / 0.6037 GB, free: 18.34 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/0.849, allocations: 179.3 kB / 0.6039 GB, free: 18.16 MB / 378.8 MB Notification: Performance of SimCode: time 5.81e-07/0.849, allocations: 0 / 0.6039 GB, free: 18.16 MB / 378.8 MB Notification: Performance of Templates: time 0.1839/1.033, allocations: 41.52 MB / 0.6444 GB, free: 115.1 MB / 394.8 MB make -j1 -f LibRAS_LibRAS.Culture.SSCulture_V.makefile (rm -f LibRAS_LibRAS.Culture.SSCulture_V.pipe ; mkfifo LibRAS_LibRAS.Culture.SSCulture_V.pipe ; head -c 1048576 < LibRAS_LibRAS.Culture.SSCulture_V.pipe >> ../files/LibRAS_LibRAS.Culture.SSCulture_V.sim & ./LibRAS_LibRAS.Culture.SSCulture_V -abortSlowSimulation -alarm=480 -lv LOG_STATS > LibRAS_LibRAS.Culture.SSCulture_V.pipe 2>&1)