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_base.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.002424/0.002424, allocations: 105.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.002764/0.002764, allocations: 214.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.853/1.853, allocations: 230.6 MB / 256 MB, free: 9.629 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.47/1.47, allocations: 316.8 MB / 0.6144 GB, free: 93.52 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_base,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_base") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_base,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_base") [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.01107/0.01107, allocations: 73.33 kB / 0.775 GB, free: 14.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1942, allocations: 73.99 MB / 0.8472 GB, free: 5.117 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_base): time 0.004001/0.1982, allocations: 2.301 MB / 0.8495 GB, free: 2.816 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4086/0.6068, allocations: 6.518 MB / 0.8559 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003185/0.6072, allocations: 5.75 kB / 0.8559 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.6073, allocations: 23.55 kB / 0.8559 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.6076, allocations: 83.97 kB / 0.856 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.6079, allocations: 55.25 kB / 0.856 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000322/0.6083, allocations: 254.9 kB / 0.8563 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.6084, allocations: 35.69 kB / 0.8563 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.6086, allocations: 100.5 kB / 0.8564 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.6088, allocations: 95.11 kB / 0.8565 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.6089, allocations: 19.22 kB / 0.8565 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.265e-05/0.6089, allocations: 15.97 kB / 0.8565 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.609, allocations: 39.47 kB / 0.8566 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.6091, allocations: 97.52 kB / 0.8567 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.6094, allocations: 199.5 kB / 0.8568 GB, free: 21.52 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6094, allocations: 0 / 0.8568 GB, free: 21.52 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.584e-06/0.6094, allocations: 1.125 kB / 0.8568 GB, free: 21.52 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.6094, allocations: 1.688 kB / 0.8568 GB, free: 21.52 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.0009034/0.6103, allocations: 496.8 kB / 0.8573 GB, free: 21.12 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.6103, allocations: 9 kB / 0.8573 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.6104, allocations: 25.3 kB / 0.8574 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.6107, allocations: 182.8 kB / 0.8575 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.6107, allocations: 10.42 kB / 0.8575 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.6107, allocations: 23.42 kB / 0.8576 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.6111, allocations: 189.2 kB / 0.8577 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.6111, allocations: 5.812 kB / 0.8577 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.6111, allocations: 6.25 kB / 0.8577 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.6111, allocations: 2.094 kB / 0.8578 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.6115, allocations: 150 kB / 0.8579 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008302/0.6123, allocations: 481.2 kB / 0.8584 GB, free: 20.54 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.6129, allocations: 174.9 kB / 0.8585 GB, free: 20.48 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.613, allocations: 94.31 kB / 0.8586 GB, free: 20.44 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.6131, allocations: 0.625 kB / 0.8586 GB, free: 20.44 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003714/0.6134, allocations: 229.8 kB / 0.8588 GB, free: 20.29 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.766e-06/0.6134, allocations: 1.219 kB / 0.8588 GB, free: 20.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001517/0.6149, allocations: 0.703 MB / 0.8595 GB, free: 19.93 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.615, allocations: 141.1 kB / 0.8597 GB, free: 19.78 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.6153, allocations: 218.5 kB / 0.8599 GB, free: 19.67 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.6153, allocations: 31.2 kB / 0.8599 GB, free: 19.64 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.691e-05/0.6154, allocations: 133.7 kB / 0.86 GB, free: 19.55 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.6155, allocations: 75.48 kB / 0.8601 GB, free: 19.5 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.129e-05/0.6155, allocations: 54.41 kB / 0.8601 GB, free: 19.48 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.129e-05/0.6156, allocations: 335.8 kB / 0.8605 GB, free: 19.17 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.6158, allocations: 143 kB / 0.8606 GB, free: 19.09 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.6161, allocations: 223.1 kB / 0.8608 GB, free: 18.93 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.6165, allocations: 281.2 kB / 0.8611 GB, free: 18.77 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6165, allocations: 3.938 kB / 0.8611 GB, free: 18.76 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005603/0.617, allocations: 388.9 kB / 0.8615 GB, free: 18.58 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.6171, allocations: 64 kB / 0.8615 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.6171, allocations: 7.906 kB / 0.8615 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.6171, allocations: 0.6562 kB / 0.8615 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.6173, allocations: 53.34 kB / 0.8616 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.6173, allocations: 4.656 kB / 0.8616 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.6175, allocations: 17.73 kB / 0.8616 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.6175, allocations: 11.16 kB / 0.8616 GB, free: 18.51 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.0001956/0.6177, allocations: 178.1 kB / 0.8618 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.6177, allocations: 22.83 kB / 0.8618 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/0.6178, allocations: 29.23 kB / 0.8618 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.6178, allocations: 4.594 kB / 0.8618 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.6178, allocations: 1.125 kB / 0.8618 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6178, allocations: 5.688 kB / 0.8618 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007498/0.6186, allocations: 0.5355 MB / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6186, allocations: 3.938 kB / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.6188, allocations: 38.3 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6188, allocations: 1.375 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.6188, allocations: 12.94 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.6188, allocations: 7.875 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6188, allocations: 0.7188 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007116/0.6195, allocations: 493.6 kB / 0.8629 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.6195, allocations: 25.02 kB / 0.8629 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.6196, allocations: 7.219 kB / 0.8629 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.6197, allocations: 21.06 kB / 0.8629 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.6198, allocations: 21.22 kB / 0.863 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.6199, allocations: 8.688 kB / 0.863 GB, free: 17.76 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001439/0.62, allocations: 162.9 kB / 0.8631 GB, free: 17.68 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.62, allocations: 3.938 kB / 0.8631 GB, free: 17.68 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002924/0.6203, allocations: 50.84 kB / 0.8632 GB, free: 17.68 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.0001584/0.6205, allocations: 117.2 kB / 0.8633 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006371/0.6211, allocations: 383.9 kB / 0.8637 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6211, allocations: 0 / 0.8637 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002578/0.6214, allocations: 174 kB / 0.8638 GB, free: 17.26 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.6218, allocations: 67.5 kB / 0.8639 GB, free: 17.26 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.6233, allocations: 0.6813 MB / 0.8646 GB, free: 16.94 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.6235, allocations: 122.9 kB / 0.8647 GB, free: 16.87 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000118/0.6236, allocations: 29.2 kB / 0.8647 GB, free: 16.86 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.981e-05/0.6237, allocations: 21.58 kB / 0.8647 GB, free: 16.85 MB / 490.8 MB Notification: Performance of SimCode: time 7.31e-07/0.6237, allocations: 0 / 0.8647 GB, free: 16.85 MB / 490.8 MB Notification: Performance of Templates: time 0.01022/0.6339, allocations: 3.637 MB / 0.8683 GB, free: 16.54 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_base.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_base.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_base.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_base.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_base.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_base -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_base.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.553081145044416]