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.00157/0.00157, allocations: 186.5 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.02411/0.02411, allocations: 5.482 MB / 22.02 MB, free: 124 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.558/1.558, allocations: 194.5 MB / 218.5 MB, free: 1.422 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.001863/0.001863, allocations: 112.7 kB / 265 MB, free: 2.77 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 15.98 kB / 321.2 MB, free: 19.46 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 45.74 MB / 367 MB, free: 5.621 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3182/0.4213, allocations: 72.72 MB / 439.7 MB, free: 5.434 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001643/0.4215, allocations: 60.89 kB / 439.8 MB, free: 5.402 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3181/0.7397, allocations: 34.15 MB / 473.9 MB, free: 5.801 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7397, allocations: 4 kB / 473.9 MB, free: 5.797 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002612/0.74, allocations: 48 kB / 474 MB, free: 5.75 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.02186/0.7619, allocations: 11.02 MB / 485 MB, free: 10.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.7619, allocations: 11.97 kB / 485 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003554/0.7655, allocations: 0.6785 MB / 485.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/0.7757, allocations: 4.206 MB / 489.9 MB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.814e-05/0.7759, allocations: 101.2 kB / 490 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004659/0.7763, allocations: 150.4 kB / 490.1 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007933/0.7843, allocations: 4.274 MB / 494.4 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.7843, allocations: 0 / 494.4 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/0.7846, allocations: 55.5 kB / 494.5 MB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.7847, allocations: 32 kB / 494.5 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02698/0.8116, allocations: 16.61 MB / 0.4991 GB, free: 3.434 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02287/0.8346, allocations: 10.55 MB / 0.5094 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008433/0.843, allocations: 4.339 MB / 0.5137 GB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004236/0.8435, allocations: 46.3 kB / 0.5137 GB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008745/0.8523, allocations: 4.243 MB / 0.5178 GB, free: 1.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=310): time 8.957e-06/0.8523, allocations: 0 / 0.5178 GB, free: 1.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=310): time 0.02425/0.8766, allocations: 10.63 MB / 0.5282 GB, free: 7.094 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001986/0.8768, allocations: 325 kB / 0.5285 GB, free: 6.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005737/0.8826, allocations: 2.565 MB / 0.531 GB, free: 4.152 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001051/0.8837, allocations: 81.69 kB / 0.5311 GB, free: 4.066 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001647/0.8853, allocations: 1.13 MB / 0.5322 GB, free: 2.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002142/0.8875, allocations: 1.105 MB / 0.5333 GB, free: 1.809 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007499/0.8883, allocations: 60 kB / 0.5334 GB, free: 1.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004145/0.8887, allocations: 431.7 kB / 0.5338 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007802/0.8965, allocations: 3.354 MB / 0.537 GB, free: 13.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00791/0.9045, allocations: 3.608 MB / 0.5406 GB, free: 10.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007949/0.9124, allocations: 3.597 MB / 0.5441 GB, free: 6.703 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.752e-05/0.9125, allocations: 7.984 kB / 0.5441 GB, free: 6.695 MB / 410.7 MB Notification: Performance of matching and sorting (n=355) (initialization): time 0.2223/1.135, allocations: 7.65 MB / 0.5516 GB, free: 133.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/1.135, allocations: 10.7 kB / 0.5516 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.135, allocations: 2.906 kB / 0.5516 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.908e-05/1.135, allocations: 17.25 kB / 0.5516 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006865/1.142, allocations: 1.665 MB / 0.5532 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.671e-05/1.142, allocations: 14.31 kB / 0.5532 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004985/1.147, allocations: 1.214 MB / 0.5544 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006605/1.148, allocations: 85.2 kB / 0.5545 GB, free: 133.4 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 () * 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.001922/1.149, allocations: 0.8026 MB / 0.5553 GB, free: 133.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006859/1.15, allocations: 374.6 kB / 0.5556 GB, free: 133.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/1.152, allocations: 0.8311 MB / 0.5564 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/1.152, allocations: 32.59 kB / 0.5565 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/1.152, allocations: 3.953 kB / 0.5565 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.177e-05/1.152, allocations: 20.34 kB / 0.5565 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0067/1.159, allocations: 4.979 MB / 0.5614 GB, free: 132 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/1.159, allocations: 3.625 kB / 0.5614 GB, free: 132 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006232/1.165, allocations: 1.619 MB / 0.5629 GB, free: 132 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.601e-05/1.165, allocations: 12 kB / 0.563 GB, free: 132 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004154/1.166, allocations: 77.61 kB / 0.563 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.518e-05/1.166, allocations: 13.59 kB / 0.563 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.166, allocations: 1.75 kB / 0.563 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02036/1.186, allocations: 13.69 MB / 0.5764 GB, free: 127.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000926/1.187, allocations: 454.5 kB / 0.5768 GB, free: 126.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007874/1.188, allocations: 67.44 kB / 0.5769 GB, free: 126.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003758/1.192, allocations: 1.084 MB / 0.578 GB, free: 126.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005783/1.192, allocations: 187.2 kB / 0.5781 GB, free: 126.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002615/1.193, allocations: 86.16 kB / 0.5782 GB, free: 126.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002507/1.195, allocations: 2.022 MB / 0.5802 GB, free: 126.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.195, allocations: 2.906 kB / 0.5802 GB, free: 126.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002257/1.197, allocations: 0.8646 MB / 0.5811 GB, free: 126 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 () * 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.0005749/1.198, allocations: 295.7 kB / 0.5813 GB, free: 125.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01189/1.21, allocations: 7.514 MB / 0.5887 GB, free: 121.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.21, allocations: 3.938 kB / 0.5887 GB, free: 121.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005829/1.216, allocations: 3.878 MB / 0.5925 GB, free: 118.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/1.217, allocations: 345 kB / 0.5928 GB, free: 118.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/1.228, allocations: 8.978 MB / 0.6016 GB, free: 109.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/1.229, allocations: 2.149 MB / 0.6037 GB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00635/1.236, allocations: 4.106 MB / 0.6077 GB, free: 103 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/1.237, allocations: 239.3 kB / 0.6079 GB, free: 102.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/1.237, allocations: 4 kB / 0.6079 GB, free: 102.8 MB / 410.7 MB Notification: Performance of Templates: time 0.05681/1.294, allocations: 42.21 MB / 0.6491 GB, free: 60.59 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)