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.001859/0.001859, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002035/0.002035, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.697/1.697, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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.331/1.331, allocations: 292.9 MB / 0.5392 GB, free: 49.82 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: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.412e-05, allocations: 10.22 kB / 0.6999 GB, free: 8.535 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam_Kruizinga2022_reference): time 0.003047/0.003071, allocations: 2.705 MB / 0.7025 GB, free: 5.812 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005811/0.008881, allocations: 6.611 MB / 0.709 GB, free: 15.19 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.009053, allocations: 4 kB / 0.709 GB, free: 15.19 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.009225, allocations: 39.58 kB / 0.709 GB, free: 15.15 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.009565, allocations: 126.9 kB / 0.7092 GB, free: 15.02 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.009847, allocations: 71.84 kB / 0.7092 GB, free: 14.95 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.01035, allocations: 385.9 kB / 0.7096 GB, free: 14.57 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.01053, allocations: 68.81 kB / 0.7097 GB, free: 14.51 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.01083, allocations: 199.6 kB / 0.7099 GB, free: 14.32 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.01112, allocations: 115.6 kB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.956e-05/0.01117, allocations: 27.94 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.926e-05/0.01122, allocations: 28 kB / 0.71 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-05/0.0113, allocations: 67.67 kB / 0.7101 GB, free: 14.08 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.01146, allocations: 103.8 kB / 0.7102 GB, free: 13.98 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004907/0.01195, allocations: 299.1 kB / 0.7105 GB, free: 13.69 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.01195, allocations: 0 / 0.7105 GB, free: 13.69 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01195, allocations: 0 / 0.7105 GB, free: 13.69 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.01196, allocations: 4 kB / 0.7105 GB, free: 13.68 MB / 426.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.001195/0.01315, allocations: 0.5963 MB / 0.7111 GB, free: 13.04 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.0132, allocations: 8.031 kB / 0.7111 GB, free: 13.03 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.587e-05/0.01329, allocations: 32.75 kB / 0.7111 GB, free: 13 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.01362, allocations: 212.7 kB / 0.7113 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.01365, allocations: 12.75 kB / 0.7113 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.633e-05/0.0137, allocations: 24.38 kB / 0.7113 GB, free: 12.73 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/0.01427, allocations: 292.7 kB / 0.7116 GB, free: 12.42 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.01429, allocations: 7.938 kB / 0.7116 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.01432, allocations: 8 kB / 0.7116 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.01433, allocations: 4 kB / 0.7116 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005299/0.01486, allocations: 236.4 kB / 0.7119 GB, free: 12.16 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.01616, allocations: 0.6756 MB / 0.7125 GB, free: 11.44 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006139/0.01678, allocations: 239.5 kB / 0.7127 GB, free: 11.18 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.01706, allocations: 152.4 kB / 0.7129 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.01707, allocations: 4 kB / 0.7129 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005516/0.01762, allocations: 365.5 kB / 0.7132 GB, free: 10.61 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.883e-06/0.01762, allocations: 0 / 0.7132 GB, free: 10.61 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002225/0.01985, allocations: 1.075 MB / 0.7143 GB, free: 9.445 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/0.02002, allocations: 221.6 kB / 0.7145 GB, free: 9.18 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.02032, allocations: 245.9 kB / 0.7147 GB, free: 8.934 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.02036, allocations: 33.7 kB / 0.7148 GB, free: 8.895 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.02051, allocations: 156.8 kB / 0.7149 GB, free: 8.734 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.02062, allocations: 119.1 kB / 0.715 GB, free: 8.617 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.02075, allocations: 66.2 kB / 0.7151 GB, free: 8.543 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.02094, allocations: 346.7 kB / 0.7154 GB, free: 8.195 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.02131, allocations: 207.9 kB / 0.7156 GB, free: 7.973 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.02174, allocations: 315.1 kB / 0.7159 GB, free: 7.605 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006798/0.02242, allocations: 439.1 kB / 0.7163 GB, free: 7.109 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02242, allocations: 4 kB / 0.7163 GB, free: 7.105 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009364/0.02336, allocations: 0.5418 MB / 0.7169 GB, free: 6.52 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.447e-05/0.02344, allocations: 93.09 kB / 0.717 GB, free: 6.41 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.02346, allocations: 4.344 kB / 0.717 GB, free: 6.406 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.02347, allocations: 8 kB / 0.717 GB, free: 6.398 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.02388, allocations: 83.83 kB / 0.7171 GB, free: 6.316 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.02389, allocations: 7.938 kB / 0.7171 GB, free: 6.309 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.02413, allocations: 19.98 kB / 0.7171 GB, free: 6.289 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.02417, allocations: 16 kB / 0.7171 GB, free: 6.273 MB / 426.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.000286/0.02445, allocations: 235 kB / 0.7173 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.0245, allocations: 35.81 kB / 0.7174 GB, free: 5.984 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.688e-05/0.02458, allocations: 30.95 kB / 0.7174 GB, free: 5.953 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.02459, allocations: 4 kB / 0.7174 GB, free: 5.949 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.02459, allocations: 0 / 0.7174 GB, free: 5.949 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.0246, allocations: 0 / 0.7174 GB, free: 5.949 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.02588, allocations: 0.7717 MB / 0.7181 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.02588, allocations: 0 / 0.7181 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.02619, allocations: 51.95 kB / 0.7182 GB, free: 5.066 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.02619, allocations: 0 / 0.7182 GB, free: 5.066 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.02622, allocations: 12 kB / 0.7182 GB, free: 5.055 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.02622, allocations: 4 kB / 0.7182 GB, free: 5.051 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.02622, allocations: 3.938 kB / 0.7182 GB, free: 5.047 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.02743, allocations: 0.723 MB / 0.7189 GB, free: 4.266 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.02748, allocations: 23.81 kB / 0.7189 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.02754, allocations: 12.06 kB / 0.7189 GB, free: 4.23 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.02775, allocations: 19.97 kB / 0.719 GB, free: 4.211 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.02787, allocations: 39.89 kB / 0.719 GB, free: 4.172 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.0279, allocations: 8 kB / 0.719 GB, free: 4.164 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002072/0.0281, allocations: 185.2 kB / 0.7192 GB, free: 3.984 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.0281, allocations: 0 / 0.7192 GB, free: 3.984 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003685/0.02847, allocations: 84 kB / 0.7193 GB, free: 3.902 MB / 426.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.0001681/0.02864, allocations: 122.1 kB / 0.7194 GB, free: 3.781 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008831/0.02952, allocations: 0.5689 MB / 0.7199 GB, free: 3.145 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02952, allocations: 0 / 0.7199 GB, free: 3.145 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.186/0.2155, allocations: 291.5 kB / 0.7202 GB, free: 37.14 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006795/0.2162, allocations: 87.78 kB / 0.7203 GB, free: 37.14 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.2175, allocations: 0.7939 MB / 0.7211 GB, free: 36.74 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.2176, allocations: 159.4 kB / 0.7212 GB, free: 36.66 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.000138/0.2178, allocations: 35.95 kB / 0.7213 GB, free: 36.65 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.177e-05/0.2178, allocations: 29.73 kB / 0.7213 GB, free: 36.64 MB / 426.8 MB Notification: Performance of SimCode: time 6.92e-07/0.2178, allocations: 5.375 kB / 0.7213 GB, free: 36.64 MB / 426.8 MB Notification: Performance of Templates: time 0.0095/0.2273, allocations: 4.547 MB / 0.7257 GB, free: 36.23 MB / 426.8 MB " [Timeout remaining time 660] 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: 7.967339000897482]