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.001217/0.001217, allocations: 184.6 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.0297/0.0297, allocations: 5.428 MB / 19.2 MB, free: 1.922 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.658/1.658, allocations: 194.3 MB / 215.2 MB, free: 8.543 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.001814/0.001814, allocations: 107.7 kB / 261.6 MB, free: 12.83 MB / 218.9 MB Notification: Performance of FrontEnd - loaded program: time 4.204e-05/4.243e-05, allocations: 4 kB / 315.2 MB, free: 7.105 MB / 266.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.281, allocations: 45.73 MB / 360.9 MB, free: 39.56 MB / 282.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09448/0.3755, allocations: 72.63 MB / 433.5 MB, free: 14.96 MB / 330.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001716/0.3758, allocations: 59.97 kB / 433.6 MB, free: 14.9 MB / 330.9 MB Notification: Performance of FrontEnd - DAE generated: time 0.4369/0.8127, allocations: 34.14 MB / 467.7 MB, free: 12.65 MB / 362.9 MB Notification: Performance of FrontEnd: time 1.123e-06/0.8127, allocations: 0 / 467.7 MB, free: 12.65 MB / 362.9 MB Notification: Performance of Transformations before backend: time 0.0001125/0.8128, allocations: 52 kB / 467.8 MB, free: 12.6 MB / 362.9 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.01786/0.8307, allocations: 9.907 MB / 477.7 MB, free: 2.625 MB / 362.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.8308, allocations: 12.02 kB / 477.7 MB, free: 2.613 MB / 362.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003303/0.8341, allocations: 0.6707 MB / 478.4 MB, free: 1.938 MB / 362.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2297/1.064, allocations: 4.176 MB / 482.6 MB, free: 97.22 MB / 362.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.875e-05/1.064, allocations: 100.5 kB / 482.7 MB, free: 97.21 MB / 362.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000636/1.065, allocations: 146.3 kB / 482.8 MB, free: 97.21 MB / 362.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005665/1.07, allocations: 4.043 MB / 486.8 MB, free: 96.89 MB / 362.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/1.07, allocations: 0 / 486.8 MB, free: 96.89 MB / 362.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/1.071, allocations: 51.12 kB / 486.9 MB, free: 96.86 MB / 362.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/1.071, allocations: 32.38 kB / 486.9 MB, free: 96.86 MB / 362.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01869/1.089, allocations: 16.13 MB / 0.4913 GB, free: 91.62 MB / 362.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01726/1.107, allocations: 10.55 MB / 0.5016 GB, free: 81.12 MB / 362.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005368/1.112, allocations: 4.084 MB / 0.5056 GB, free: 76.98 MB / 362.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005398/1.118, allocations: 4.068 MB / 0.5095 GB, free: 72.89 MB / 362.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003571/1.118, allocations: 41.56 kB / 0.5096 GB, free: 72.85 MB / 362.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005253/1.123, allocations: 4.004 MB / 0.5135 GB, free: 68.77 MB / 362.9 MB Notification: Performance of pre-optimization done (n=310): time 4.579e-06/1.123, allocations: 0 / 0.5135 GB, free: 68.77 MB / 362.9 MB Notification: Performance of matching and sorting (n=310): time 0.009807/1.133, allocations: 6.853 MB / 0.5202 GB, free: 61.88 MB / 362.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/1.133, allocations: 329.2 kB / 0.5205 GB, free: 61.5 MB / 362.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/1.137, allocations: 2.536 MB / 0.523 GB, free: 58.97 MB / 362.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0005141/1.137, allocations: 81.08 kB / 0.523 GB, free: 58.89 MB / 362.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006831/1.138, allocations: 1.134 MB / 0.5242 GB, free: 57.75 MB / 362.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.139, allocations: 1.106 MB / 0.5252 GB, free: 56.65 MB / 362.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/1.139, allocations: 56 kB / 0.5253 GB, free: 56.6 MB / 362.9 MB Notification: Performance of setup shared object (initialization): time 0.0001453/1.139, allocations: 431.7 kB / 0.5257 GB, free: 56.17 MB / 362.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/1.143, allocations: 3.113 MB / 0.5287 GB, free: 53.05 MB / 362.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004153/1.147, allocations: 3.362 MB / 0.532 GB, free: 49.66 MB / 362.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004414/1.152, allocations: 3.39 MB / 0.5353 GB, free: 46.25 MB / 362.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/1.152, allocations: 4 kB / 0.5353 GB, free: 46.25 MB / 362.9 MB Notification: Performance of matching and sorting (n=355) (initialization): time 0.0101/1.162, allocations: 7.202 MB / 0.5424 GB, free: 39.02 MB / 362.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/1.162, allocations: 7 kB / 0.5424 GB, free: 39.02 MB / 362.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.162, allocations: 7.938 kB / 0.5424 GB, free: 39.01 MB / 362.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.385e-05/1.162, allocations: 16 kB / 0.5424 GB, free: 39 MB / 362.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005449/1.167, allocations: 1.669 MB / 0.544 GB, free: 37.35 MB / 362.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.243e-05/1.168, allocations: 19.94 kB / 0.544 GB, free: 37.33 MB / 362.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004445/1.172, allocations: 1.205 MB / 0.5452 GB, free: 36.12 MB / 362.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004014/1.172, allocations: 80 kB / 0.5453 GB, free: 36.05 MB / 362.9 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.0006651/1.173, allocations: 251.4 kB / 0.5455 GB, free: 35.8 MB / 362.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007684/1.174, allocations: 375.3 kB / 0.5459 GB, free: 35.43 MB / 362.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/1.176, allocations: 0.8301 MB / 0.5467 GB, free: 34.59 MB / 362.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/1.176, allocations: 32 kB / 0.5467 GB, free: 34.56 MB / 362.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.149e-05/1.176, allocations: 0 / 0.5467 GB, free: 34.56 MB / 362.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.061e-05/1.176, allocations: 19.94 kB / 0.5468 GB, free: 34.54 MB / 362.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006198/1.183, allocations: 4.975 MB / 0.5516 GB, free: 29.59 MB / 362.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.183, allocations: 7.984 kB / 0.5516 GB, free: 29.58 MB / 362.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005899/1.189, allocations: 1.621 MB / 0.5532 GB, free: 27.96 MB / 362.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-05/1.189, allocations: 12 kB / 0.5532 GB, free: 27.95 MB / 362.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004547/1.189, allocations: 79.95 kB / 0.5533 GB, free: 27.88 MB / 362.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/1.189, allocations: 15.98 kB / 0.5533 GB, free: 27.86 MB / 362.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.189, allocations: 7.938 kB / 0.5533 GB, free: 27.85 MB / 362.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01543/1.205, allocations: 13 MB / 0.566 GB, free: 14.73 MB / 362.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/1.206, allocations: 451.7 kB / 0.5664 GB, free: 14.26 MB / 362.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008536/1.207, allocations: 74.67 kB / 0.5665 GB, free: 14.19 MB / 362.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004316/1.211, allocations: 1.08 MB / 0.5676 GB, free: 13.11 MB / 362.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006555/1.212, allocations: 192 kB / 0.5677 GB, free: 12.93 MB / 362.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002809/1.212, allocations: 79.98 kB / 0.5678 GB, free: 12.85 MB / 362.9 MB Notification: Performance of sorting global known variables: time 0.002511/1.214, allocations: 1.992 MB / 0.5698 GB, free: 10.87 MB / 362.9 MB Notification: Performance of sort global known variables: time 2.81e-07/1.214, allocations: 0 / 0.5698 GB, free: 10.87 MB / 362.9 MB Notification: Performance of remove unused functions: time 0.002214/1.217, allocations: 0.8632 MB / 0.5706 GB, free: 10.01 MB / 362.9 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.0006046/1.217, allocations: 286.7 kB / 0.5709 GB, free: 9.742 MB / 362.9 MB Notification: Performance of simCode: created initialization part: time 0.009284/1.227, allocations: 7.041 MB / 0.5778 GB, free: 2.676 MB / 362.9 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.227, allocations: 4 kB / 0.5778 GB, free: 2.672 MB / 362.9 MB Notification: Performance of simCode: created simulation system equations: time 0.005127/1.232, allocations: 3.636 MB / 0.5813 GB, free: 15.03 MB / 378.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/1.235, allocations: 348.5 kB / 0.5817 GB, free: 14.7 MB / 378.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/1.246, allocations: 7.053 MB / 0.5885 GB, free: 7.625 MB / 378.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/1.248, allocations: 2.155 MB / 0.5906 GB, free: 5.441 MB / 378.9 MB Notification: Performance of simCode: alias equations: time 0.00842/1.257, allocations: 4.108 MB / 0.5947 GB, free: 1.324 MB / 378.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/1.259, allocations: 235.4 kB / 0.5949 GB, free: 1.094 MB / 378.9 MB Notification: Performance of SimCode: time 1.533e-06/1.259, allocations: 1.031 kB / 0.5949 GB, free: 1.094 MB / 378.9 MB Notification: Performance of Templates: time 0.2885/1.547, allocations: 42.54 MB / 0.6364 GB, free: 133.6 MB / 410.9 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)