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.001117/0.001117, 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.02281/0.02281, 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.651/1.651, allocations: 194.5 MB / 218.5 MB, free: 2.363 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.001763/0.001763, allocations: 124.6 kB / 265 MB, free: 3.727 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003736, allocations: 12 kB / 321.3 MB, free: 19.47 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1023, allocations: 45.75 MB / 367.1 MB, free: 5.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3399/0.4423, allocations: 72.72 MB / 439.8 MB, free: 5.383 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.4426, allocations: 60.55 kB / 439.9 MB, free: 5.355 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3227/0.7653, allocations: 34.16 MB / 474 MB, free: 5.742 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.7654, allocations: 0 / 474 MB, free: 5.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002671/0.7656, allocations: 60 kB / 474.1 MB, free: 5.684 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.02393/0.7896, allocations: 11.02 MB / 485.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.7897, allocations: 8.031 kB / 485.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001733/0.7914, allocations: 415 kB / 485.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003153/0.7946, allocations: 0.6823 MB / 486.2 MB, free: 9.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01141/0.806, allocations: 4.225 MB / 490.4 MB, free: 5.934 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.8062, allocations: 110.2 kB / 490.5 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006563/0.8068, allocations: 160.2 kB / 490.7 MB, free: 5.762 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008494/0.8153, allocations: 4.367 MB / 495.1 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.8154, allocations: 0 / 495.1 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002722/0.8157, allocations: 65.36 kB / 495.1 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.8157, allocations: 36 kB / 495.2 MB, free: 2.152 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02613/0.8419, allocations: 16.67 MB / 0.4998 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.022/0.8639, allocations: 10.68 MB / 0.5103 GB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00832/0.8723, allocations: 4.323 MB / 0.5145 GB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004787/0.8728, allocations: 42.28 kB / 0.5145 GB, free: 5.293 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008546/0.8814, allocations: 4.23 MB / 0.5186 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=310): time 5.129e-06/0.8814, allocations: 0 / 0.5186 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of matching and sorting (n=310): time 0.02182/0.9032, allocations: 10.58 MB / 0.529 GB, free: 6.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/0.9035, allocations: 325 kB / 0.5293 GB, free: 5.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005265/0.9087, allocations: 2.637 MB / 0.5319 GB, free: 3.332 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007326/0.9095, allocations: 81.7 kB / 0.5319 GB, free: 3.246 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.9109, allocations: 1.18 MB / 0.5331 GB, free: 2.059 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001682/0.9126, allocations: 1.105 MB / 0.5342 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006008/0.9132, allocations: 63.98 kB / 0.5342 GB, free: 0.875 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003266/0.9136, allocations: 435.8 kB / 0.5347 GB, free: 456 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00721/0.9208, allocations: 3.374 MB / 0.538 GB, free: 13.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007444/0.9283, allocations: 3.624 MB / 0.5415 GB, free: 9.402 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008226/0.9365, allocations: 3.628 MB / 0.545 GB, free: 5.758 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.246e-05/0.9366, allocations: 176 / 0.545 GB, free: 5.758 MB / 410.7 MB Notification: Performance of matching and sorting (n=364) (initialization): time 0.2339/1.171, allocations: 7.712 MB / 0.5526 GB, free: 133.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/1.171, allocations: 6.062 kB / 0.5526 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/1.171, allocations: 3.406 kB / 0.5526 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.788e-05/1.171, allocations: 14.41 kB / 0.5526 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007071/1.178, allocations: 1.678 MB / 0.5542 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.728e-05/1.178, allocations: 17.23 kB / 0.5542 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004976/1.183, allocations: 1.222 MB / 0.5554 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004966/1.183, allocations: 82.84 kB / 0.5555 GB, free: 133.4 MB / 410.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 () * Number of clocked 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.002079/1.185, allocations: 0.8193 MB / 0.5563 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007901/1.186, allocations: 374.8 kB / 0.5567 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/1.188, allocations: 0.8286 MB / 0.5575 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/1.188, allocations: 32.12 kB / 0.5575 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.246e-05/1.188, allocations: 0 / 0.5575 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.373e-05/1.188, allocations: 23.44 kB / 0.5575 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006719/1.195, allocations: 4.973 MB / 0.5624 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/1.195, allocations: 0 / 0.5624 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006846/1.202, allocations: 1.614 MB / 0.564 GB, free: 131.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.004e-05/1.202, allocations: 13.38 kB / 0.564 GB, free: 131.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005979/1.203, allocations: 80.59 kB / 0.5641 GB, free: 131.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-05/1.203, allocations: 17.75 kB / 0.5641 GB, free: 131.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.203, allocations: 4.234 kB / 0.5641 GB, free: 131.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02154/1.224, allocations: 13.64 MB / 0.5774 GB, free: 127 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.225, allocations: 456.5 kB / 0.5778 GB, free: 126.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/1.227, allocations: 71.47 kB / 0.5779 GB, free: 126.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004292/1.231, allocations: 1.076 MB / 0.579 GB, free: 126.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006251/1.232, allocations: 194.5 kB / 0.5791 GB, free: 126.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002678/1.232, allocations: 83.92 kB / 0.5792 GB, free: 126.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002681/1.235, allocations: 2.078 MB / 0.5812 GB, free: 125.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.11e-07/1.235, allocations: 1.281 kB / 0.5812 GB, free: 125.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002361/1.237, allocations: 0.8766 MB / 0.5821 GB, free: 125.8 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 () * Number of clocked 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.01968/1.257, allocations: 14.96 MB / 0.5967 GB, free: 114.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01297/1.27, allocations: 7.534 MB / 0.6041 GB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.27, allocations: 0 / 0.6041 GB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006879/1.277, allocations: 3.872 MB / 0.6079 GB, free: 102.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/1.279, allocations: 340.5 kB / 0.6082 GB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06048/1.34, allocations: 36.39 MB / 0.6437 GB, free: 64.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/1.342, allocations: 2.181 MB / 0.6458 GB, free: 61.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006674/1.348, allocations: 4.036 MB / 0.6498 GB, free: 57.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002306/1.351, allocations: 1.397 MB / 0.6512 GB, free: 56.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.273e-06/1.351, allocations: 0 / 0.6512 GB, free: 56.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2997/1.651, allocations: 78.41 MB / 0.7277 GB, free: 115.4 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001372/1.651, allocations: 152.6 kB / 0.7279 GB, free: 115.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.628/6.278, allocations: 0 / 0.7279 GB, free: 115.1 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)