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: translateModel(LibRAS.Culture.SSCulture_V,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="LibRAS_LibRAS.Culture.SSCulture_V") translateModel(LibRAS.Culture.SSCulture_V,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="LibRAS_LibRAS.Culture.SSCulture_V") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001646/0.001646, allocations: 185 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.03548/0.03548, allocations: 5.485 MB / 22.02 MB, free: 120 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.759/1.759, allocations: 194.5 MB / 218.5 MB, free: 1.398 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.002194/0.002195, allocations: 112.7 kB / 265 MB, free: 2.746 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005298/0.0005303, allocations: 19.98 kB / 321.2 MB, free: 19.44 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1046, allocations: 45.75 MB / 367 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3309/0.4356, allocations: 72.89 MB / 439.9 MB, free: 5.219 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001537/0.4358, allocations: 59.16 kB / 439.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08005/0.5159, allocations: 28.91 MB / 468.8 MB, free: 10.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.188e-06/0.5159, allocations: 0 / 468.8 MB, free: 10.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.004e-05/0.516, allocations: 31.94 kB / 468.9 MB, free: 10.25 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.01694/0.5329, allocations: 9.432 MB / 478.3 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.533, allocations: 8.031 kB / 478.3 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/0.5363, allocations: 493.5 kB / 478.8 MB, free: 376 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006381/0.5427, allocations: 2.278 MB / 481.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.5429, allocations: 102 kB / 481.2 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006066/0.5435, allocations: 153.5 kB / 481.3 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009196/0.5527, allocations: 4.747 MB / 486.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.5528, allocations: 4 kB / 486.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002869/0.5531, allocations: 65.36 kB / 486.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/0.5531, allocations: 39.94 kB / 486.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02526/0.5784, allocations: 16.51 MB / 0.4909 GB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02042/0.5989, allocations: 10.13 MB / 0.5008 GB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009634/0.6086, allocations: 4.69 MB / 0.5054 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003469/0.609, allocations: 50.16 kB / 0.5054 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008117/0.6171, allocations: 4.418 MB / 0.5097 GB, free: 9.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=321): time 6.963e-06/0.6172, allocations: 7.938 kB / 0.5097 GB, free: 9.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=321): time 0.02111/0.6383, allocations: 11.05 MB / 0.5205 GB, free: 14.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002369/0.6386, allocations: 448 kB / 0.521 GB, free: 14.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.6403, allocations: 0.8786 MB / 0.5218 GB, free: 13.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005825/0.6409, allocations: 81.7 kB / 0.5219 GB, free: 13.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.6412, allocations: 325 kB / 0.5222 GB, free: 13.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001376/0.6426, allocations: 1.101 MB / 0.5233 GB, free: 11.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004821/0.6431, allocations: 56 kB / 0.5233 GB, free: 11.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002869/0.6434, allocations: 440 kB / 0.5238 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007008/0.6504, allocations: 3.588 MB / 0.5273 GB, free: 7.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007428/0.6579, allocations: 3.91 MB / 0.5311 GB, free: 3.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007435/0.6653, allocations: 3.827 MB / 0.5348 GB, free: 28 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/0.6654, allocations: 4 kB / 0.5348 GB, free: 24 kB / 394.7 MB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01776/0.6832, allocations: 8.007 MB / 0.5426 GB, free: 7.977 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.6832, allocations: 10.19 kB / 0.5427 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.6833, allocations: 4 kB / 0.5427 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.618e-05/0.6833, allocations: 16 kB / 0.5427 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006715/0.6901, allocations: 1.833 MB / 0.5445 GB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.48e-05/0.6902, allocations: 16 kB / 0.5445 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005133/0.6953, allocations: 1.328 MB / 0.5458 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008956/0.6962, allocations: 107.9 kB / 0.5459 GB, free: 4.66 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 (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.002149/0.6984, allocations: 0.5477 MB / 0.5464 GB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/0.6996, allocations: 324.2 kB / 0.5467 GB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.7017, allocations: 0.629 MB / 0.5473 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/0.7018, allocations: 35.95 kB / 0.5474 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.751e-05/0.7018, allocations: 4 kB / 0.5474 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.383e-05/0.7019, allocations: 19.94 kB / 0.5474 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2276/0.9294, allocations: 4.35 MB / 0.5516 GB, free: 138.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/0.9295, allocations: 3.438 kB / 0.5516 GB, free: 138.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007561/0.9371, allocations: 1.743 MB / 0.5533 GB, free: 138.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/0.9373, allocations: 17.5 kB / 0.5534 GB, free: 138.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001319/0.9386, allocations: 98.77 kB / 0.5535 GB, free: 138.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.005e-05/0.9386, allocations: 16.61 kB / 0.5535 GB, free: 138.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/0.9387, allocations: 5.234 kB / 0.5535 GB, free: 138.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02789/0.9666, allocations: 14.14 MB / 0.5673 GB, free: 134.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006903/0.9673, allocations: 305.4 kB / 0.5676 GB, free: 134.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/0.9685, allocations: 80.28 kB / 0.5676 GB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004679/0.9732, allocations: 1.197 MB / 0.5688 GB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007555/0.974, allocations: 215 kB / 0.569 GB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002923/0.9743, allocations: 101.8 kB / 0.5691 GB, free: 134.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009297/0.9752, allocations: 0.7027 MB / 0.5698 GB, free: 134.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9752, allocations: 0 / 0.5698 GB, free: 134.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00227/0.9775, allocations: 0.8918 MB / 0.5707 GB, free: 134.2 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.0006099/0.9781, allocations: 296.6 kB / 0.571 GB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01294/0.9911, allocations: 7.984 MB / 0.5788 GB, free: 131.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.9911, allocations: 0 / 0.5788 GB, free: 131.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006724/0.9979, allocations: 4.08 MB / 0.5827 GB, free: 128.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.9999, allocations: 317.2 kB / 0.583 GB, free: 127.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009359/1.009, allocations: 6.346 MB / 0.5892 GB, free: 122.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008503/1.01, allocations: 1.485 MB / 0.5907 GB, free: 121.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006443/1.017, allocations: 3.649 MB / 0.5943 GB, free: 117.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002018/1.019, allocations: 182.7 kB / 0.5944 GB, free: 117.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.044e-06/1.019, allocations: 0 / 0.5944 GB, free: 117.6 MB / 410.7 MB Notification: Performance of Templates: time 0.05285/1.072, allocations: 40.8 MB / 0.6343 GB, free: 76.79 MB / 410.7 MB make -j1 -f LibRAS_LibRAS.Culture.SSCulture_V.makefile (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 & ./LibRAS_LibRAS.Culture.SSCulture_V -abortSlowSimulation -alarm=480 -lv LOG_STATS > LibRAS_LibRAS.Culture.SSCulture_V.pipe 2>&1)