Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine_Thompson2025_reference.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002494/0.002494, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002968/0.002968, allocations: 218.5 kB / 22.25 MB, free: 3.574 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.974/1.974, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 1.436/1.436, allocations: 316.8 MB / 0.6144 GB, free: 93.5 MB / 410.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine_Thompson2025_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=3024000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine_Thompson2025_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine_Thompson2025_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=3024000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine_Thompson2025_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003966/0.003966, allocations: 78 kB / 0.775 GB, free: 14.97 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1907, allocations: 73.99 MB / 0.8472 GB, free: 5.125 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine_Thompson2025_reference): time 0.004775/0.1954, allocations: 2.289 MB / 0.8495 GB, free: 2.84 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4648/0.6603, allocations: 6.522 MB / 0.8559 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000283/0.6606, allocations: 5.391 kB / 0.8559 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.6607, allocations: 23.86 kB / 0.8559 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.661, allocations: 85.2 kB / 0.856 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.6613, allocations: 53.72 kB / 0.856 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.6616, allocations: 257.8 kB / 0.8563 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.6617, allocations: 34.89 kB / 0.8563 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.6619, allocations: 99.27 kB / 0.8564 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.6621, allocations: 100.5 kB / 0.8565 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.6621, allocations: 18.31 kB / 0.8565 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.85e-05/0.6622, allocations: 14.62 kB / 0.8565 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.6622, allocations: 40.66 kB / 0.8566 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.6623, allocations: 97.39 kB / 0.8566 GB, free: 21.53 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.6626, allocations: 194.6 kB / 0.8568 GB, free: 21.5 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6626, allocations: 0 / 0.8568 GB, free: 21.5 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.415e-06/0.6626, allocations: 1.594 kB / 0.8568 GB, free: 21.5 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.6626, allocations: 1.469 kB / 0.8568 GB, free: 21.5 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008638/0.6634, allocations: 0.4898 MB / 0.8573 GB, free: 21.1 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.6635, allocations: 8.75 kB / 0.8573 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.6635, allocations: 24.95 kB / 0.8573 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.6638, allocations: 188.7 kB / 0.8575 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.6638, allocations: 10.8 kB / 0.8575 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.6638, allocations: 19.39 kB / 0.8576 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.6642, allocations: 190.3 kB / 0.8577 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.6642, allocations: 0.625 kB / 0.8577 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.6642, allocations: 8.219 kB / 0.8577 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.6643, allocations: 3 kB / 0.8577 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.6646, allocations: 148.2 kB / 0.8579 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007417/0.6653, allocations: 480.9 kB / 0.8583 GB, free: 20.52 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/0.6658, allocations: 179.1 kB / 0.8585 GB, free: 20.46 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.666, allocations: 92.81 kB / 0.8586 GB, free: 20.42 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.666, allocations: 3.312 kB / 0.8586 GB, free: 20.42 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003554/0.6664, allocations: 226.8 kB / 0.8588 GB, free: 20.27 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.6664, allocations: 0.5 kB / 0.8588 GB, free: 20.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001454/0.6678, allocations: 0.7043 MB / 0.8595 GB, free: 19.92 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.6679, allocations: 133.8 kB / 0.8596 GB, free: 19.76 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.6681, allocations: 220.2 kB / 0.8599 GB, free: 19.66 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.6681, allocations: 32.05 kB / 0.8599 GB, free: 19.62 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.6682, allocations: 133.7 kB / 0.86 GB, free: 19.53 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.6682, allocations: 73.42 kB / 0.8601 GB, free: 19.49 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-05/0.6683, allocations: 55.83 kB / 0.8601 GB, free: 19.47 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.195e-05/0.6684, allocations: 338.6 kB / 0.8605 GB, free: 19.15 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.6686, allocations: 146.9 kB / 0.8606 GB, free: 19.07 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.6688, allocations: 222.4 kB / 0.8608 GB, free: 18.91 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.6692, allocations: 277.2 kB / 0.8611 GB, free: 18.75 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6692, allocations: 6.469 kB / 0.8611 GB, free: 18.74 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000525/0.6697, allocations: 389.1 kB / 0.8614 GB, free: 18.56 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.6697, allocations: 62.84 kB / 0.8615 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6698, allocations: 7.562 kB / 0.8615 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.6698, allocations: 4.766 kB / 0.8615 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.67, allocations: 52.66 kB / 0.8616 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.67, allocations: 4.156 kB / 0.8616 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.6702, allocations: 16.92 kB / 0.8616 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.6702, allocations: 14.12 kB / 0.8616 GB, free: 18.49 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.6703, allocations: 175 kB / 0.8618 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.6704, allocations: 26.92 kB / 0.8618 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/0.6704, allocations: 28.77 kB / 0.8618 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6704, allocations: 4.438 kB / 0.8618 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6704, allocations: 0.9844 kB / 0.8618 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6704, allocations: 5.875 kB / 0.8618 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006928/0.6711, allocations: 0.533 MB / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.6711, allocations: 0 / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.6713, allocations: 40.14 kB / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6713, allocations: 2.625 kB / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.6714, allocations: 5.406 kB / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.6714, allocations: 11.59 kB / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6714, allocations: 1.797 kB / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006708/0.672, allocations: 0.4942 MB / 0.8629 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.6721, allocations: 17.39 kB / 0.8629 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.6721, allocations: 9.891 kB / 0.8629 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.6723, allocations: 18.23 kB / 0.8629 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.6724, allocations: 24.86 kB / 0.863 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.6724, allocations: 5.188 kB / 0.863 GB, free: 17.74 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001164/0.6725, allocations: 161.4 kB / 0.8631 GB, free: 17.66 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.6725, allocations: 3.938 kB / 0.8631 GB, free: 17.66 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002867/0.6728, allocations: 56.91 kB / 0.8632 GB, free: 17.66 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001296/0.6729, allocations: 116.5 kB / 0.8633 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005777/0.6735, allocations: 377 kB / 0.8637 GB, free: 17.34 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6735, allocations: 0.8438 kB / 0.8637 GB, free: 17.34 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.6737, allocations: 174.8 kB / 0.8638 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/0.6742, allocations: 64.33 kB / 0.8639 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.6756, allocations: 0.6842 MB / 0.8645 GB, free: 16.91 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.6757, allocations: 126.5 kB / 0.8647 GB, free: 16.84 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.6759, allocations: 25.25 kB / 0.8647 GB, free: 16.83 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.6759, allocations: 21.31 kB / 0.8647 GB, free: 16.82 MB / 490.8 MB Notification: Performance of SimCode: time 1.032e-06/0.6759, allocations: 0 / 0.8647 GB, free: 16.82 MB / 490.8 MB Notification: Performance of Templates: time 0.009133/0.685, allocations: 3.647 MB / 0.8683 GB, free: 16.5 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine_Thompson2025_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine_Thompson2025_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine_Thompson2025_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine_Thompson2025_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine_Thompson2025_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine_Thompson2025_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine_Thompson2025_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.553507413016632]