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.001139/0.001138, allocations: 185 kB / 8.051 MB, free: 1.008 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.03056/0.03056, allocations: 5.424 MB / 13.89 MB, free: 84 kB / 7.832 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.884/1.884, allocations: 194.3 MB / 209.9 MB, free: 4.828 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.001661/0.001661, allocations: 116.6 kB / 256.2 MB, free: 6.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.721e-05, allocations: 8 kB / 308.1 MB, free: 28.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09777, allocations: 45.75 MB / 353.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3331/0.431, allocations: 72.3 MB / 426.2 MB, free: 3.406 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001678/0.4312, allocations: 59.09 kB / 426.2 MB, free: 3.379 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0858/0.517, allocations: 28.56 MB / 454.8 MB, free: 9.672 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5171, allocations: 0 / 454.8 MB, free: 9.672 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.101e-05/0.5172, allocations: 28 kB / 454.8 MB, free: 9.645 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.01708/0.5342, allocations: 9.059 MB / 463.9 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.5343, allocations: 8.031 kB / 463.9 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/0.5374, allocations: 489.5 kB / 464.4 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005653/0.543, allocations: 2.269 MB / 466.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.5432, allocations: 48 kB / 466.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000896/0.5441, allocations: 107.5 kB / 466.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02486/0.5689, allocations: 16.07 MB / 482.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007667/0.5767, allocations: 4.132 MB / 487 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/0.5767, allocations: 11.95 kB / 487 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003792/0.5771, allocations: 0 / 487 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/0.5772, allocations: 32 kB / 487 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01751/0.5947, allocations: 9.892 MB / 496.9 MB, free: 2.895 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006679/0.6014, allocations: 4.048 MB / 0.4892 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00637/0.6079, allocations: 3.996 MB / 0.4931 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003593/0.6082, allocations: 62.14 kB / 0.4932 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005847/0.6141, allocations: 3.898 MB / 0.497 GB, free: 7.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=321): time 8.997e-06/0.6141, allocations: 0 / 0.497 GB, free: 7.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=321): time 0.01094/0.6251, allocations: 6.554 MB / 0.5034 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002499/0.6254, allocations: 435.8 kB / 0.5038 GB, free: 36 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.627, allocations: 0.8362 MB / 0.5046 GB, free: 15.19 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003496/0.6274, allocations: 29.69 kB / 0.5047 GB, free: 15.15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.6277, allocations: 317 kB / 0.505 GB, free: 14.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001164/0.6289, allocations: 1.066 MB / 0.506 GB, free: 13.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003376/0.6292, allocations: 0 / 0.506 GB, free: 13.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002827/0.6295, allocations: 444 kB / 0.5064 GB, free: 13.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004707/0.6342, allocations: 3.106 MB / 0.5095 GB, free: 10.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004982/0.6392, allocations: 3.397 MB / 0.5128 GB, free: 6.742 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005133/0.6444, allocations: 3.382 MB / 0.5161 GB, free: 3.344 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/0.6444, allocations: 4 kB / 0.5161 GB, free: 3.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01153/0.6559, allocations: 6.949 MB / 0.5229 GB, free: 12.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.656, allocations: 4 kB / 0.5229 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.6561, allocations: 7.984 kB / 0.5229 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.78e-05/0.6561, allocations: 20 kB / 0.5229 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006393/0.6625, allocations: 1.822 MB / 0.5247 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.886e-05/0.6626, allocations: 23.94 kB / 0.5247 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004799/0.6674, allocations: 1.281 MB / 0.526 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006467/0.6681, allocations: 95.97 kB / 0.526 GB, free: 9.094 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 () * 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.001278/0.6694, allocations: 160.1 kB / 0.5262 GB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001285/0.6707, allocations: 315.5 kB / 0.5265 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.6729, allocations: 0.59 MB / 0.5271 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.021e-05/0.673, allocations: 32 kB / 0.5271 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-05/0.673, allocations: 4 kB / 0.5271 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.28e-05/0.673, allocations: 19.94 kB / 0.5271 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007045/0.6801, allocations: 4.125 MB / 0.5312 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.6801, allocations: 7.984 kB / 0.5312 GB, free: 3.773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006671/0.6868, allocations: 1.748 MB / 0.5329 GB, free: 2.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-05/0.6869, allocations: 16 kB / 0.5329 GB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007049/0.6876, allocations: 55.91 kB / 0.5329 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.651e-05/0.6877, allocations: 15.94 kB / 0.533 GB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.6877, allocations: 4 kB / 0.533 GB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2491/0.9367, allocations: 12.67 MB / 0.5453 GB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006238/0.9374, allocations: 297.8 kB / 0.5456 GB, free: 140 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00062/0.9381, allocations: 30.59 kB / 0.5456 GB, free: 140 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004592/0.9427, allocations: 1.153 MB / 0.5468 GB, free: 140 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004639/0.9431, allocations: 212.5 kB / 0.547 GB, free: 140 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002457/0.9434, allocations: 105.5 kB / 0.5471 GB, free: 139.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007588/0.9442, allocations: 0.6579 MB / 0.5477 GB, free: 139.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9442, allocations: 3.781 kB / 0.5477 GB, free: 139.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001962/0.9461, allocations: 0.7737 MB / 0.5485 GB, free: 139.7 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 () * 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.0005506/0.9467, allocations: 240.7 kB / 0.5487 GB, free: 139.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008358/0.9551, allocations: 6.987 MB / 0.5555 GB, free: 137.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.9551, allocations: 3.031 kB / 0.5555 GB, free: 137.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0042/0.9593, allocations: 3.599 MB / 0.559 GB, free: 136.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.961, allocations: 250.5 kB / 0.5593 GB, free: 136.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00658/0.9676, allocations: 5.026 MB / 0.5642 GB, free: 133.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007884/0.9684, allocations: 1.482 MB / 0.5656 GB, free: 132.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004982/0.9734, allocations: 3.649 MB / 0.5692 GB, free: 129.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/0.9748, allocations: 183.7 kB / 0.5694 GB, free: 129.3 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.9748, allocations: 0 / 0.5694 GB, free: 129.3 MB / 410.7 MB Notification: Performance of Templates: time 0.04483/1.02, allocations: 36.71 MB / 0.6052 GB, free: 94.42 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)