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.001383/0.001383, allocations: 185.2 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.03066/0.03066, 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.587/1.587, allocations: 194.2 MB / 215.2 MB, free: 8.5 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.001754/0.001754, allocations: 97.31 kB / 261.6 MB, free: 12.84 MB / 218.9 MB Notification: Performance of FrontEnd - loaded program: time 4.006e-05/4.028e-05, allocations: 0 / 315.3 MB, free: 7.02 MB / 266.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2869, allocations: 45.73 MB / 361 MB, free: 39.56 MB / 282.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09015/0.3771, allocations: 72.63 MB / 433.6 MB, free: 14.96 MB / 330.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.3774, allocations: 59.97 kB / 433.7 MB, free: 14.9 MB / 330.9 MB Notification: Performance of FrontEnd - DAE generated: time 0.4195/0.7969, allocations: 34.14 MB / 467.8 MB, free: 12.65 MB / 362.9 MB Notification: Performance of FrontEnd: time 1.383e-06/0.7969, allocations: 1.125 kB / 467.8 MB, free: 12.65 MB / 362.9 MB Notification: Performance of Transformations before backend: time 0.0001226/0.7971, allocations: 52 kB / 467.9 MB, free: 12.6 MB / 362.9 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.01904/0.8161, allocations: 9.915 MB / 477.8 MB, free: 2.617 MB / 362.9 MB Notification: Performance of prepare preOptimizeDAE: time 6.904e-05/0.8162, allocations: 8.031 kB / 477.8 MB, free: 2.609 MB / 362.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001831/0.818, allocations: 412.1 kB / 478.2 MB, free: 2.195 MB / 362.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003142/0.8212, allocations: 0.6785 MB / 478.9 MB, free: 1.512 MB / 362.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3066/1.128, allocations: 4.204 MB / 483.1 MB, free: 96.51 MB / 362.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/1.128, allocations: 105.5 kB / 483.2 MB, free: 96.51 MB / 362.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/1.13, allocations: 156.8 kB / 483.4 MB, free: 96.5 MB / 362.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007921/1.138, allocations: 4.128 MB / 487.5 MB, free: 96.18 MB / 362.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/1.138, allocations: 0.6562 kB / 487.5 MB, free: 96.18 MB / 362.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002745/1.138, allocations: 57.75 kB / 487.5 MB, free: 96.14 MB / 362.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/1.138, allocations: 34.38 kB / 487.6 MB, free: 96.14 MB / 362.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01875/1.157, allocations: 16.19 MB / 0.492 GB, free: 90.4 MB / 362.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01725/1.174, allocations: 10.7 MB / 0.5024 GB, free: 79.76 MB / 362.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005104/1.179, allocations: 4.072 MB / 0.5064 GB, free: 75.64 MB / 362.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004804/1.184, allocations: 4.063 MB / 0.5104 GB, free: 71.54 MB / 362.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000306/1.184, allocations: 41 kB / 0.5104 GB, free: 71.5 MB / 362.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004881/1.189, allocations: 3.98 MB / 0.5143 GB, free: 67.45 MB / 362.9 MB Notification: Performance of pre-optimization done (n=310): time 4.87e-06/1.189, allocations: 0 / 0.5143 GB, free: 67.45 MB / 362.9 MB Notification: Performance of matching and sorting (n=310): time 0.00981/1.199, allocations: 6.834 MB / 0.521 GB, free: 60.59 MB / 362.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/1.199, allocations: 327.3 kB / 0.5213 GB, free: 60.2 MB / 362.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/1.203, allocations: 2.612 MB / 0.5238 GB, free: 57.6 MB / 362.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0005673/1.204, allocations: 77.7 kB / 0.5239 GB, free: 57.52 MB / 362.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007319/1.204, allocations: 1.181 MB / 0.525 GB, free: 56.34 MB / 362.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008849/1.205, allocations: 1.103 MB / 0.5261 GB, free: 55.24 MB / 362.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/1.205, allocations: 61.41 kB / 0.5262 GB, free: 55.18 MB / 362.9 MB Notification: Performance of setup shared object (initialization): time 0.0001634/1.206, allocations: 435.8 kB / 0.5266 GB, free: 54.75 MB / 362.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0039/1.21, allocations: 3.128 MB / 0.5297 GB, free: 51.62 MB / 362.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00415/1.214, allocations: 3.395 MB / 0.533 GB, free: 48.2 MB / 362.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004343/1.218, allocations: 3.409 MB / 0.5363 GB, free: 44.77 MB / 362.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/1.218, allocations: 0 / 0.5363 GB, free: 44.77 MB / 362.9 MB Notification: Performance of matching and sorting (n=364) (initialization): time 0.01045/1.229, allocations: 7.256 MB / 0.5434 GB, free: 37.49 MB / 362.9 MB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/1.229, allocations: 10.34 kB / 0.5434 GB, free: 37.48 MB / 362.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/1.229, allocations: 0 / 0.5434 GB, free: 37.48 MB / 362.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.886e-05/1.229, allocations: 16 kB / 0.5434 GB, free: 37.46 MB / 362.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005375/1.234, allocations: 1.682 MB / 0.545 GB, free: 35.79 MB / 362.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.148e-05/1.234, allocations: 16 kB / 0.5451 GB, free: 35.78 MB / 362.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004924/1.239, allocations: 1.22 MB / 0.5463 GB, free: 34.56 MB / 362.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004129/1.24, allocations: 84 kB / 0.5463 GB, free: 34.48 MB / 362.9 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 (364): * Single equations (assignments): 364 * 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.0007574/1.24, allocations: 248.4 kB / 0.5466 GB, free: 34.23 MB / 362.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/1.242, allocations: 375.3 kB / 0.5469 GB, free: 33.86 MB / 362.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/1.245, allocations: 0.829 MB / 0.5477 GB, free: 33.02 MB / 362.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.834e-05/1.245, allocations: 35.98 kB / 0.5478 GB, free: 32.99 MB / 362.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-05/1.245, allocations: 4 kB / 0.5478 GB, free: 32.98 MB / 362.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.268e-05/1.245, allocations: 15.95 kB / 0.5478 GB, free: 32.97 MB / 362.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007543/1.252, allocations: 4.978 MB / 0.5527 GB, free: 28.04 MB / 362.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.252, allocations: 3.984 kB / 0.5527 GB, free: 28.03 MB / 362.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005765/1.258, allocations: 1.62 MB / 0.5542 GB, free: 26.41 MB / 362.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.312e-05/1.258, allocations: 17.59 kB / 0.5543 GB, free: 26.4 MB / 362.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004135/1.258, allocations: 79.95 kB / 0.5543 GB, free: 26.32 MB / 362.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.605e-05/1.259, allocations: 15.98 kB / 0.5543 GB, free: 26.31 MB / 362.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.259, allocations: 4 kB / 0.5544 GB, free: 26.3 MB / 362.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01569/1.274, allocations: 12.94 MB / 0.567 GB, free: 13.24 MB / 362.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/1.276, allocations: 455.7 kB / 0.5674 GB, free: 12.77 MB / 362.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006941/1.276, allocations: 75.92 kB / 0.5675 GB, free: 12.7 MB / 362.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00426/1.281, allocations: 1.079 MB / 0.5686 GB, free: 11.62 MB / 362.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000588/1.281, allocations: 193.7 kB / 0.5687 GB, free: 11.43 MB / 362.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002714/1.281, allocations: 83.98 kB / 0.5688 GB, free: 11.35 MB / 362.9 MB Notification: Performance of sorting global known variables: time 0.002672/1.284, allocations: 2.048 MB / 0.5708 GB, free: 9.316 MB / 362.9 MB Notification: Performance of sort global known variables: time 1.61e-07/1.284, allocations: 0 / 0.5708 GB, free: 9.316 MB / 362.9 MB Notification: Performance of remove unused functions: time 0.002186/1.286, allocations: 0.8787 MB / 0.5717 GB, free: 8.438 MB / 362.9 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.01781/1.304, allocations: 14.25 MB / 0.5856 GB, free: 10.09 MB / 378.9 MB Notification: Performance of simCode: created initialization part: time 0.01235/1.317, allocations: 7.061 MB / 0.5925 GB, free: 3 MB / 378.9 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.317, allocations: 0 / 0.5925 GB, free: 3 MB / 378.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0061/1.323, allocations: 3.624 MB / 0.596 GB, free: 15.37 MB / 394.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/1.326, allocations: 341.4 kB / 0.5964 GB, free: 15.05 MB / 394.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/1.345, allocations: 8.206 MB / 0.6044 GB, free: 6.773 MB / 394.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00229/1.348, allocations: 2.176 MB / 0.6065 GB, free: 4.559 MB / 394.9 MB Notification: Performance of simCode: alias equations: time 0.009141/1.357, allocations: 4.036 MB / 0.6104 GB, free: 0.5117 MB / 394.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004086/1.361, allocations: 1.402 MB / 0.6118 GB, free: 15.14 MB / 410.9 MB Notification: Performance of SimCode: time 2.033e-06/1.361, allocations: 4 kB / 0.6118 GB, free: 15.14 MB / 410.9 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3402/1.701, allocations: 77.31 MB / 0.6873 GB, free: 92.96 MB / 410.9 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/1.701, allocations: 122.3 kB / 0.6874 GB, free: 92.76 MB / 410.9 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.588/6.29, allocations: 0 / 0.6874 GB, free: 92.76 MB / 410.9 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)