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: "" <> buildModelFMU(LibRAS.Culture.SSCulture_V_noEvent,fileNamePrefix="LibRAS_LibRAS_Culture_SSCulture_V_noEvent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(LibRAS.Culture.SSCulture_V_noEvent,fileNamePrefix="LibRAS_LibRAS_Culture_SSCulture_V_noEvent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001319/0.001319, allocations: 184.8 kB / 8.051 MB, free: 1.02 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.04061/0.04061, allocations: 5.43 MB / 13.9 MB, free: 72 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.557/1.557, allocations: 194.3 MB / 209.9 MB, free: 9.844 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.001827/0.001827, allocations: 112.3 kB / 256.2 MB, free: 11.96 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.036e-05/2.021e-05, allocations: 3.125 kB / 308.2 MB, free: 43.42 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09483/0.09487, allocations: 45.75 MB / 354 MB, free: 1.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3723/0.4672, allocations: 71.96 MB / 425.9 MB, free: 15.28 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.4675, allocations: 58.09 kB / 426 MB, free: 15.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4167/0.8842, allocations: 33.81 MB / 459.8 MB, free: 23.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.8842, allocations: 0 / 459.8 MB, free: 23.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001039/0.8844, allocations: 54.5 kB / 459.9 MB, free: 23.58 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.01464/0.899, allocations: 9.927 MB / 469.8 MB, free: 19.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.8991, allocations: 6.656 kB / 469.8 MB, free: 19.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/0.9022, allocations: 0.6724 MB / 470.5 MB, free: 18.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008428/0.9106, allocations: 4.174 MB / 474.6 MB, free: 17.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.9107, allocations: 42.78 kB / 474.7 MB, free: 17.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004125/0.9112, allocations: 100.2 kB / 474.8 MB, free: 17.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02095/0.9321, allocations: 16.05 MB / 490.8 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005992/0.9382, allocations: 3.851 MB / 494.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.9382, allocations: 0 / 494.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002485/0.9385, allocations: 7.922 kB / 494.7 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.9385, allocations: 35.95 kB / 494.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01866/0.9572, allocations: 10.32 MB / 0.4932 GB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005701/0.9629, allocations: 3.979 MB / 0.4971 GB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005481/0.9685, allocations: 3.981 MB / 0.501 GB, free: 320 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003585/0.9688, allocations: 36.61 kB / 0.501 GB, free: 288 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00563/0.9745, allocations: 3.91 MB / 0.5048 GB, free: 12.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=310): time 6.312e-06/0.9745, allocations: 0 / 0.5048 GB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=310): time 0.01068/0.9852, allocations: 6.678 MB / 0.5113 GB, free: 5.965 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/0.9854, allocations: 321.4 kB / 0.5117 GB, free: 5.582 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004173/0.9896, allocations: 2.378 MB / 0.514 GB, free: 3.215 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007263/0.9903, allocations: 33.69 kB / 0.514 GB, free: 3.176 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.9915, allocations: 1.13 MB / 0.5151 GB, free: 2.039 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001359/0.9929, allocations: 1.07 MB / 0.5162 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/0.9931, allocations: 0 / 0.5162 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.9934, allocations: 435.7 kB / 0.5166 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004203/0.9976, allocations: 3.054 MB / 0.5196 GB, free: 13.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004505/1.002, allocations: 3.298 MB / 0.5228 GB, free: 10.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004777/1.007, allocations: 3.323 MB / 0.526 GB, free: 6.789 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/1.007, allocations: 4 kB / 0.526 GB, free: 6.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01067/1.018, allocations: 6.985 MB / 0.5328 GB, free: 15.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/1.018, allocations: 8.062 kB / 0.5329 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/1.018, allocations: 4 kB / 0.5329 GB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.289e-05/1.018, allocations: 23.89 kB / 0.5329 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005939/1.024, allocations: 1.658 MB / 0.5345 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.601e-05/1.024, allocations: 19.94 kB / 0.5345 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004482/1.028, allocations: 1.156 MB / 0.5356 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/1.029, allocations: 76 kB / 0.5357 GB, free: 12.8 MB / 394.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.0006685/1.029, allocations: 152.2 kB / 0.5359 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01/1.039, allocations: 6.696 MB / 0.5424 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/1.04, allocations: 371.3 kB / 0.5428 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/1.043, allocations: 0.7911 MB / 0.5435 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/1.043, allocations: 32 kB / 0.5436 GB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.23e-05/1.043, allocations: 4 kB / 0.5436 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.739e-05/1.043, allocations: 15.94 kB / 0.5436 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007342/1.05, allocations: 4.743 MB / 0.5482 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/1.05, allocations: 4 kB / 0.5482 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006026/1.056, allocations: 1.627 MB / 0.5498 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.493e-05/1.056, allocations: 12 kB / 0.5498 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003085/1.057, allocations: 39.89 kB / 0.5499 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.946e-05/1.057, allocations: 15.95 kB / 0.5499 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/1.057, allocations: 4 kB / 0.5499 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/1.073, allocations: 12.77 MB / 0.5623 GB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.074, allocations: 447.7 kB / 0.5628 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008636/1.075, allocations: 19.97 kB / 0.5628 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2423/1.318, allocations: 1.036 MB / 0.5638 GB, free: 137.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00138/1.319, allocations: 190.6 kB / 0.564 GB, free: 137.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003506/1.319, allocations: 85.12 kB / 0.5641 GB, free: 137.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003469/1.323, allocations: 1.834 MB / 0.5659 GB, free: 137.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.323, allocations: 0 / 0.5659 GB, free: 137.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003123/1.326, allocations: 0.75 MB / 0.5666 GB, free: 137.3 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.01959/1.346, allocations: 14.05 MB / 0.5803 GB, free: 133.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009406/1.355, allocations: 6.902 MB / 0.5871 GB, free: 131.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/1.355, allocations: 0 / 0.5871 GB, free: 131.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00444/1.36, allocations: 3.587 MB / 0.5906 GB, free: 130.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/1.362, allocations: 284.1 kB / 0.5908 GB, free: 130.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/1.374, allocations: 7.903 MB / 0.5985 GB, free: 123.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/1.376, allocations: 2.144 MB / 0.6006 GB, free: 122.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00644/1.382, allocations: 4.109 MB / 0.6047 GB, free: 119.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002454/1.385, allocations: 1.376 MB / 0.606 GB, free: 118.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.472e-06/1.385, allocations: 0 / 0.606 GB, free: 118.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/1.489, allocations: 70.91 MB / 0.6752 GB, free: 50.16 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/1.489, allocations: 115.7 kB / 0.6754 GB, free: 49.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.768/6.257, allocations: 4 kB / 0.6754 GB, free: 49.96 MB / 410.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_LibRAS_LibRAS_Culture_SSCulture_V_noEvent_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=0.0001 LibRAS_LibRAS_Culture_SSCulture_V_noEvent.fmu > LibRAS_LibRAS.Culture.SSCulture_V_noEvent.pipe 2>&1)