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: translateModel(LibRAS.Culture.SSCulture_V_noEvent,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="LibRAS_LibRAS.Culture.SSCulture_V_noEvent") translateModel(LibRAS.Culture.SSCulture_V_noEvent,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="LibRAS_LibRAS.Culture.SSCulture_V_noEvent") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00115/0.001151, allocations: 200.3 kB / 7.849 MB, free: 2.469 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.024/0.024, allocations: 5.421 MB / 13.69 MB, free: 2.305 MB / 10.45 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.2 MB / 209.6 MB, free: 1.906 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.001831/0.001831, allocations: 117.4 kB / 255.8 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.683e-06/6.723e-06, allocations: 0 / 307.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 45.75 MB / 353.3 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.292/0.3977, allocations: 71.89 MB / 425.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001533/0.3979, allocations: 59.53 kB / 425.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.3675/0.7654, allocations: 33.44 MB / 458.7 MB, free: 15.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002663/0.7658, allocations: 56 kB / 458.8 MB, free: 15.62 MB / 346.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.01887/0.7846, allocations: 9.428 MB / 468.2 MB, free: 6.137 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.7847, allocations: 15.97 kB / 468.2 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004284/0.789, allocations: 0.6435 MB / 468.8 MB, free: 5.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.8012, allocations: 4.234 MB / 473.1 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.8013, allocations: 40 kB / 473.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/0.8026, allocations: 99.8 kB / 473.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02745/0.8301, allocations: 15.7 MB / 488.9 MB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006648/0.8368, allocations: 3.95 MB / 492.9 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.8369, allocations: 4 kB / 492.9 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002847/0.8371, allocations: 0 / 492.9 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/0.8372, allocations: 32 kB / 492.9 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02025/0.8574, allocations: 10.32 MB / 0.4914 GB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006497/0.864, allocations: 4.091 MB / 0.4954 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006027/0.8701, allocations: 4.059 MB / 0.4994 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004226/0.8705, allocations: 46.28 kB / 0.4994 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006182/0.8767, allocations: 3.992 MB / 0.5033 GB, free: 6.477 MB / 394.7 MB Notification: Performance of pre-optimization done (n=310): time 7.294e-06/0.8767, allocations: 4 kB / 0.5033 GB, free: 6.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=310): time 0.2325/1.109, allocations: 6.896 MB / 0.5101 GB, free: 103.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.109, allocations: 323.8 kB / 0.5104 GB, free: 103 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003538/1.113, allocations: 2.44 MB / 0.5128 GB, free: 102.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001186/1.114, allocations: 29.61 kB / 0.5128 GB, free: 102.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/1.114, allocations: 449.8 kB / 0.5132 GB, free: 102.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001247/1.116, allocations: 1.061 MB / 0.5143 GB, free: 102.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002962/1.116, allocations: 7.188 kB / 0.5143 GB, free: 102.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/1.116, allocations: 433.7 kB / 0.5147 GB, free: 102 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004121/1.12, allocations: 3.152 MB / 0.5178 GB, free: 101.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005399/1.126, allocations: 3.383 MB / 0.5211 GB, free: 101.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00758/1.133, allocations: 3.434 MB / 0.5244 GB, free: 101.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.895e-05/1.133, allocations: 1.469 kB / 0.5244 GB, free: 101.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01706/1.15, allocations: 7.251 MB / 0.5315 GB, free: 100.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/1.151, allocations: 4.156 kB / 0.5315 GB, free: 100.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.822e-05/1.151, allocations: 3.438 kB / 0.5315 GB, free: 100.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001119/1.151, allocations: 15.69 kB / 0.5315 GB, free: 100.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00942/1.16, allocations: 1.581 MB / 0.5331 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001262/1.16, allocations: 14.27 kB / 0.5331 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006467/1.167, allocations: 1.07 MB / 0.5341 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001836/1.169, allocations: 84.23 kB / 0.5342 GB, free: 100.7 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (355): * Single equations (assignments): 355 * 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.002691/1.171, allocations: 146 kB / 0.5343 GB, free: 100.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00208/1.174, allocations: 371.8 kB / 0.5347 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002852/1.176, allocations: 0.8005 MB / 0.5355 GB, free: 100.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.924e-05/1.177, allocations: 31.56 kB / 0.5355 GB, free: 100.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.508e-05/1.177, allocations: 3.938 kB / 0.5355 GB, free: 100.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-05/1.177, allocations: 17.97 kB / 0.5355 GB, free: 100.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/1.189, allocations: 4.82 MB / 0.5402 GB, free: 99.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.095e-05/1.189, allocations: 7.562 kB / 0.5402 GB, free: 99.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007476/1.197, allocations: 1.541 MB / 0.5417 GB, free: 99.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-05/1.197, allocations: 13.59 kB / 0.5418 GB, free: 99.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001507/1.198, allocations: 37.5 kB / 0.5418 GB, free: 99.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.67e-05/1.199, allocations: 12.55 kB / 0.5418 GB, free: 99.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/1.199, allocations: 3.344 kB / 0.5418 GB, free: 99.16 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02419/1.223, allocations: 13.19 MB / 0.5547 GB, free: 92.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.224, allocations: 443 kB / 0.5551 GB, free: 91.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001978/1.226, allocations: 28.02 kB / 0.5551 GB, free: 91.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005238/1.231, allocations: 0.9389 MB / 0.556 GB, free: 91.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001347/1.233, allocations: 169.6 kB / 0.5562 GB, free: 91.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000993/1.234, allocations: 88.16 kB / 0.5563 GB, free: 91.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.004284/1.238, allocations: 1.891 MB / 0.5581 GB, free: 89.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004255/1.242, allocations: 0.7608 MB / 0.5589 GB, free: 88.67 MB / 394.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 () * 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.001316/1.244, allocations: 232.5 kB / 0.5591 GB, free: 88.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01254/1.256, allocations: 7.098 MB / 0.566 GB, free: 82.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/1.256, allocations: 0 / 0.566 GB, free: 82.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007162/1.263, allocations: 3.687 MB / 0.5696 GB, free: 78.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003764/1.267, allocations: 275.5 kB / 0.5699 GB, free: 78.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02322/1.29, allocations: 7.127 MB / 0.5769 GB, free: 71.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009572/1.3, allocations: 2.41 MB / 0.5792 GB, free: 68.87 MB / 394.7 MB Notification: Performance of SimCode: time 3.046e-06/1.3, allocations: 0 / 0.5792 GB, free: 68.87 MB / 394.7 MB Notification: Performance of Templates: time 0.1016/1.402, allocations: 57.99 MB / 0.6358 GB, free: 11.34 MB / 394.7 MB make -j1 -f LibRAS_LibRAS.Culture.SSCulture_V_noEvent.makefile (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 & ./LibRAS_LibRAS.Culture.SSCulture_V_noEvent -abortSlowSimulation -alarm=480 -lv LOG_STATS > LibRAS_LibRAS.Culture.SSCulture_V_noEvent.pipe 2>&1)