Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr LibRAS_LibRAS.Culture.SSCulture_V_noEvent.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_noEvent,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="LibRAS_LibRAS.Culture.SSCulture_V_noEvent") translateModel(LibRAS.Culture.SSCulture_V_noEvent,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="LibRAS_LibRAS.Culture.SSCulture_V_noEvent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00107/0.00107, allocations: 179.1 kB / 16.81 MB, free: 4.879 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.02808/0.02808, allocations: 5.479 MB / 23.04 MB, free: 1.738 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.409/1.409, allocations: 194.5 MB / 219.5 MB, free: 13.15 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001827/0.001827, allocations: 119.4 kB / 266.1 MB, free: 14.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006497/0.0006499, allocations: 15.98 kB / 322.5 MB, free: 5.969 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3431, allocations: 45.73 MB / 368.2 MB, free: 49.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.4686, allocations: 72.75 MB / 440.9 MB, free: 108 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.4688, allocations: 59.97 kB / 441 MB, free: 48 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.396/0.8648, allocations: 33.96 MB / 475 MB, free: 13.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.8649, allocations: 5.125 kB / 475 MB, free: 13.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002594/0.8651, allocations: 56 kB / 475 MB, free: 13.93 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 326 * Number of variables: 326 Notification: Performance of Generate backend data structure: time 0.02981/0.895, allocations: 10.98 MB / 486 MB, free: 2.875 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.895, allocations: 8.031 kB / 486 MB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004754/0.8998, allocations: 0.6678 MB / 486.7 MB, free: 2.195 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01343/0.9133, allocations: 4.368 MB / 491 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.9135, allocations: 94.94 kB / 491.1 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/0.9146, allocations: 148.2 kB / 491.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/0.9285, allocations: 4.29 MB / 495.6 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.305e-05/0.9286, allocations: 4.188 kB / 495.6 MB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004882/0.9291, allocations: 59.88 kB / 495.6 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/0.9291, allocations: 32 kB / 495.7 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2022/1.131, allocations: 16.6 MB / 0.5003 GB, free: 105.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0168/1.148, allocations: 10.55 MB / 0.5106 GB, free: 103.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006559/1.155, allocations: 4.33 MB / 0.5148 GB, free: 101.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006758/1.162, allocations: 4.31 MB / 0.519 GB, free: 100.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/1.162, allocations: 38.19 kB / 0.519 GB, free: 100.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006561/1.168, allocations: 4.257 MB / 0.5232 GB, free: 98.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=310): time 4.658e-06/1.168, allocations: 0 / 0.5232 GB, free: 98.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=310): time 0.01898/1.187, allocations: 10.63 MB / 0.5336 GB, free: 89.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.214e-05/1.188, allocations: 327.2 kB / 0.5339 GB, free: 88.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00315/1.191, allocations: 2.956 MB / 0.5368 GB, free: 85.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006227/1.191, allocations: 81.69 kB / 0.5368 GB, free: 85.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006623/1.192, allocations: 1.131 MB / 0.538 GB, free: 84.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000925/1.193, allocations: 1.099 MB / 0.539 GB, free: 83.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/1.193, allocations: 60 kB / 0.5391 GB, free: 83.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/1.193, allocations: 435.6 kB / 0.5395 GB, free: 83.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005498/1.199, allocations: 3.344 MB / 0.5428 GB, free: 79.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005678/1.205, allocations: 3.626 MB / 0.5463 GB, free: 76.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/1.216, allocations: 7.152 MB / 0.5533 GB, free: 69.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.216, allocations: 0 / 0.5533 GB, free: 69.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01248/1.228, allocations: 7.657 MB / 0.5608 GB, free: 61.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.228, allocations: 4 kB / 0.5608 GB, free: 61.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/1.228, allocations: 13.81 kB / 0.5608 GB, free: 61.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/1.228, allocations: 16 kB / 0.5608 GB, free: 61.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005198/1.234, allocations: 1.661 MB / 0.5624 GB, free: 59.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.971e-05/1.234, allocations: 23.83 kB / 0.5624 GB, free: 59.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003678/1.237, allocations: 1.209 MB / 0.5636 GB, free: 58.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003193/1.238, allocations: 80 kB / 0.5637 GB, free: 58.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (355): * Single equations (assignments): 355 * 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.001476/1.239, allocations: 0.8077 MB / 0.5645 GB, free: 57.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005538/1.24, allocations: 371.3 kB / 0.5648 GB, free: 57.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/1.241, allocations: 0.8301 MB / 0.5657 GB, free: 56.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/1.241, allocations: 32 kB / 0.5657 GB, free: 56.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/1.241, allocations: 3.938 kB / 0.5657 GB, free: 56.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/1.241, allocations: 19.94 kB / 0.5657 GB, free: 56.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005674/1.247, allocations: 4.971 MB / 0.5706 GB, free: 51.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.247, allocations: 7.625 kB / 0.5706 GB, free: 51.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005404/1.252, allocations: 1.619 MB / 0.5721 GB, free: 49.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.707e-05/1.253, allocations: 13.12 kB / 0.5722 GB, free: 49.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003393/1.253, allocations: 75.95 kB / 0.5722 GB, free: 49.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.245e-05/1.253, allocations: 12 kB / 0.5722 GB, free: 49.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.253, allocations: 7.938 kB / 0.5723 GB, free: 49.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01856/1.271, allocations: 13.48 MB / 0.5854 GB, free: 36.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005878/1.272, allocations: 459.4 kB / 0.5859 GB, free: 35.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005522/1.273, allocations: 71.97 kB / 0.5859 GB, free: 35.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003588/1.276, allocations: 1.073 MB / 0.587 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006163/1.277, allocations: 218 kB / 0.5872 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/1.277, allocations: 87.92 kB / 0.5873 GB, free: 34.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002258/1.279, allocations: 2.024 MB / 0.5892 GB, free: 32.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.279, allocations: 0 / 0.5892 GB, free: 32.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001818/1.281, allocations: 0.8683 MB / 0.5901 GB, free: 31.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (310): * Single equations (assignments): 310 * 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.0004998/1.282, allocations: 283.5 kB / 0.5904 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01202/1.294, allocations: 7.522 MB / 0.5977 GB, free: 23.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/1.294, allocations: 0 / 0.5977 GB, free: 23.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005948/1.3, allocations: 4.115 MB / 0.6017 GB, free: 19.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/1.303, allocations: 389.7 kB / 0.6021 GB, free: 19.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.313, allocations: 8.997 MB / 0.6109 GB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/1.315, allocations: 2.079 MB / 0.6129 GB, free: 7.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.007044/1.322, allocations: 4.11 MB / 0.6169 GB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001532/1.323, allocations: 235.4 kB / 0.6172 GB, free: 3.578 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/1.323, allocations: 0 / 0.6172 GB, free: 3.578 MB / 378.7 MB Notification: Performance of Templates: time 0.223/1.546, allocations: 42.94 MB / 0.6591 GB, free: 125.8 MB / 410.7 MB make -j1 -f LibRAS_LibRAS.Culture.SSCulture_V_noEvent.makefile (rm -f LibRAS_LibRAS.Culture.SSCulture_V_noEvent.pipe ; mkfifo LibRAS_LibRAS.Culture.SSCulture_V_noEvent.pipe ; head -c 1048576 < LibRAS_LibRAS.Culture.SSCulture_V_noEvent.pipe >> ../files/LibRAS_LibRAS.Culture.SSCulture_V_noEvent.sim & ./LibRAS_LibRAS.Culture.SSCulture_V_noEvent -abortSlowSimulation -alarm=480 -lv LOG_STATS > LibRAS_LibRAS.Culture.SSCulture_V_noEvent.pipe 2>&1)