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.002097/0.002097, 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.03902/0.03902, 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.633/1.633, 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.001692/0.001692, allocations: 107.7 kB / 261.6 MB, free: 12.83 MB / 218.9 MB Notification: Performance of FrontEnd - loaded program: time 3.164e-05/3.168e-05, allocations: 4 kB / 315.2 MB, free: 7.105 MB / 266.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2682, allocations: 45.73 MB / 360.9 MB, free: 39.57 MB / 282.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09082/0.3591, allocations: 72.8 MB / 433.7 MB, free: 14.79 MB / 330.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/0.3593, allocations: 59.97 kB / 433.8 MB, free: 14.73 MB / 330.9 MB Notification: Performance of FrontEnd - DAE generated: time 0.08636/0.4457, allocations: 28.9 MB / 462.7 MB, free: 1.73 MB / 346.9 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4458, allocations: 0 / 462.7 MB, free: 1.73 MB / 346.9 MB Notification: Performance of Transformations before backend: time 5.516e-05/0.4458, allocations: 28 kB / 462.7 MB, free: 1.703 MB / 346.9 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.01565/0.4615, allocations: 9.053 MB / 471.8 MB, free: 8.59 MB / 362.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.4616, allocations: 13.16 kB / 471.8 MB, free: 8.578 MB / 362.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/0.4646, allocations: 489.5 kB / 472.3 MB, free: 8.098 MB / 362.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005818/0.4704, allocations: 2.266 MB / 474.5 MB, free: 5.789 MB / 362.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.4706, allocations: 102.7 kB / 474.6 MB, free: 5.688 MB / 362.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007356/0.4713, allocations: 159.8 kB / 474.8 MB, free: 5.531 MB / 362.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007225/0.4786, allocations: 4.31 MB / 479.1 MB, free: 1.137 MB / 362.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.4787, allocations: 0 / 479.1 MB, free: 1.137 MB / 362.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002882/0.479, allocations: 63.95 kB / 479.2 MB, free: 1.074 MB / 362.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.479, allocations: 36 kB / 479.2 MB, free: 1.039 MB / 362.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.241/0.72, allocations: 15.66 MB / 494.9 MB, free: 100 MB / 362.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/0.7346, allocations: 10.12 MB / 0.4931 GB, free: 90.97 MB / 362.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004814/0.7394, allocations: 4.163 MB / 0.4972 GB, free: 86.73 MB / 362.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004601/0.744, allocations: 4.098 MB / 0.5012 GB, free: 82.59 MB / 362.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003188/0.7444, allocations: 55.88 kB / 0.5013 GB, free: 82.55 MB / 362.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004661/0.7491, allocations: 3.983 MB / 0.5052 GB, free: 78.48 MB / 362.9 MB Notification: Performance of pre-optimization done (n=321): time 5.77e-06/0.7491, allocations: 0 / 0.5052 GB, free: 78.48 MB / 362.9 MB Notification: Performance of matching and sorting (n=321): time 0.00901/0.7581, allocations: 6.73 MB / 0.5117 GB, free: 71.73 MB / 362.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.7583, allocations: 452.8 kB / 0.5122 GB, free: 71.2 MB / 362.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.7595, allocations: 0.8709 MB / 0.513 GB, free: 70.32 MB / 362.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0003292/0.7599, allocations: 81.69 kB / 0.5131 GB, free: 70.24 MB / 362.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.7601, allocations: 323 kB / 0.5134 GB, free: 69.92 MB / 362.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007721/0.7608, allocations: 1.095 MB / 0.5145 GB, free: 68.91 MB / 362.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.7611, allocations: 60 kB / 0.5145 GB, free: 68.86 MB / 362.9 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.7613, allocations: 445.8 kB / 0.5149 GB, free: 68.41 MB / 362.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004024/0.7653, allocations: 3.165 MB / 0.518 GB, free: 65.25 MB / 362.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004288/0.7696, allocations: 3.47 MB / 0.5214 GB, free: 61.71 MB / 362.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004559/0.7742, allocations: 3.445 MB / 0.5248 GB, free: 58.26 MB / 362.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.7742, allocations: 4 kB / 0.5248 GB, free: 58.26 MB / 362.9 MB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01017/0.7844, allocations: 7.183 MB / 0.5318 GB, free: 51.07 MB / 362.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.7844, allocations: 8 kB / 0.5318 GB, free: 51.06 MB / 362.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.7845, allocations: 4 kB / 0.5318 GB, free: 51.06 MB / 362.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.616e-05/0.7845, allocations: 20 kB / 0.5318 GB, free: 51.04 MB / 362.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005933/0.7905, allocations: 1.822 MB / 0.5336 GB, free: 49.25 MB / 362.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.456e-05/0.7906, allocations: 19.94 kB / 0.5336 GB, free: 49.23 MB / 362.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005047/0.7956, allocations: 1.335 MB / 0.5349 GB, free: 47.9 MB / 362.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005912/0.7963, allocations: 106.3 kB / 0.535 GB, free: 47.8 MB / 362.9 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 () * 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.001044/0.7973, allocations: 248.4 kB / 0.5353 GB, free: 47.55 MB / 362.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/0.7984, allocations: 329.3 kB / 0.5356 GB, free: 47.22 MB / 362.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/0.8006, allocations: 0.6251 MB / 0.5362 GB, free: 46.59 MB / 362.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/0.8006, allocations: 32 kB / 0.5362 GB, free: 46.55 MB / 362.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-05/0.8006, allocations: 4 kB / 0.5362 GB, free: 46.55 MB / 362.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.599e-05/0.8007, allocations: 23.41 kB / 0.5363 GB, free: 46.53 MB / 362.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006367/0.8071, allocations: 4.368 MB / 0.5405 GB, free: 42.18 MB / 362.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/0.8071, allocations: 4 kB / 0.5405 GB, free: 42.18 MB / 362.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006177/0.8133, allocations: 1.745 MB / 0.5422 GB, free: 40.44 MB / 362.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.028e-05/0.8134, allocations: 16 kB / 0.5422 GB, free: 40.43 MB / 362.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007044/0.8141, allocations: 95.23 kB / 0.5423 GB, free: 40.34 MB / 362.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.221e-05/0.8141, allocations: 23.92 kB / 0.5424 GB, free: 40.31 MB / 362.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.8142, allocations: 4 kB / 0.5424 GB, free: 40.31 MB / 362.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01679/0.8309, allocations: 12.88 MB / 0.5549 GB, free: 27.26 MB / 362.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005814/0.8316, allocations: 302.4 kB / 0.5552 GB, free: 26.94 MB / 362.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007431/0.8323, allocations: 79.97 kB / 0.5553 GB, free: 26.86 MB / 362.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004711/0.8371, allocations: 1.199 MB / 0.5565 GB, free: 25.68 MB / 362.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007692/0.8379, allocations: 217.8 kB / 0.5567 GB, free: 25.46 MB / 362.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004544/0.8383, allocations: 111.9 kB / 0.5568 GB, free: 25.35 MB / 362.9 MB Notification: Performance of sorting global known variables: time 0.001095/0.8395, allocations: 0.6904 MB / 0.5575 GB, free: 24.66 MB / 362.9 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8395, allocations: 3.062 kB / 0.5575 GB, free: 24.66 MB / 362.9 MB Notification: Performance of remove unused functions: time 0.002654/0.8421, allocations: 0.8866 MB / 0.5583 GB, free: 23.78 MB / 362.9 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 () * 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.0008267/0.843, allocations: 288.3 kB / 0.5586 GB, free: 23.51 MB / 362.9 MB Notification: Performance of simCode: created initialization part: time 0.01011/0.8531, allocations: 7.127 MB / 0.5656 GB, free: 16.36 MB / 362.9 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.8532, allocations: 4 kB / 0.5656 GB, free: 16.36 MB / 362.9 MB Notification: Performance of simCode: created simulation system equations: time 0.005042/0.8582, allocations: 3.656 MB / 0.5691 GB, free: 12.7 MB / 362.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/0.8602, allocations: 316 kB / 0.5694 GB, free: 12.4 MB / 362.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008756/0.869, allocations: 5.138 MB / 0.5745 GB, free: 7.199 MB / 362.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.8703, allocations: 1.49 MB / 0.5759 GB, free: 5.68 MB / 362.9 MB Notification: Performance of simCode: alias equations: time 0.007293/0.8776, allocations: 3.652 MB / 0.5795 GB, free: 2.031 MB / 362.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002681/0.8803, allocations: 179.3 kB / 0.5797 GB, free: 1.855 MB / 362.9 MB Notification: Performance of SimCode: time 3.096e-06/0.8804, allocations: 0 / 0.5797 GB, free: 1.855 MB / 362.9 MB Notification: Performance of Templates: time 0.06977/0.9502, allocations: 41.13 MB / 0.6198 GB, free: 8.816 MB / 410.9 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)