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.002356/0.002356, 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.002781/0.002781, allocations: 218.4 kB / 22.25 MB, free: 3.582 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.808/1.808, allocations: 230.6 MB / 256 MB, free: 9.605 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.429/1.429, allocations: 316.7 MB / 0.6144 GB, free: 93.53 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.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.004091/0.004091, allocations: 73.77 kB / 0.775 GB, free: 15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1903, allocations: 73.99 MB / 0.8472 GB, free: 5.148 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol_Snchez2023_reference): time 0.005555/0.1959, allocations: 2.301 MB / 0.8495 GB, free: 2.848 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3715/0.5674, allocations: 6.524 MB / 0.8559 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002765/0.5677, allocations: 4.781 kB / 0.8559 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.5679, allocations: 26.36 kB / 0.8559 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.5681, allocations: 79.78 kB / 0.856 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.5684, allocations: 57.98 kB / 0.856 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.5687, allocations: 253.8 kB / 0.8563 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.5688, allocations: 34.03 kB / 0.8563 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.569, allocations: 100.5 kB / 0.8564 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.5692, allocations: 97.75 kB / 0.8565 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.5692, allocations: 16.75 kB / 0.8565 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.145e-05/0.5693, allocations: 19.16 kB / 0.8565 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.5693, allocations: 35.5 kB / 0.8566 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.5694, allocations: 99.44 kB / 0.8566 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.5697, allocations: 196.5 kB / 0.8568 GB, free: 21.5 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5697, allocations: 0 / 0.8568 GB, free: 21.5 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5697, allocations: 0 / 0.8568 GB, free: 21.5 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.5697, allocations: 1.969 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.0007999/0.5705, allocations: 499.8 kB / 0.8573 GB, free: 21.11 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.5705, allocations: 9.312 kB / 0.8573 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.5706, allocations: 24.23 kB / 0.8573 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.5708, allocations: 186.1 kB / 0.8575 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.5708, allocations: 13.39 kB / 0.8575 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.5709, allocations: 22.61 kB / 0.8576 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.5712, allocations: 190.5 kB / 0.8577 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.5712, allocations: 2.312 kB / 0.8577 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.5712, allocations: 5.406 kB / 0.8577 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.5713, allocations: 5.062 kB / 0.8577 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.5716, allocations: 142 kB / 0.8579 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007547/0.5723, allocations: 484.2 kB / 0.8583 GB, free: 20.52 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.5728, allocations: 177.1 kB / 0.8585 GB, free: 20.46 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.573, allocations: 97.89 kB / 0.8586 GB, free: 20.42 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.573, allocations: 3.406 kB / 0.8586 GB, free: 20.42 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.5733, allocations: 224.6 kB / 0.8588 GB, free: 20.28 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.5733, allocations: 0.5 kB / 0.8588 GB, free: 20.28 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001365/0.5747, allocations: 0.6999 MB / 0.8595 GB, free: 19.92 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.5747, allocations: 137.8 kB / 0.8596 GB, free: 19.76 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.5749, allocations: 218.1 kB / 0.8598 GB, free: 19.66 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.5749, allocations: 36.92 kB / 0.8599 GB, free: 19.62 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.575, allocations: 133.1 kB / 0.86 GB, free: 19.53 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.5751, allocations: 72.44 kB / 0.8601 GB, free: 19.49 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.5751, allocations: 50.84 kB / 0.8601 GB, free: 19.47 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.5752, allocations: 341.8 kB / 0.8605 GB, free: 19.15 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.5754, allocations: 143.1 kB / 0.8606 GB, free: 19.08 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.5757, allocations: 222.2 kB / 0.8608 GB, free: 18.91 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.576, allocations: 283.7 kB / 0.8611 GB, free: 18.75 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.576, allocations: 1.781 kB / 0.8611 GB, free: 18.75 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005511/0.5766, allocations: 385.1 kB / 0.8614 GB, free: 18.57 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.5766, allocations: 68.53 kB / 0.8615 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.5766, allocations: 6.25 kB / 0.8615 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.5767, allocations: 3.812 kB / 0.8615 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.5769, allocations: 48.28 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.5769, allocations: 6.906 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.577, allocations: 25.66 kB / 0.8616 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.5771, allocations: 15.7 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.0001677/0.5772, allocations: 174.2 kB / 0.8618 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.5773, allocations: 23.95 kB / 0.8618 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/0.5773, allocations: 27.72 kB / 0.8618 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5773, allocations: 6.484 kB / 0.8618 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5773, allocations: 0 / 0.8618 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5773, allocations: 1.219 kB / 0.8618 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006956/0.578, allocations: 0.5393 MB / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.578, allocations: 0 / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.5782, allocations: 34.62 kB / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5782, allocations: 1.469 kB / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.5782, allocations: 9.219 kB / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5782, allocations: 11.84 kB / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5783, allocations: 0 / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006763/0.5789, allocations: 496.4 kB / 0.8629 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.579, allocations: 28.02 kB / 0.8629 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.579, allocations: 7.125 kB / 0.8629 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.5792, allocations: 13.23 kB / 0.8629 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.5792, allocations: 28.75 kB / 0.863 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.5793, allocations: 6.125 kB / 0.863 GB, free: 17.74 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001233/0.5794, allocations: 157.9 kB / 0.8631 GB, free: 17.66 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.5794, allocations: 0.5 kB / 0.8631 GB, free: 17.66 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002854/0.5797, allocations: 52.28 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.0001144/0.5798, allocations: 115.1 kB / 0.8633 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005682/0.5804, allocations: 377.5 kB / 0.8636 GB, free: 17.34 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5804, allocations: 0 / 0.8636 GB, free: 17.34 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.5806, allocations: 175.2 kB / 0.8638 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.5811, allocations: 76.02 kB / 0.8639 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.5824, allocations: 0.682 MB / 0.8645 GB, free: 16.93 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.5825, allocations: 126.1 kB / 0.8647 GB, free: 16.85 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.5826, allocations: 25.8 kB / 0.8647 GB, free: 16.85 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.5827, allocations: 20.62 kB / 0.8647 GB, free: 16.84 MB / 490.8 MB Notification: Performance of SimCode: time 7.52e-07/0.5827, allocations: 0 / 0.8647 GB, free: 16.84 MB / 490.8 MB Notification: Performance of Templates: time 0.008912/0.5916, allocations: 3.639 MB / 0.8683 GB, free: 16.52 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol_Snchez2023_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.99902500002645]