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.0008274/0.0008274, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.001108/0.001108, allocations: 215.5 kB / 23.01 MB, free: 2.934 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.024/1.024, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] 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 0.811/0.811, allocations: 312.3 MB / 0.6108 GB, free: 97.5 MB / 410.7 MB " [Timeout remaining time 179] 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.001862/0.001862, allocations: 77.08 kB / 0.7698 GB, free: 20.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1336, allocations: 73.99 MB / 0.8421 GB, free: 10.28 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine_Thompson2025_reference): time 0.002898/0.1365, allocations: 2.294 MB / 0.8443 GB, free: 7.984 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005698/0.1422, allocations: 6.533 MB / 0.8507 GB, free: 1.449 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1424, allocations: 4 kB / 0.8507 GB, free: 1.445 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.1425, allocations: 24.31 kB / 0.8508 GB, free: 1.422 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.1427, allocations: 76.8 kB / 0.8508 GB, free: 1.348 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.1429, allocations: 60.48 kB / 0.8509 GB, free: 1.289 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.1432, allocations: 250.7 kB / 0.8511 GB, free: 1.043 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.1433, allocations: 41.17 kB / 0.8512 GB, free: 1.004 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1435, allocations: 95.66 kB / 0.8513 GB, free: 0.9102 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.1437, allocations: 100.1 kB / 0.8513 GB, free: 0.8125 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.1437, allocations: 16.62 kB / 0.8514 GB, free: 0.7969 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.746e-05/0.1437, allocations: 16 kB / 0.8514 GB, free: 0.7812 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.1438, allocations: 36.58 kB / 0.8514 GB, free: 0.7461 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.1438, allocations: 88.22 kB / 0.8515 GB, free: 0.6602 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.1441, allocations: 203.1 kB / 0.8517 GB, free: 472 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1441, allocations: 0.6562 kB / 0.8517 GB, free: 472 kB / 474.8 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1441, allocations: 0 / 0.8517 GB, free: 472 kB / 474.8 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1441, allocations: 0.625 kB / 0.8517 GB, free: 472 kB / 474.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.0007883/0.1449, allocations: 0.4942 MB / 0.8522 GB, free: 15.92 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1449, allocations: 12.59 kB / 0.8522 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.1449, allocations: 25.33 kB / 0.8522 GB, free: 15.89 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.1452, allocations: 183.7 kB / 0.8524 GB, free: 15.68 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1452, allocations: 8.609 kB / 0.8524 GB, free: 15.67 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.1452, allocations: 24.48 kB / 0.8524 GB, free: 15.65 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.1455, allocations: 187 kB / 0.8526 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1455, allocations: 0.625 kB / 0.8526 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.1455, allocations: 11.94 kB / 0.8526 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1455, allocations: 0.5938 kB / 0.8526 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.1457, allocations: 154.8 kB / 0.8528 GB, free: 15.28 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006607/0.1464, allocations: 479.3 kB / 0.8532 GB, free: 14.78 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.1468, allocations: 172.8 kB / 0.8534 GB, free: 14.6 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.1469, allocations: 99.08 kB / 0.8535 GB, free: 14.49 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.147, allocations: 0.625 kB / 0.8535 GB, free: 14.49 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000308/0.1473, allocations: 229.8 kB / 0.8537 GB, free: 14.24 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.755e-06/0.1473, allocations: 0 / 0.8537 GB, free: 14.24 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001174/0.1484, allocations: 0.6972 MB / 0.8544 GB, free: 13.48 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.1485, allocations: 133.2 kB / 0.8545 GB, free: 13.32 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.1487, allocations: 222.9 kB / 0.8547 GB, free: 13.09 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1487, allocations: 30.33 kB / 0.8547 GB, free: 13.06 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.1488, allocations: 132.5 kB / 0.8549 GB, free: 12.93 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/0.1489, allocations: 76.19 kB / 0.8549 GB, free: 12.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/0.1489, allocations: 57.66 kB / 0.855 GB, free: 12.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1491, allocations: 335.4 kB / 0.8553 GB, free: 12.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.1492, allocations: 145.5 kB / 0.8555 GB, free: 12.29 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.1494, allocations: 221.9 kB / 0.8557 GB, free: 12.03 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2915/0.4409, allocations: 278.3 kB / 0.8559 GB, free: 30.26 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4409, allocations: 4.406 kB / 0.8559 GB, free: 30.26 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004128/0.4413, allocations: 387.8 kB / 0.8563 GB, free: 30.1 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.4414, allocations: 68.69 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4414, allocations: 1.875 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.4414, allocations: 6.766 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4415, allocations: 49.03 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.4415, allocations: 5.422 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.4416, allocations: 20.94 kB / 0.8565 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.4417, allocations: 11.88 kB / 0.8565 GB, free: 30.04 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.0001605/0.4418, allocations: 173.7 kB / 0.8566 GB, free: 29.89 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.4418, allocations: 22.73 kB / 0.8566 GB, free: 29.89 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.4419, allocations: 24.66 kB / 0.8567 GB, free: 29.88 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.4419, allocations: 6.938 kB / 0.8567 GB, free: 29.88 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4419, allocations: 0 / 0.8567 GB, free: 29.88 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4419, allocations: 5.203 kB / 0.8567 GB, free: 29.88 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.4424, allocations: 0.5435 MB / 0.8572 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4424, allocations: 0 / 0.8572 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.4425, allocations: 36.7 kB / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4425, allocations: 3 kB / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.4425, allocations: 3.297 kB / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4425, allocations: 5.125 kB / 0.8573 GB, free: 29.58 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4425, allocations: 3.625 kB / 0.8573 GB, free: 29.58 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.4429, allocations: 498.9 kB / 0.8577 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.4429, allocations: 18.81 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.4429, allocations: 13.78 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.443, allocations: 21.05 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.4431, allocations: 20.38 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.4431, allocations: 9.391 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.163e-05/0.4432, allocations: 157.3 kB / 0.858 GB, free: 29.28 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4432, allocations: 2.516 kB / 0.858 GB, free: 29.28 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001889/0.4434, allocations: 55.31 kB / 0.858 GB, free: 29.28 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 8.295e-05/0.4435, allocations: 125.7 kB / 0.8581 GB, free: 29.19 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.4438, allocations: 377.8 kB / 0.8585 GB, free: 28.97 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4438, allocations: 1.344 kB / 0.8585 GB, free: 28.97 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.4439, allocations: 165.5 kB / 0.8587 GB, free: 28.88 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.4442, allocations: 69.17 kB / 0.8587 GB, free: 28.88 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008236/0.445, allocations: 0.7023 MB / 0.8594 GB, free: 28.57 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.236e-05/0.4451, allocations: 129 kB / 0.8595 GB, free: 28.49 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.4451, allocations: 24.09 kB / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of SimCode: time 5.01e-07/0.4451, allocations: 0.5 kB / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of Templates: time 0.003879/0.449, allocations: 2.944 MB / 0.8624 GB, free: 28.26 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine_Thompson2025_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.580449658446014]