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.001787/0.001787, allocations: 185.4 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.03199/0.03199, allocations: 5.426 MB / 19.19 MB, free: 1.535 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.582/1.582, allocations: 194.2 MB / 215.2 MB, free: 8.508 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.00166/0.00166, allocations: 115.6 kB / 261.6 MB, free: 12.83 MB / 218.9 MB Notification: Performance of FrontEnd - loaded program: time 3.492e-05/3.499e-05, allocations: 0 / 315.3 MB, free: 7.016 MB / 266.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2739, allocations: 45.74 MB / 361 MB, free: 39.58 MB / 282.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09462/0.3685, allocations: 72.8 MB / 433.8 MB, free: 14.78 MB / 330.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.3688, allocations: 63.97 kB / 433.9 MB, free: 14.72 MB / 330.9 MB Notification: Performance of FrontEnd - DAE generated: time 0.08621/0.455, allocations: 28.91 MB / 462.8 MB, free: 1.719 MB / 346.9 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4551, allocations: 5.125 kB / 462.8 MB, free: 1.715 MB / 346.9 MB Notification: Performance of Transformations before backend: time 5.939e-05/0.4552, allocations: 28 kB / 462.8 MB, free: 1.688 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.0186/0.4738, allocations: 9.061 MB / 471.9 MB, free: 8.566 MB / 362.9 MB Notification: Performance of prepare preOptimizeDAE: time 8.109e-05/0.4739, allocations: 12.02 kB / 471.9 MB, free: 8.555 MB / 362.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002087/0.476, allocations: 420.6 kB / 472.3 MB, free: 8.133 MB / 362.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002934/0.4789, allocations: 493.4 kB / 472.8 MB, free: 7.648 MB / 362.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00604/0.485, allocations: 2.282 MB / 475.1 MB, free: 5.324 MB / 362.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.4852, allocations: 118.9 kB / 475.2 MB, free: 5.207 MB / 362.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006432/0.4858, allocations: 159.8 kB / 475.3 MB, free: 5.051 MB / 362.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007603/0.4934, allocations: 4.407 MB / 479.7 MB, free: 0.5625 MB / 362.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.4935, allocations: 0 / 479.7 MB, free: 0.5625 MB / 362.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002933/0.4938, allocations: 72.97 kB / 479.8 MB, free: 0.4922 MB / 362.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.193e-05/0.4939, allocations: 32 kB / 479.8 MB, free: 472 kB / 362.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2548/0.7487, allocations: 15.72 MB / 495.6 MB, free: 99.22 MB / 362.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.7639, allocations: 10.26 MB / 0.494 GB, free: 89.91 MB / 362.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005187/0.7691, allocations: 4.139 MB / 0.498 GB, free: 85.69 MB / 362.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005221/0.7744, allocations: 4.101 MB / 0.502 GB, free: 81.54 MB / 362.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003896/0.7748, allocations: 51.8 kB / 0.5021 GB, free: 81.5 MB / 362.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00542/0.7802, allocations: 3.967 MB / 0.5059 GB, free: 77.45 MB / 362.9 MB Notification: Performance of pre-optimization done (n=321): time 8.216e-06/0.7803, allocations: 0 / 0.5059 GB, free: 77.45 MB / 362.9 MB Notification: Performance of matching and sorting (n=321): time 0.009639/0.7899, allocations: 6.699 MB / 0.5125 GB, free: 70.73 MB / 362.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.7901, allocations: 451.5 kB / 0.5129 GB, free: 70.2 MB / 362.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.7914, allocations: 0.9424 MB / 0.5138 GB, free: 69.25 MB / 362.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0004235/0.7919, allocations: 77.7 kB / 0.5139 GB, free: 69.17 MB / 362.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.7921, allocations: 370.5 kB / 0.5143 GB, free: 68.81 MB / 362.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.000808/0.7929, allocations: 1.113 MB / 0.5154 GB, free: 67.78 MB / 362.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.7932, allocations: 60 kB / 0.5154 GB, free: 67.72 MB / 362.9 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7933, allocations: 440.2 kB / 0.5158 GB, free: 67.28 MB / 362.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004054/0.7974, allocations: 3.187 MB / 0.5189 GB, free: 64.09 MB / 362.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004503/0.8019, allocations: 3.496 MB / 0.5224 GB, free: 60.54 MB / 362.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00491/0.8068, allocations: 3.469 MB / 0.5257 GB, free: 57.06 MB / 362.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.8069, allocations: 0 / 0.5257 GB, free: 57.06 MB / 362.9 MB Notification: Performance of matching and sorting (n=384) (initialization): time 0.01076/0.8177, allocations: 7.23 MB / 0.5328 GB, free: 49.82 MB / 362.9 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.8177, allocations: 6.344 kB / 0.5328 GB, free: 49.82 MB / 362.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.8178, allocations: 8 kB / 0.5328 GB, free: 49.81 MB / 362.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-05/0.8178, allocations: 16 kB / 0.5328 GB, free: 49.79 MB / 362.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006118/0.8239, allocations: 1.845 MB / 0.5346 GB, free: 47.97 MB / 362.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.634e-05/0.824, allocations: 23.95 kB / 0.5347 GB, free: 47.95 MB / 362.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00485/0.8289, allocations: 1.334 MB / 0.536 GB, free: 46.62 MB / 362.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006215/0.8295, allocations: 104 kB / 0.5361 GB, free: 46.52 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 (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.0007281/0.8303, allocations: 264.3 kB / 0.5363 GB, free: 46.25 MB / 362.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007025/0.831, allocations: 331 kB / 0.5366 GB, free: 45.93 MB / 362.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.833, allocations: 0.6176 MB / 0.5372 GB, free: 45.3 MB / 362.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/0.8331, allocations: 35.94 kB / 0.5373 GB, free: 45.27 MB / 362.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.626e-05/0.8331, allocations: 4 kB / 0.5373 GB, free: 45.26 MB / 362.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.318e-05/0.8331, allocations: 19.94 kB / 0.5373 GB, free: 45.24 MB / 362.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00555/0.8387, allocations: 4.351 MB / 0.5415 GB, free: 40.93 MB / 362.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.8387, allocations: 4 kB / 0.5415 GB, free: 40.93 MB / 362.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006036/0.8448, allocations: 1.746 MB / 0.5432 GB, free: 39.19 MB / 362.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.557e-05/0.8449, allocations: 12 kB / 0.5433 GB, free: 39.18 MB / 362.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006222/0.8455, allocations: 95.91 kB / 0.5433 GB, free: 39.08 MB / 362.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.757e-05/0.8455, allocations: 15.94 kB / 0.5434 GB, free: 39.07 MB / 362.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.8455, allocations: 7 kB / 0.5434 GB, free: 39.06 MB / 362.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/0.8616, allocations: 12.83 MB / 0.5559 GB, free: 26.06 MB / 362.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007336/0.8624, allocations: 310.3 kB / 0.5562 GB, free: 25.74 MB / 362.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007387/0.8631, allocations: 87.23 kB / 0.5563 GB, free: 25.66 MB / 362.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004469/0.8676, allocations: 1.199 MB / 0.5575 GB, free: 24.46 MB / 362.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007675/0.8684, allocations: 219.7 kB / 0.5577 GB, free: 24.25 MB / 362.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000296/0.8687, allocations: 100.9 kB / 0.5578 GB, free: 24.15 MB / 362.9 MB Notification: Performance of sorting global known variables: time 0.0009854/0.8697, allocations: 0.745 MB / 0.5585 GB, free: 23.41 MB / 362.9 MB Notification: Performance of sort global known variables: time 6.11e-07/0.8697, allocations: 0 / 0.5585 GB, free: 23.41 MB / 362.9 MB Notification: Performance of remove unused functions: time 0.002188/0.8719, allocations: 0.9192 MB / 0.5594 GB, free: 22.5 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.01586/0.8878, allocations: 14.57 MB / 0.5736 GB, free: 7.82 MB / 362.9 MB Notification: Performance of simCode: created initialization part: time 0.01025/0.8981, allocations: 7.142 MB / 0.5806 GB, free: 0.6523 MB / 362.9 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.8982, allocations: 0 / 0.5806 GB, free: 0.6523 MB / 362.9 MB Notification: Performance of simCode: created simulation system equations: time 0.005489/0.9037, allocations: 3.649 MB / 0.5842 GB, free: 13 MB / 378.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.9055, allocations: 317.8 kB / 0.5845 GB, free: 12.7 MB / 378.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.9168, allocations: 6.032 MB / 0.5903 GB, free: 6.598 MB / 378.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.918, allocations: 1.509 MB / 0.5918 GB, free: 5.055 MB / 378.9 MB Notification: Performance of simCode: alias equations: time 0.006458/0.9245, allocations: 3.794 MB / 0.5955 GB, free: 1.25 MB / 378.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002229/0.9268, allocations: 0.6671 MB / 0.5962 GB, free: 0.582 MB / 378.9 MB Notification: Performance of SimCode: time 1.142e-06/0.9268, allocations: 0 / 0.5962 GB, free: 0.582 MB / 378.9 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3114/1.238, allocations: 59.65 MB / 0.6544 GB, free: 129.6 MB / 410.9 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001278/1.238, allocations: 131.8 kB / 0.6546 GB, free: 129.4 MB / 410.9 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.51/4.748, allocations: 0 / 0.6546 GB, free: 129.4 MB / 410.9 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)