Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol_Snchez2023_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.0008684/0.0008684, allocations: 104.3 kB / 19.71 MB, free: 440 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.0008915/0.0008915, allocations: 221.8 kB / 23.01 MB, free: 2.938 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 0.9917/0.9917, allocations: 230.6 MB / 256.8 MB, free: 9.652 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.7674/0.7674, allocations: 312.3 MB / 0.6108 GB, free: 97.61 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.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol_Snchez2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol_Snchez2023_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol_Snchez2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol_Snchez2023_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.00188/0.00188, allocations: 78.28 kB / 0.7699 GB, free: 20.26 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1391, allocations: 73.99 MB / 0.8421 GB, free: 10.39 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol_Snchez2023_reference): time 0.003137/0.1423, allocations: 2.301 MB / 0.8444 GB, free: 8.094 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006498/0.1488, allocations: 6.533 MB / 0.8507 GB, free: 1.559 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.149, allocations: 4 kB / 0.8507 GB, free: 1.555 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.1492, allocations: 28.39 kB / 0.8508 GB, free: 1.527 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.1494, allocations: 76.12 kB / 0.8508 GB, free: 1.453 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.1496, allocations: 52.5 kB / 0.8509 GB, free: 1.402 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.1499, allocations: 259.5 kB / 0.8511 GB, free: 1.148 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.1501, allocations: 32.58 kB / 0.8512 GB, free: 1.117 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.1502, allocations: 96.19 kB / 0.8513 GB, free: 1.023 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.1504, allocations: 100.2 kB / 0.8514 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.1504, allocations: 16 kB / 0.8514 GB, free: 0.9102 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.813e-05/0.1505, allocations: 20.62 kB / 0.8514 GB, free: 0.8906 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.654e-05/0.1505, allocations: 36.41 kB / 0.8514 GB, free: 0.8555 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.409e-05/0.1506, allocations: 91.58 kB / 0.8515 GB, free: 0.7656 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.1508, allocations: 195.8 kB / 0.8517 GB, free: 0.5742 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1508, allocations: 0.5 kB / 0.8517 GB, free: 0.5742 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1508, allocations: 0 / 0.8517 GB, free: 0.5742 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1508, allocations: 0.625 kB / 0.8517 GB, free: 0.5742 MB / 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.000749/0.1516, allocations: 0.4969 MB / 0.8522 GB, free: 36 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1516, allocations: 8.031 kB / 0.8522 GB, free: 28 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/0.1517, allocations: 25.42 kB / 0.8522 GB, free: 4 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1519, allocations: 187.1 kB / 0.8524 GB, free: 15.79 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1519, allocations: 9.109 kB / 0.8524 GB, free: 15.79 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.152, allocations: 28.38 kB / 0.8524 GB, free: 15.76 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.1522, allocations: 186.9 kB / 0.8526 GB, free: 15.56 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1523, allocations: 0.5625 kB / 0.8526 GB, free: 15.56 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.1523, allocations: 11.94 kB / 0.8526 GB, free: 15.55 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1523, allocations: 5.062 kB / 0.8526 GB, free: 15.54 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.1525, allocations: 150.8 kB / 0.8528 GB, free: 15.39 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006427/0.1531, allocations: 482.7 kB / 0.8532 GB, free: 14.89 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.1535, allocations: 173.3 kB / 0.8534 GB, free: 14.7 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.1536, allocations: 99.05 kB / 0.8535 GB, free: 14.6 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.1536, allocations: 4.656 kB / 0.8535 GB, free: 14.59 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.1539, allocations: 221.2 kB / 0.8537 GB, free: 14.35 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 3.055e-06/0.1539, allocations: 0.5 kB / 0.8537 GB, free: 14.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001063/0.155, allocations: 0.7037 MB / 0.8544 GB, free: 13.59 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.155, allocations: 140.5 kB / 0.8545 GB, free: 13.42 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.1552, allocations: 220.7 kB / 0.8547 GB, free: 13.2 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1552, allocations: 29.7 kB / 0.8548 GB, free: 13.16 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.1553, allocations: 137.1 kB / 0.8549 GB, free: 13.02 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.1553, allocations: 64.03 kB / 0.855 GB, free: 12.96 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.1554, allocations: 61.66 kB / 0.855 GB, free: 12.89 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.1555, allocations: 335.2 kB / 0.8553 GB, free: 12.56 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.1557, allocations: 145.7 kB / 0.8555 GB, free: 12.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.1558, allocations: 228.4 kB / 0.8557 GB, free: 12.13 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2962/0.452, allocations: 276.6 kB / 0.856 GB, free: 30.36 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.452, allocations: 2.406 kB / 0.856 GB, free: 30.36 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004611/0.4525, allocations: 391.2 kB / 0.8563 GB, free: 30.2 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.779e-05/0.4525, allocations: 67.48 kB / 0.8564 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4525, allocations: 2.25 kB / 0.8564 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.4526, allocations: 9.797 kB / 0.8564 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.4527, allocations: 48.45 kB / 0.8565 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.058e-06/0.4527, allocations: 5.656 kB / 0.8565 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.4529, allocations: 15.94 kB / 0.8565 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.4529, allocations: 14.28 kB / 0.8565 GB, free: 30.14 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.0001913/0.4531, allocations: 176 kB / 0.8567 GB, free: 30 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.4531, allocations: 25.39 kB / 0.8567 GB, free: 30 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.4531, allocations: 23.62 kB / 0.8567 GB, free: 29.99 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4531, allocations: 2.906 kB / 0.8567 GB, free: 29.99 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4532, allocations: 0 / 0.8567 GB, free: 29.99 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4532, allocations: 1.406 kB / 0.8567 GB, free: 29.99 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006086/0.4538, allocations: 0.5469 MB / 0.8573 GB, free: 29.69 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4538, allocations: 2 kB / 0.8573 GB, free: 29.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.4539, allocations: 30.91 kB / 0.8573 GB, free: 29.69 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4539, allocations: 0 / 0.8573 GB, free: 29.69 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.4539, allocations: 7.812 kB / 0.8573 GB, free: 29.69 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4539, allocations: 4.453 kB / 0.8573 GB, free: 29.69 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4539, allocations: 3.312 kB / 0.8573 GB, free: 29.69 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.4544, allocations: 0.4944 MB / 0.8578 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.4544, allocations: 19.11 kB / 0.8578 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.4544, allocations: 9.016 kB / 0.8578 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.4545, allocations: 12.27 kB / 0.8578 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.4546, allocations: 21.5 kB / 0.8578 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.4546, allocations: 18.16 kB / 0.8579 GB, free: 29.46 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.688e-05/0.4547, allocations: 153.5 kB / 0.858 GB, free: 29.39 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4547, allocations: 2.516 kB / 0.858 GB, free: 29.39 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002068/0.4549, allocations: 56.97 kB / 0.8581 GB, free: 29.39 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.0001055/0.455, allocations: 114.1 kB / 0.8582 GB, free: 29.3 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.4554, allocations: 379.3 kB / 0.8585 GB, free: 29.07 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4554, allocations: 1.281 kB / 0.8585 GB, free: 29.07 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.4555, allocations: 174 kB / 0.8587 GB, free: 28.98 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.4559, allocations: 62.5 kB / 0.8588 GB, free: 28.97 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.4569, allocations: 0.6973 MB / 0.8594 GB, free: 28.67 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.457, allocations: 128.9 kB / 0.8596 GB, free: 28.59 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.4571, allocations: 26.95 kB / 0.8596 GB, free: 28.58 MB / 490.8 MB Notification: Performance of SimCode: time 8.52e-07/0.4571, allocations: 0.625 kB / 0.8596 GB, free: 28.58 MB / 490.8 MB Notification: Performance of Templates: time 0.004806/0.4619, allocations: 2.939 MB / 0.8625 GB, free: 28.37 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol_Snchez2023_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol_Snchez2023_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol_Snchez2023_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol_Snchez2023_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol_Snchez2023_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol_Snchez2023_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol_Snchez2023_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.300474084913731]