Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam_Kruizinga2022_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.001944/0.001944, allocations: 101.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.002211/0.002211, allocations: 219.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.732/1.732, 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.442/1.442, allocations: 316.8 MB / 0.6144 GB, free: 93.41 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.N03AE01_Clonazepam.Clonazepam_Kruizinga2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=950400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam_Kruizinga2022_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam_Kruizinga2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=950400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam_Kruizinga2022_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.004304/0.004304, allocations: 73.27 kB / 0.775 GB, free: 15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1536, allocations: 73.99 MB / 0.8473 GB, free: 5.145 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam_Kruizinga2022_reference): time 0.004557/0.1581, allocations: 2.705 MB / 0.8499 GB, free: 2.438 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3415/0.4996, allocations: 6.599 MB / 0.8564 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.4998, allocations: 3.812 kB / 0.8564 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.5, allocations: 38.5 kB / 0.8564 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.5002, allocations: 117.9 kB / 0.8565 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.5004, allocations: 72.33 kB / 0.8566 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.5007, allocations: 378 kB / 0.857 GB, free: 21.53 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.5009, allocations: 53.81 kB / 0.857 GB, free: 21.52 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.501, allocations: 140 kB / 0.8571 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.5013, allocations: 143.2 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.5013, allocations: 28.75 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.067e-05/0.5014, allocations: 23.25 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.5014, allocations: 52.48 kB / 0.8574 GB, free: 21.46 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.5015, allocations: 135.9 kB / 0.8575 GB, free: 21.42 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.5018, allocations: 292.3 kB / 0.8578 GB, free: 21.37 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.538e-05/0.5018, allocations: 0.8438 kB / 0.8578 GB, free: 21.37 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5018, allocations: 0 / 0.8578 GB, free: 21.37 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.5018, allocations: 1.594 kB / 0.8578 GB, free: 21.37 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008868/0.5027, allocations: 0.5991 MB / 0.8584 GB, free: 20.91 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.5027, allocations: 12.62 kB / 0.8584 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.845e-05/0.5028, allocations: 30.81 kB / 0.8584 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.503, allocations: 214.6 kB / 0.8586 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.5031, allocations: 14.66 kB / 0.8586 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.5031, allocations: 32.95 kB / 0.8587 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.5035, allocations: 283 kB / 0.8589 GB, free: 20.61 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.5035, allocations: 8.266 kB / 0.8589 GB, free: 20.61 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.5036, allocations: 8.562 kB / 0.8589 GB, free: 20.61 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.5036, allocations: 3.562 kB / 0.8589 GB, free: 20.61 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.504, allocations: 230.4 kB / 0.8592 GB, free: 20.54 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009666/0.5049, allocations: 0.6796 MB / 0.8598 GB, free: 20.19 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000481/0.5054, allocations: 241.1 kB / 0.8601 GB, free: 20.1 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.5056, allocations: 148.7 kB / 0.8602 GB, free: 20.03 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.5056, allocations: 1.469 kB / 0.8602 GB, free: 20.03 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004018/0.506, allocations: 362.5 kB / 0.8606 GB, free: 19.79 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.284e-06/0.506, allocations: 1.875 kB / 0.8606 GB, free: 19.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001686/0.5077, allocations: 1.077 MB / 0.8616 GB, free: 19.25 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.5078, allocations: 219.7 kB / 0.8618 GB, free: 19 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.508, allocations: 248.5 kB / 0.8621 GB, free: 18.89 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.508, allocations: 34.39 kB / 0.8621 GB, free: 18.86 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.5081, allocations: 160.4 kB / 0.8622 GB, free: 18.75 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.973e-05/0.5081, allocations: 118 kB / 0.8623 GB, free: 18.68 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.5082, allocations: 68.69 kB / 0.8624 GB, free: 18.66 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.361e-05/0.5083, allocations: 349.7 kB / 0.8627 GB, free: 18.34 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.5085, allocations: 209.4 kB / 0.8629 GB, free: 18.24 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.5088, allocations: 316.3 kB / 0.8632 GB, free: 18.01 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/0.5093, allocations: 434.2 kB / 0.8637 GB, free: 17.74 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5093, allocations: 2.219 kB / 0.8637 GB, free: 17.74 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007773/0.5101, allocations: 0.5453 MB / 0.8642 GB, free: 17.48 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.5101, allocations: 92.8 kB / 0.8643 GB, free: 17.39 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.5101, allocations: 2.688 kB / 0.8643 GB, free: 17.39 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.5102, allocations: 5.25 kB / 0.8643 GB, free: 17.39 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.5105, allocations: 81.83 kB / 0.8644 GB, free: 17.38 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.5105, allocations: 5.891 kB / 0.8644 GB, free: 17.38 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.5107, allocations: 25.72 kB / 0.8644 GB, free: 17.38 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.5108, allocations: 20.34 kB / 0.8644 GB, free: 17.38 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0002053/0.511, allocations: 222 kB / 0.8646 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.511, allocations: 33.41 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.018e-05/0.5111, allocations: 33.95 kB / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.5111, allocations: 3.562 kB / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.5111, allocations: 1.688 kB / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.5111, allocations: 6.828 kB / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.5122, allocations: 0.7619 MB / 0.8655 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.5122, allocations: 2.688 kB / 0.8655 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.5125, allocations: 55.3 kB / 0.8655 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5125, allocations: 1.75 kB / 0.8655 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.5126, allocations: 16.95 kB / 0.8655 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.5126, allocations: 1.578 kB / 0.8655 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5126, allocations: 2.188 kB / 0.8655 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009691/0.5135, allocations: 0.727 MB / 0.8662 GB, free: 16.44 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.5136, allocations: 25.88 kB / 0.8663 GB, free: 16.42 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/0.5136, allocations: 19.7 kB / 0.8663 GB, free: 16.42 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.5138, allocations: 15.77 kB / 0.8663 GB, free: 16.42 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.211e-05/0.5139, allocations: 30.72 kB / 0.8663 GB, free: 16.42 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.514, allocations: 10.59 kB / 0.8663 GB, free: 16.42 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001583/0.5141, allocations: 181.1 kB / 0.8665 GB, free: 16.34 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5141, allocations: 0 / 0.8665 GB, free: 16.34 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003799/0.5145, allocations: 86.56 kB / 0.8666 GB, free: 16.34 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001132/0.5146, allocations: 124.5 kB / 0.8667 GB, free: 16.25 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006621/0.5153, allocations: 0.5686 MB / 0.8673 GB, free: 15.88 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5153, allocations: 0.5312 kB / 0.8673 GB, free: 15.88 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.5156, allocations: 299.8 kB / 0.8676 GB, free: 15.69 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005186/0.5161, allocations: 90.64 kB / 0.8676 GB, free: 15.69 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.5175, allocations: 0.9425 MB / 0.8686 GB, free: 15.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.5176, allocations: 159.9 kB / 0.8687 GB, free: 15.12 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.5177, allocations: 34.81 kB / 0.8687 GB, free: 15.11 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.696e-05/0.5178, allocations: 27.11 kB / 0.8688 GB, free: 15.11 MB / 490.8 MB Notification: Performance of SimCode: time 4.91e-07/0.5178, allocations: 0 / 0.8688 GB, free: 15.11 MB / 490.8 MB Notification: Performance of Templates: time 0.009396/0.5272, allocations: 4.992 MB / 0.8736 GB, free: 14.62 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam_Kruizinga2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam_Kruizinga2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam_Kruizinga2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam_Kruizinga2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam_Kruizinga2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam_Kruizinga2022_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam_Kruizinga2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.51326161203906]