Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final.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.002367/0.002367, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002713/0.002713, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.828/1.828, allocations: 230.6 MB / 256 MB, free: 9.59 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.619/1.619, allocations: 316.7 MB / 0.6144 GB, free: 93.07 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.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=518400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=518400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final") [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.003964/0.003964, allocations: 69.77 kB / 0.775 GB, free: 14.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1744, allocations: 74 MB / 0.8472 GB, free: 4.855 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final): time 0.004725/0.1791, allocations: 2.281 MB / 0.8495 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4578/0.6369, allocations: 6.53 MB / 0.8558 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003506/0.6373, allocations: 2.531 kB / 0.8558 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.6375, allocations: 31.11 kB / 0.8559 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.6378, allocations: 78.52 kB / 0.8559 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.6381, allocations: 54.2 kB / 0.856 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.6385, allocations: 261.8 kB / 0.8562 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.6387, allocations: 31.69 kB / 0.8563 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.6388, allocations: 98.5 kB / 0.8564 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.6391, allocations: 99.34 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.6392, allocations: 16.28 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.592e-05/0.6392, allocations: 17.44 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.6393, allocations: 38.34 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.6394, allocations: 93.98 kB / 0.8566 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.6397, allocations: 198.3 kB / 0.8568 GB, free: 21.83 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.6397, allocations: 0 / 0.8568 GB, free: 21.83 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6397, allocations: 0.6562 kB / 0.8568 GB, free: 21.83 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.6397, allocations: 0.75 kB / 0.8568 GB, free: 21.83 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.000972/0.6407, allocations: 0.4902 MB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.6407, allocations: 8.594 kB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.675e-05/0.6408, allocations: 24.45 kB / 0.8573 GB, free: 21.42 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.6411, allocations: 185.8 kB / 0.8575 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.6411, allocations: 13.83 kB / 0.8575 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.6411, allocations: 18.83 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.6415, allocations: 190.7 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.6416, allocations: 1.156 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.6416, allocations: 4.375 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.6416, allocations: 3.594 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.6419, allocations: 151.5 kB / 0.8579 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007791/0.6427, allocations: 481.5 kB / 0.8583 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004682/0.6432, allocations: 174.1 kB / 0.8585 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.6434, allocations: 94.22 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.6434, allocations: 7.094 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/0.6437, allocations: 228.2 kB / 0.8588 GB, free: 20.6 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.6437, allocations: 0.5938 kB / 0.8588 GB, free: 20.6 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001412/0.6452, allocations: 0.7006 MB / 0.8595 GB, free: 20.24 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.6452, allocations: 141 kB / 0.8596 GB, free: 20.09 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.6454, allocations: 216.2 kB / 0.8598 GB, free: 19.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.6454, allocations: 35.84 kB / 0.8599 GB, free: 19.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.6455, allocations: 131.1 kB / 0.86 GB, free: 19.86 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.6456, allocations: 71.83 kB / 0.8601 GB, free: 19.81 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.459e-05/0.6457, allocations: 58.3 kB / 0.8601 GB, free: 19.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.6457, allocations: 335.5 kB / 0.8604 GB, free: 19.48 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.646, allocations: 141.9 kB / 0.8606 GB, free: 19.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.6462, allocations: 225.3 kB / 0.8608 GB, free: 19.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.6466, allocations: 283.5 kB / 0.861 GB, free: 19.07 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6466, allocations: 1.344 kB / 0.861 GB, free: 19.07 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005667/0.6472, allocations: 387.7 kB / 0.8614 GB, free: 18.89 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.6472, allocations: 60.94 kB / 0.8615 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.6472, allocations: 7.688 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.6472, allocations: 5.156 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.6474, allocations: 51.09 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.6474, allocations: 6.062 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.6476, allocations: 22.02 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.6476, allocations: 8.188 kB / 0.8616 GB, free: 18.82 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.0002029/0.6478, allocations: 181.5 kB / 0.8617 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.6479, allocations: 22.8 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.959e-05/0.648, allocations: 27.52 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.648, allocations: 6.625 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.648, allocations: 1.781 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.648, allocations: 2.594 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007271/0.6487, allocations: 0.5393 MB / 0.8623 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6487, allocations: 5.281 kB / 0.8623 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.6489, allocations: 36.06 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.6489, allocations: 3.031 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.6489, allocations: 5.188 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.6489, allocations: 9.406 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6489, allocations: 0.7188 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007104/0.6496, allocations: 0.49 MB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.655e-05/0.6497, allocations: 21.23 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.6497, allocations: 7.438 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.6499, allocations: 14.59 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/0.65, allocations: 21.52 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.65, allocations: 9.297 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001501/0.6501, allocations: 162.8 kB / 0.8631 GB, free: 17.99 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6501, allocations: 0.5625 kB / 0.8631 GB, free: 17.99 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000307/0.6504, allocations: 50.75 kB / 0.8631 GB, free: 17.99 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.0001405/0.6506, allocations: 119.7 kB / 0.8633 GB, free: 17.9 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006033/0.6512, allocations: 383.1 kB / 0.8636 GB, free: 17.67 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6512, allocations: 1.125 kB / 0.8636 GB, free: 17.67 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.6515, allocations: 172.3 kB / 0.8638 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.652, allocations: 67.88 kB / 0.8639 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.6535, allocations: 0.6843 MB / 0.8645 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.6537, allocations: 126.9 kB / 0.8646 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.6538, allocations: 21.59 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.6539, allocations: 24.73 kB / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of SimCode: time 6.91e-07/0.6539, allocations: 0 / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of Templates: time 0.01192/0.6658, allocations: 3.639 MB / 0.8682 GB, free: 16.83 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_final.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.51017185789533]