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.0009263/0.0009263, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009588/0.0009588, allocations: 166.3 kB / 23.21 MB, free: 1.332 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 0.9485/0.9485, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.7157/0.7157, allocations: 291.2 MB / 0.5382 GB, free: 51.77 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.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.322e-06/1.322e-06, allocations: 0 / 0.6974 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.182e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam_Kruizinga2022_reference): time 0.00232/0.002342, allocations: 2.7 MB / 0.7 GB, free: 7.684 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005222/0.007564, allocations: 6.615 MB / 0.7065 GB, free: 1.059 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.007671, allocations: 4 kB / 0.7065 GB, free: 1.055 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.007776, allocations: 39.56 kB / 0.7065 GB, free: 1.016 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.00797, allocations: 115 kB / 0.7067 GB, free: 0.9023 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.008169, allocations: 79.83 kB / 0.7067 GB, free: 0.8242 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.008384, allocations: 389.9 kB / 0.7071 GB, free: 452 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.008509, allocations: 56.88 kB / 0.7072 GB, free: 400 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.008648, allocations: 215.4 kB / 0.7074 GB, free: 184 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.008808, allocations: 115.6 kB / 0.7075 GB, free: 68 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.008836, allocations: 24 kB / 0.7075 GB, free: 44 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.715e-05/0.008863, allocations: 24 kB / 0.7075 GB, free: 20 kB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.008911, allocations: 55.84 kB / 0.7076 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.009012, allocations: 119.7 kB / 0.7077 GB, free: 15.84 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.009256, allocations: 291.1 kB / 0.708 GB, free: 15.56 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.009258, allocations: 4 kB / 0.708 GB, free: 15.55 MB / 426.8 MB Notification: Performance of FrontEnd: time 5.62e-07/0.009258, allocations: 0 / 0.708 GB, free: 15.55 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.009263, allocations: 0 / 0.708 GB, free: 15.55 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.0006461/0.009909, allocations: 0.5885 MB / 0.7085 GB, free: 14.91 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.009945, allocations: 12.03 kB / 0.7086 GB, free: 14.9 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.009992, allocations: 32.75 kB / 0.7086 GB, free: 14.87 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.01019, allocations: 216.6 kB / 0.7088 GB, free: 14.64 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.01021, allocations: 24.73 kB / 0.7088 GB, free: 14.62 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.01024, allocations: 20.38 kB / 0.7088 GB, free: 14.6 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.01054, allocations: 288.7 kB / 0.7091 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.01055, allocations: 3.953 kB / 0.7091 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.01056, allocations: 12 kB / 0.7091 GB, free: 14.28 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.01057, allocations: 4 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.01084, allocations: 228.4 kB / 0.7093 GB, free: 14.04 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007623/0.0116, allocations: 0.6796 MB / 0.71 GB, free: 13.32 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.01197, allocations: 246 kB / 0.7102 GB, free: 13.05 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.01213, allocations: 152.4 kB / 0.7104 GB, free: 12.89 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.01214, allocations: 0 / 0.7104 GB, free: 12.89 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003269/0.01247, allocations: 358.2 kB / 0.7107 GB, free: 12.49 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.152e-06/0.01247, allocations: 0 / 0.7107 GB, free: 12.49 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001359/0.01383, allocations: 1.088 MB / 0.7118 GB, free: 11.31 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.01394, allocations: 221.6 kB / 0.712 GB, free: 11.04 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.01412, allocations: 241.9 kB / 0.7122 GB, free: 10.8 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.01415, allocations: 37.7 kB / 0.7123 GB, free: 10.76 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.01423, allocations: 164.7 kB / 0.7124 GB, free: 10.59 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.01428, allocations: 111.1 kB / 0.7125 GB, free: 10.48 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.01436, allocations: 74.19 kB / 0.7126 GB, free: 10.4 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.01446, allocations: 342.8 kB / 0.7129 GB, free: 10.05 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.01466, allocations: 211.9 kB / 0.7131 GB, free: 9.828 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.01491, allocations: 311.2 kB / 0.7134 GB, free: 9.465 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.01529, allocations: 435 kB / 0.7138 GB, free: 8.973 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.0153, allocations: 4 kB / 0.7139 GB, free: 8.969 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005358/0.01583, allocations: 0.5461 MB / 0.7144 GB, free: 8.379 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.173e-05/0.01589, allocations: 93.09 kB / 0.7145 GB, free: 8.27 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.0159, allocations: 4 kB / 0.7145 GB, free: 8.266 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.01591, allocations: 4 kB / 0.7145 GB, free: 8.262 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.01609, allocations: 79.83 kB / 0.7146 GB, free: 8.184 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.01609, allocations: 8 kB / 0.7146 GB, free: 8.176 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.01621, allocations: 19.98 kB / 0.7146 GB, free: 8.156 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.01623, allocations: 23.98 kB / 0.7146 GB, free: 8.133 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.0001957/0.01643, allocations: 222.8 kB / 0.7148 GB, free: 7.895 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.01646, allocations: 31.81 kB / 0.7149 GB, free: 7.863 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.0165, allocations: 30.95 kB / 0.7149 GB, free: 7.832 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.0165, allocations: 4 kB / 0.7149 GB, free: 7.828 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01651, allocations: 0 / 0.7149 GB, free: 7.828 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.01651, allocations: 3.938 kB / 0.7149 GB, free: 7.824 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000758/0.01727, allocations: 0.7601 MB / 0.7156 GB, free: 7.004 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.01728, allocations: 3.984 kB / 0.7156 GB, free: 7 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.01743, allocations: 55.91 kB / 0.7157 GB, free: 6.945 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.01743, allocations: 0 / 0.7157 GB, free: 6.945 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.01745, allocations: 16 kB / 0.7157 GB, free: 6.93 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.01746, allocations: 7.984 kB / 0.7157 GB, free: 6.922 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.01746, allocations: 3.938 kB / 0.7157 GB, free: 6.918 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008661/0.01833, allocations: 0.7229 MB / 0.7164 GB, free: 6.137 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.01836, allocations: 27.86 kB / 0.7164 GB, free: 6.109 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.0184, allocations: 12 kB / 0.7165 GB, free: 6.098 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.01851, allocations: 23.98 kB / 0.7165 GB, free: 6.074 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/0.01859, allocations: 27.89 kB / 0.7165 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.01861, allocations: 19.92 kB / 0.7165 GB, free: 6.027 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000121/0.01873, allocations: 181.2 kB / 0.7167 GB, free: 5.852 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01873, allocations: 0 / 0.7167 GB, free: 5.852 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000223/0.01896, allocations: 88 kB / 0.7168 GB, free: 5.766 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 9.669e-05/0.01905, allocations: 126.9 kB / 0.7169 GB, free: 5.637 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000459/0.01951, allocations: 0.5609 MB / 0.7175 GB, free: 5.008 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01951, allocations: 0 / 0.7175 GB, free: 5.008 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.01973, allocations: 309.8 kB / 0.7177 GB, free: 4.672 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.02004, allocations: 83.59 kB / 0.7178 GB, free: 4.594 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009272/0.02097, allocations: 0.8189 MB / 0.7186 GB, free: 3.734 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.02107, allocations: 160.3 kB / 0.7188 GB, free: 3.555 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.02114, allocations: 32.5 kB / 0.7188 GB, free: 3.523 MB / 426.8 MB Notification: Performance of SimCode: time 6.31e-07/0.02114, allocations: 0 / 0.7188 GB, free: 3.523 MB / 426.8 MB Notification: Performance of Templates: time 0.1756/0.1967, allocations: 4.006 MB / 0.7227 GB, free: 36.8 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam_Kruizinga2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.840366067364812]