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.002286/0.002286, allocations: 186.2 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.03462/0.03462, 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.64/1.64, allocations: 194.5 MB / 218.5 MB, free: 1.391 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.001933/0.001933, allocations: 112.7 kB / 265 MB, free: 2.742 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003778, allocations: 8 kB / 321.3 MB, free: 19.33 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1084, allocations: 45.74 MB / 367.1 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4217/0.5301, allocations: 72.89 MB / 440 MB, free: 5.184 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.5304, allocations: 62.34 kB / 440 MB, free: 5.152 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0885/0.6189, allocations: 28.92 MB / 469 MB, free: 10.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.619, allocations: 0 / 469 MB, free: 10.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001064/0.6191, allocations: 32 kB / 469 MB, free: 10.2 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.0214/0.6405, allocations: 9.431 MB / 478.4 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.146e-05/0.6406, allocations: 8.031 kB / 478.4 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002194/0.6428, allocations: 424 kB / 478.8 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003614/0.6465, allocations: 493.5 kB / 479.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006761/0.6533, allocations: 2.298 MB / 481.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.6535, allocations: 112.4 kB / 481.7 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/0.6547, allocations: 163.1 kB / 481.9 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01286/0.6676, allocations: 4.849 MB / 486.7 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/0.6678, allocations: 3.938 kB / 486.7 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007577/0.6686, allocations: 60.09 kB / 486.8 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/0.6686, allocations: 36 kB / 486.8 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03149/0.7001, allocations: 16.57 MB / 0.4916 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02302/0.7232, allocations: 10.26 MB / 0.5016 GB, free: 1.309 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009685/0.7329, allocations: 4.677 MB / 0.5062 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005536/0.7336, allocations: 61.64 kB / 0.5063 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009337/0.7429, allocations: 4.384 MB / 0.5105 GB, free: 9.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=321): time 1.335e-05/0.743, allocations: 4 kB / 0.5105 GB, free: 9.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=321): time 0.02612/0.7691, allocations: 11.01 MB / 0.5213 GB, free: 14.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000294/0.7695, allocations: 448 kB / 0.5217 GB, free: 13.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.7715, allocations: 0.9529 MB / 0.5227 GB, free: 12.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000882/0.7724, allocations: 77.7 kB / 0.5227 GB, free: 12.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004506/0.7729, allocations: 368.5 kB / 0.5231 GB, free: 12.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001924/0.7748, allocations: 1.105 MB / 0.5242 GB, free: 11.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007392/0.7756, allocations: 60 kB / 0.5242 GB, free: 10.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003556/0.776, allocations: 448.1 kB / 0.5246 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007687/0.7837, allocations: 3.612 MB / 0.5282 GB, free: 6.926 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007868/0.7916, allocations: 3.934 MB / 0.532 GB, free: 2.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007931/0.7995, allocations: 3.851 MB / 0.5358 GB, free: 15.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/0.7996, allocations: 3.984 kB / 0.5358 GB, free: 15.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=384) (initialization): time 0.01786/0.8174, allocations: 8.049 MB / 0.5436 GB, free: 6.965 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.8175, allocations: 8 kB / 0.5436 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.8176, allocations: 7.938 kB / 0.5437 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.424e-05/0.8176, allocations: 19.98 kB / 0.5437 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00688/0.8245, allocations: 1.841 MB / 0.5455 GB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001172/0.8247, allocations: 20.69 kB / 0.5455 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005102/0.8298, allocations: 1.34 MB / 0.5468 GB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000692/0.8305, allocations: 104 kB / 0.5469 GB, free: 3.621 MB / 410.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 () * Number of clocked states: 9 (sampled_m[9],sampled_m[8],sampled_m[7],sampled_m[6],sampled_m[5],sampled_m[4],sampled_m[3],sampled_m[2],sampled_m[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (384): * Single equations (assignments): 384 * 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.001902/0.8324, allocations: 0.5633 MB / 0.5474 GB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/0.8336, allocations: 332.2 kB / 0.5478 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.8357, allocations: 0.6176 MB / 0.5484 GB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.492e-05/0.8358, allocations: 35.98 kB / 0.5484 GB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.42e-05/0.8358, allocations: 4 kB / 0.5484 GB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.024e-05/0.8358, allocations: 19.94 kB / 0.5484 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2387/1.075, allocations: 4.344 MB / 0.5527 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-05/1.075, allocations: 4.125 kB / 0.5527 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007764/1.082, allocations: 1.744 MB / 0.5544 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.251e-05/1.083, allocations: 14.34 kB / 0.5544 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001255/1.084, allocations: 95.55 kB / 0.5545 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-05/1.084, allocations: 13.98 kB / 0.5545 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.363e-06/1.084, allocations: 8.844 kB / 0.5545 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03071/1.115, allocations: 14.08 MB / 0.5682 GB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008764/1.116, allocations: 307.1 kB / 0.5685 GB, free: 133.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001554/1.117, allocations: 86.73 kB / 0.5686 GB, free: 133.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00535/1.123, allocations: 1.188 MB / 0.5698 GB, free: 133.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001351/1.124, allocations: 221 kB / 0.57 GB, free: 133.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009109/1.125, allocations: 104.2 kB / 0.5701 GB, free: 133.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001506/1.126, allocations: 0.7542 MB / 0.5708 GB, free: 133.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.126, allocations: 0 / 0.5708 GB, free: 133.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003911/1.13, allocations: 0.9161 MB / 0.5717 GB, free: 133.4 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 () * Number of clocked states: 9 (sampled_m[1],sampled_m[2],sampled_m[3],sampled_m[4],sampled_m[5],sampled_m[6],sampled_m[7],sampled_m[8],sampled_m[9]) * 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.02523/1.156, allocations: 15.82 MB / 0.5872 GB, free: 123.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01482/1.17, allocations: 7.99 MB / 0.595 GB, free: 117.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.779e-05/1.171, allocations: 4 kB / 0.595 GB, free: 117.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00745/1.178, allocations: 4.066 MB / 0.5989 GB, free: 113.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/1.181, allocations: 324.7 kB / 0.5993 GB, free: 112.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04626/1.227, allocations: 25.39 MB / 0.6241 GB, free: 86.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/1.228, allocations: 1.515 MB / 0.6255 GB, free: 85.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008093/1.237, allocations: 3.798 MB / 0.6292 GB, free: 81.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002801/1.239, allocations: 0.6671 MB / 0.6299 GB, free: 80.83 MB / 410.7 MB Notification: Performance of SimCode: time 2.064e-06/1.239, allocations: 0 / 0.6299 GB, free: 80.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08361/1.323, allocations: 59.31 MB / 0.6878 GB, free: 21.47 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/1.323, allocations: 151.2 kB / 0.688 GB, free: 21.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.592/4.916, allocations: 0 / 0.688 GB, free: 21.22 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)