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") [: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.001166/0.001166, allocations: 192.8 kB / 7.843 MB, free: 2.473 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.02598/0.02598, allocations: 5.421 MB / 13.69 MB, free: 2.32 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.636/1.636, allocations: 194.2 MB / 209.6 MB, free: 1.91 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.001766/0.001766, allocations: 108.1 kB / 255.8 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.126e-06, allocations: 3.938 kB / 307.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.11, allocations: 45.73 MB / 353.3 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2937/0.4038, allocations: 72.06 MB / 425.4 MB, free: 14.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.404, allocations: 58.59 kB / 425.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.08107/0.4851, allocations: 28.21 MB / 453.6 MB, free: 4.867 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.112e-05/0.4852, allocations: 28 kB / 453.7 MB, free: 4.84 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.01554/0.5008, allocations: 8.621 MB / 462.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.5008, allocations: 11.97 kB / 462.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003399/0.5043, allocations: 461.6 kB / 462.8 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00602/0.5103, allocations: 2.298 MB / 465 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-05/0.5104, allocations: 44 kB / 465.1 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005607/0.511, allocations: 106.3 kB / 465.2 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02219/0.5332, allocations: 15.72 MB / 480.9 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007178/0.5404, allocations: 4.237 MB / 485.1 MB, free: 5.152 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.5404, allocations: 7.938 kB / 485.2 MB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003135/0.5408, allocations: 3.984 kB / 485.2 MB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/0.5408, allocations: 35.91 kB / 485.2 MB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01649/0.5573, allocations: 9.887 MB / 495.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005712/0.5631, allocations: 4.163 MB / 499.2 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00542/0.5685, allocations: 4.097 MB / 0.4915 GB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/0.5688, allocations: 50.23 kB / 0.4916 GB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005434/0.5743, allocations: 3.991 MB / 0.4955 GB, free: 14.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=321): time 7.213e-06/0.5743, allocations: 0 / 0.4955 GB, free: 14.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=321): time 0.01063/0.5849, allocations: 6.765 MB / 0.5021 GB, free: 7.742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002187/0.5852, allocations: 438.3 kB / 0.5025 GB, free: 7.223 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.5867, allocations: 0.8475 MB / 0.5033 GB, free: 6.367 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005535/0.5872, allocations: 33.7 kB / 0.5034 GB, free: 6.328 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.5874, allocations: 181 kB / 0.5035 GB, free: 6.145 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001511/0.5889, allocations: 1.059 MB / 0.5046 GB, free: 5.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/0.5892, allocations: 3.984 kB / 0.5046 GB, free: 5.066 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003391/0.5896, allocations: 444 kB / 0.505 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004886/0.5945, allocations: 3.206 MB / 0.5081 GB, free: 1.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1564/0.7509, allocations: 3.495 MB / 0.5116 GB, free: 168.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005342/0.7563, allocations: 3.491 MB / 0.515 GB, free: 168.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/0.7563, allocations: 2.719 kB / 0.515 GB, free: 168.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01422/0.7706, allocations: 7.221 MB / 0.522 GB, free: 168 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.7706, allocations: 4.875 kB / 0.522 GB, free: 168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.7707, allocations: 12.05 kB / 0.522 GB, free: 168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.873e-05/0.7707, allocations: 17.62 kB / 0.522 GB, free: 168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006896/0.7776, allocations: 1.75 MB / 0.5238 GB, free: 167.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.062e-05/0.7777, allocations: 23.28 kB / 0.5238 GB, free: 167.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00536/0.7831, allocations: 1.188 MB / 0.5249 GB, free: 167.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/0.7842, allocations: 104.9 kB / 0.525 GB, free: 167.9 MB / 394.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.0008692/0.7851, allocations: 159.7 kB / 0.5252 GB, free: 167.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008585/0.786, allocations: 317.6 kB / 0.5255 GB, free: 167.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.7873, allocations: 0.5854 MB / 0.5261 GB, free: 167.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-05/0.7873, allocations: 32.81 kB / 0.5261 GB, free: 167.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.819e-05/0.7873, allocations: 3.562 kB / 0.5261 GB, free: 167.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.199e-05/0.7874, allocations: 19.12 kB / 0.5261 GB, free: 167.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006769/0.7941, allocations: 4.224 MB / 0.5302 GB, free: 165.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.7942, allocations: 3.938 kB / 0.5302 GB, free: 165.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006957/0.8012, allocations: 1.669 MB / 0.5319 GB, free: 165.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.368e-05/0.8013, allocations: 16 kB / 0.5319 GB, free: 165.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001068/0.8024, allocations: 56.62 kB / 0.5319 GB, free: 165.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-05/0.8024, allocations: 14.56 kB / 0.532 GB, free: 165.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.453e-06/0.8024, allocations: 8.875 kB / 0.532 GB, free: 165.4 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01813/0.8206, allocations: 13.06 MB / 0.5447 GB, free: 154.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007257/0.8214, allocations: 309.1 kB / 0.545 GB, free: 154.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001469/0.8229, allocations: 36.66 kB / 0.5451 GB, free: 154.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005114/0.828, allocations: 1.062 MB / 0.5461 GB, free: 153.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009943/0.829, allocations: 197.1 kB / 0.5463 GB, free: 153.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006661/0.8297, allocations: 103.7 kB / 0.5464 GB, free: 153.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00102/0.8308, allocations: 0.6703 MB / 0.547 GB, free: 153.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002961/0.8337, allocations: 0.7744 MB / 0.5478 GB, free: 152.3 MB / 394.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.001101/0.8349, allocations: 249.3 kB / 0.548 GB, free: 152.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01103/0.8459, allocations: 7.193 MB / 0.555 GB, free: 145.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.846, allocations: 0 / 0.555 GB, free: 145.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004687/0.8506, allocations: 3.7 MB / 0.5587 GB, free: 141.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.8532, allocations: 249.7 kB / 0.5589 GB, free: 141.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009559/0.8628, allocations: 5.154 MB / 0.5639 GB, free: 136.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003179/0.866, allocations: 1.715 MB / 0.5656 GB, free: 134.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.8661, allocations: 3.531 kB / 0.5656 GB, free: 134.4 MB / 394.7 MB Notification: Performance of Templates: time 0.07267/0.9387, allocations: 56.1 MB / 0.6204 GB, free: 78.59 MB / 394.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)