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: "" <> buildModelFMU(LibRAS.Culture.SSCulture_V,fileNamePrefix="LibRAS_LibRAS_Culture_SSCulture_V",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(LibRAS.Culture.SSCulture_V,fileNamePrefix="LibRAS_LibRAS_Culture_SSCulture_V",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.001103/0.001103, allocations: 183.7 kB / 8.053 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.03098/0.03098, allocations: 5.423 MB / 13.89 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.534/1.534, allocations: 194.3 MB / 209.9 MB, free: 9.805 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.001674/0.001673, allocations: 106.2 kB / 256.2 MB, free: 11.96 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.122e-05, allocations: 2.375 kB / 308.2 MB, free: 43.42 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08755/0.08759, allocations: 45.76 MB / 354 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3494/0.437, allocations: 72.13 MB / 426.1 MB, free: 15.19 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.4374, allocations: 55.81 kB / 426.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08244/0.5198, allocations: 28.58 MB / 454.7 MB, free: 25.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5199, allocations: 0 / 454.7 MB, free: 25.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.39e-05/0.52, allocations: 27.66 kB / 454.8 MB, free: 25.93 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.0133/0.5333, allocations: 9.068 MB / 463.8 MB, free: 22.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.5333, allocations: 11.38 kB / 463.8 MB, free: 22.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/0.5358, allocations: 482.1 kB / 464.3 MB, free: 21.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004499/0.5403, allocations: 2.261 MB / 466.6 MB, free: 21.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.276e-05/0.5404, allocations: 47.7 kB / 466.6 MB, free: 21.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003635/0.5408, allocations: 99.16 kB / 466.7 MB, free: 21.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02002/0.5608, allocations: 16.08 MB / 482.8 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006724/0.5676, allocations: 4.131 MB / 486.9 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.5677, allocations: 8.656 kB / 486.9 MB, free: 6.145 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002584/0.5679, allocations: 11.69 kB / 486.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.568, allocations: 32 kB / 487 MB, free: 6.105 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01664/0.5846, allocations: 9.899 MB / 496.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005314/0.59, allocations: 4.047 MB / 0.4892 GB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0049/0.5949, allocations: 3.998 MB / 0.4931 GB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003128/0.5953, allocations: 56.7 kB / 0.4931 GB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005083/0.6004, allocations: 3.895 MB / 0.4969 GB, free: 3.793 MB / 346.7 MB Notification: Performance of pre-optimization done (n=321): time 5.019e-06/0.6004, allocations: 0 / 0.4969 GB, free: 3.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=321): time 0.01015/0.6105, allocations: 6.552 MB / 0.5033 GB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002356/0.6108, allocations: 431.8 kB / 0.5038 GB, free: 13.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.6122, allocations: 0.8357 MB / 0.5046 GB, free: 12.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002903/0.6125, allocations: 30.02 kB / 0.5046 GB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.6128, allocations: 329 kB / 0.5049 GB, free: 12.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.6139, allocations: 1.051 MB / 0.5059 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.6142, allocations: 8 kB / 0.506 GB, free: 11.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.6144, allocations: 440 kB / 0.5064 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004284/0.6187, allocations: 3.109 MB / 0.5094 GB, free: 7.562 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004624/0.6233, allocations: 3.401 MB / 0.5127 GB, free: 4.098 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00485/0.6282, allocations: 3.382 MB / 0.516 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.6283, allocations: 0 / 0.516 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01077/0.639, allocations: 6.954 MB / 0.5228 GB, free: 9.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.6391, allocations: 12.03 kB / 0.5228 GB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.6391, allocations: 4 kB / 0.5228 GB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.464e-05/0.6392, allocations: 16 kB / 0.5229 GB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006047/0.6452, allocations: 1.825 MB / 0.5246 GB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-05/0.6453, allocations: 19.94 kB / 0.5247 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/0.6497, allocations: 1.273 MB / 0.5259 GB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002955/0.65, allocations: 107.9 kB / 0.526 GB, free: 6.445 MB / 378.7 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.0006774/0.6507, allocations: 152.1 kB / 0.5261 GB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009823/0.6605, allocations: 6.556 MB / 0.5325 GB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005484/0.6611, allocations: 166 kB / 0.5327 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.663, allocations: 0.5899 MB / 0.5333 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.6631, allocations: 32 kB / 0.5333 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/0.6631, allocations: 4 kB / 0.5333 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.724e-05/0.6631, allocations: 19.94 kB / 0.5333 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005954/0.6691, allocations: 4.123 MB / 0.5374 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.6691, allocations: 19.94 kB / 0.5374 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006132/0.6753, allocations: 1.747 MB / 0.5391 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.704e-05/0.6753, allocations: 16 kB / 0.5391 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003431/0.6757, allocations: 51.91 kB / 0.5392 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.665e-05/0.6757, allocations: 12 kB / 0.5392 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.6757, allocations: 8 kB / 0.5392 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/0.6922, allocations: 12.67 MB / 0.5515 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006222/0.6928, allocations: 298.4 kB / 0.5518 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006141/0.6935, allocations: 31.95 kB / 0.5519 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004606/0.6981, allocations: 1.151 MB / 0.553 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005421/0.6986, allocations: 221.8 kB / 0.5532 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002813/0.6989, allocations: 95.94 kB / 0.5533 GB, free: 10.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009088/0.6998, allocations: 0.6591 MB / 0.5539 GB, free: 9.605 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6999, allocations: 0 / 0.5539 GB, free: 9.605 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002291/0.7022, allocations: 0.7812 MB / 0.5547 GB, free: 8.824 MB / 410.7 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.2296/0.9318, allocations: 14.37 MB / 0.5687 GB, free: 141.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01376/0.9456, allocations: 6.983 MB / 0.5755 GB, free: 140.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.9457, allocations: 0 / 0.5755 GB, free: 140.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004746/0.9504, allocations: 3.6 MB / 0.5791 GB, free: 139.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.9523, allocations: 250.5 kB / 0.5793 GB, free: 139.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009243/0.9616, allocations: 5.728 MB / 0.5849 GB, free: 137.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009429/0.9625, allocations: 1.476 MB / 0.5863 GB, free: 136.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005195/0.9678, allocations: 3.652 MB / 0.5899 GB, free: 134.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/0.9696, allocations: 0.633 MB / 0.5905 GB, free: 134 MB / 410.7 MB Notification: Performance of SimCode: time 1.543e-06/0.9696, allocations: 3.094 kB / 0.5905 GB, free: 134 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08075/1.05, allocations: 54.33 MB / 0.6436 GB, free: 83.59 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001279/1.051, allocations: 102.1 kB / 0.6437 GB, free: 83.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.497/4.548, allocations: 1.531 kB / 0.6437 GB, free: 83.47 MB / 410.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_LibRAS_LibRAS_Culture_SSCulture_V_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=0.0001 LibRAS_LibRAS_Culture_SSCulture_V.fmu > LibRAS_LibRAS.Culture.SSCulture_V.pipe 2>&1)