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.001682/0.001682, allocations: 188.3 kB / 8.052 MB, free: 1.008 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.05127/0.05127, allocations: 5.424 MB / 13.9 MB, free: 80 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.811/1.811, allocations: 194.3 MB / 209.9 MB, free: 4.848 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.001698/0.001698, allocations: 112.7 kB / 256.2 MB, free: 6.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.883e-05, allocations: 0 / 308.1 MB, free: 28.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09985/0.09989, allocations: 45.76 MB / 353.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3501/0.45, allocations: 72.12 MB / 426 MB, free: 3.594 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001694/0.4502, allocations: 62.78 kB / 426.1 MB, free: 3.562 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4343/0.8845, allocations: 33.81 MB / 459.9 MB, free: 5.168 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.8846, allocations: 0 / 459.9 MB, free: 5.168 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002509/0.8849, allocations: 52 kB / 459.9 MB, free: 5.117 MB / 330.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.02008/0.905, allocations: 9.915 MB / 469.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.905, allocations: 8.031 kB / 469.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003561/0.9086, allocations: 0.6707 MB / 470.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.9192, allocations: 4.174 MB / 474.7 MB, free: 6.859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.9194, allocations: 40 kB / 474.7 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001375/0.9208, allocations: 106.2 kB / 474.8 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02678/0.9476, allocations: 16.05 MB / 490.9 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006702/0.9543, allocations: 3.854 MB / 494.7 MB, free: 4.859 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.9544, allocations: 0 / 494.7 MB, free: 4.859 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/0.9547, allocations: 4 kB / 494.7 MB, free: 4.855 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.9547, allocations: 35.95 kB / 494.8 MB, free: 4.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01894/0.9737, allocations: 10.32 MB / 0.4933 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006587/0.9803, allocations: 3.978 MB / 0.4971 GB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005636/0.986, allocations: 3.981 MB / 0.501 GB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000331/0.9864, allocations: 39.56 kB / 0.5011 GB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00561/0.992, allocations: 3.906 MB / 0.5049 GB, free: 15.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=310): time 4.729e-06/0.992, allocations: 0 / 0.5049 GB, free: 15.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=310): time 0.01042/1.002, allocations: 6.681 MB / 0.5114 GB, free: 8.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/1.003, allocations: 321.4 kB / 0.5117 GB, free: 8.047 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003462/1.006, allocations: 2.374 MB / 0.514 GB, free: 5.684 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004269/1.007, allocations: 29.7 kB / 0.5141 GB, free: 5.648 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009882/1.008, allocations: 1.134 MB / 0.5152 GB, free: 4.508 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.009, allocations: 1.066 MB / 0.5162 GB, free: 3.426 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/1.009, allocations: 0 / 0.5162 GB, free: 3.426 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002355/1.009, allocations: 435.6 kB / 0.5166 GB, free: 2.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004351/1.014, allocations: 3.058 MB / 0.5196 GB, free: 15.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004587/1.018, allocations: 3.295 MB / 0.5228 GB, free: 12.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004779/1.023, allocations: 3.335 MB / 0.5261 GB, free: 9.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/1.023, allocations: 0 / 0.5261 GB, free: 9.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01084/1.034, allocations: 6.981 MB / 0.5329 GB, free: 2.227 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/1.034, allocations: 12.06 kB / 0.5329 GB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.034, allocations: 0 / 0.5329 GB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.618e-05/1.034, allocations: 19.95 kB / 0.5329 GB, free: 2.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006165/1.04, allocations: 1.662 MB / 0.5346 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.997e-05/1.04, allocations: 16 kB / 0.5346 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.237/1.277, allocations: 1.152 MB / 0.5357 GB, free: 138.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/1.278, allocations: 81.23 kB / 0.5358 GB, free: 138.7 MB / 410.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 () * 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.0007373/1.279, allocations: 148.6 kB / 0.5359 GB, free: 138.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008906/1.28, allocations: 369.8 kB / 0.5363 GB, free: 138.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/1.282, allocations: 0.7969 MB / 0.537 GB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/1.282, allocations: 33.72 kB / 0.5371 GB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.609e-05/1.282, allocations: 3.812 kB / 0.5371 GB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.546e-05/1.283, allocations: 19.06 kB / 0.5371 GB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008214/1.291, allocations: 4.753 MB / 0.5417 GB, free: 137.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.291, allocations: 2.125 kB / 0.5417 GB, free: 137.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007/1.298, allocations: 1.618 MB / 0.5433 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.972e-05/1.298, allocations: 13.14 kB / 0.5433 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005725/1.298, allocations: 35.8 kB / 0.5434 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.989e-05/1.299, allocations: 15.72 kB / 0.5434 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.299, allocations: 7.688 kB / 0.5434 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01605/1.315, allocations: 12.77 MB / 0.5559 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008839/1.316, allocations: 447.6 kB / 0.5563 GB, free: 133.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005488/1.316, allocations: 22.2 kB / 0.5563 GB, free: 133.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004018/1.32, allocations: 1.038 MB / 0.5573 GB, free: 133.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000433/1.321, allocations: 186.6 kB / 0.5575 GB, free: 133.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/1.321, allocations: 83.11 kB / 0.5576 GB, free: 133 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002292/1.323, allocations: 1.835 MB / 0.5594 GB, free: 132.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.323, allocations: 2.625 kB / 0.5594 GB, free: 132.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001854/1.325, allocations: 0.7559 MB / 0.5601 GB, free: 132.5 MB / 410.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 () * 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.0005455/1.326, allocations: 247.6 kB / 0.5604 GB, free: 132.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008121/1.334, allocations: 6.902 MB / 0.5671 GB, free: 130.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.334, allocations: 1.406 kB / 0.5671 GB, free: 130.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003823/1.338, allocations: 3.58 MB / 0.5706 GB, free: 127.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/1.339, allocations: 288 kB / 0.5709 GB, free: 126.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008705/1.348, allocations: 6.954 MB / 0.5777 GB, free: 121 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/1.349, allocations: 2.146 MB / 0.5798 GB, free: 119.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00642/1.356, allocations: 4.112 MB / 0.5838 GB, free: 116.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/1.357, allocations: 227.4 kB / 0.584 GB, free: 115.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.693e-06/1.357, allocations: 4 kB / 0.584 GB, free: 115.9 MB / 410.7 MB Notification: Performance of Templates: time 0.05687/1.414, allocations: 37.39 MB / 0.6205 GB, free: 78.5 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)