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.001039/0.001039, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 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.001159/0.001159, allocations: 216.4 kB / 23 MB, free: 2.949 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.028/1.028, allocations: 230.7 MB / 256.8 MB, free: 9.652 MB / 202.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.7607/0.7607, allocations: 312.3 MB / 0.6108 GB, free: 97.6 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.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.002162/0.002162, allocations: 76.48 kB / 0.7699 GB, free: 20.13 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1508, allocations: 73.98 MB / 0.8421 GB, free: 10.28 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_base): time 0.003615/0.1544, allocations: 2.304 MB / 0.8444 GB, free: 7.977 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.008248/0.1627, allocations: 6.525 MB / 0.8507 GB, free: 1.449 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.1629, allocations: 0.6562 kB / 0.8507 GB, free: 1.449 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.163, allocations: 31.72 kB / 0.8508 GB, free: 1.418 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.1632, allocations: 84.44 kB / 0.8508 GB, free: 1.336 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1635, allocations: 48.53 kB / 0.8509 GB, free: 1.289 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.1638, allocations: 259.2 kB / 0.8511 GB, free: 1.035 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.164, allocations: 36.56 kB / 0.8512 GB, free: 1 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1641, allocations: 92.38 kB / 0.8513 GB, free: 0.9102 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.1643, allocations: 104 kB / 0.8514 GB, free: 0.8086 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.1644, allocations: 16 kB / 0.8514 GB, free: 0.793 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.851e-05/0.1644, allocations: 16.62 kB / 0.8514 GB, free: 0.7773 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.1644, allocations: 36.44 kB / 0.8514 GB, free: 0.7422 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1645, allocations: 99.52 kB / 0.8515 GB, free: 0.6445 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.1648, allocations: 195.8 kB / 0.8517 GB, free: 464 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.1648, allocations: 0.625 kB / 0.8517 GB, free: 464 kB / 474.8 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1648, allocations: 0 / 0.8517 GB, free: 464 kB / 474.8 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.1648, allocations: 0.5938 kB / 0.8517 GB, free: 464 kB / 474.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.001156/0.166, allocations: 0.4903 MB / 0.8522 GB, free: 15.92 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.166, allocations: 12.56 kB / 0.8522 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.1661, allocations: 25.3 kB / 0.8522 GB, free: 15.88 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1664, allocations: 187.1 kB / 0.8524 GB, free: 15.67 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.1664, allocations: 9.172 kB / 0.8524 GB, free: 15.66 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.1664, allocations: 20.52 kB / 0.8524 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.1668, allocations: 194.9 kB / 0.8526 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1668, allocations: 4.656 kB / 0.8526 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.1668, allocations: 4 kB / 0.8526 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.1668, allocations: 4.594 kB / 0.8526 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.1671, allocations: 142.9 kB / 0.8528 GB, free: 15.28 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008067/0.1679, allocations: 482.7 kB / 0.8532 GB, free: 14.78 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.1683, allocations: 173.4 kB / 0.8534 GB, free: 14.59 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.1685, allocations: 99.14 kB / 0.8535 GB, free: 14.49 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.1685, allocations: 0.6875 kB / 0.8535 GB, free: 14.49 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003557/0.1688, allocations: 227 kB / 0.8537 GB, free: 14.24 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 4.94e-06/0.1688, allocations: 0.6875 kB / 0.8537 GB, free: 14.24 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001097/0.1699, allocations: 0.7002 MB / 0.8544 GB, free: 13.48 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/0.17, allocations: 136.5 kB / 0.8545 GB, free: 13.31 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.1702, allocations: 215.5 kB / 0.8547 GB, free: 13.09 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.1702, allocations: 38.27 kB / 0.8548 GB, free: 13.05 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.1703, allocations: 132.5 kB / 0.8549 GB, free: 12.92 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.1703, allocations: 71.92 kB / 0.855 GB, free: 12.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/0.1704, allocations: 58.16 kB / 0.855 GB, free: 12.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1705, allocations: 342.8 kB / 0.8553 GB, free: 12.44 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.1707, allocations: 146 kB / 0.8555 GB, free: 12.28 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2871/0.4577, allocations: 218.1 kB / 0.8557 GB, free: 30.4 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.4581, allocations: 278.5 kB / 0.856 GB, free: 30.24 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4582, allocations: 0 / 0.856 GB, free: 30.24 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004212/0.4586, allocations: 394.4 kB / 0.8563 GB, free: 30.08 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.4586, allocations: 65.34 kB / 0.8564 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4586, allocations: 3.188 kB / 0.8564 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.4586, allocations: 2.812 kB / 0.8564 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.4588, allocations: 49.58 kB / 0.8564 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4588, allocations: 11.27 kB / 0.8565 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.4589, allocations: 18.52 kB / 0.8565 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.4589, allocations: 12.61 kB / 0.8565 GB, free: 30.02 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.0001844/0.4591, allocations: 175.3 kB / 0.8566 GB, free: 29.87 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.4591, allocations: 22.62 kB / 0.8567 GB, free: 29.87 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/0.4592, allocations: 25.78 kB / 0.8567 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4592, allocations: 8.844 kB / 0.8567 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4592, allocations: 2.156 kB / 0.8567 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.4592, allocations: 2.391 kB / 0.8567 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.4597, allocations: 0.5354 MB / 0.8572 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4598, allocations: 0 / 0.8572 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.4599, allocations: 37.06 kB / 0.8573 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4599, allocations: 6.125 kB / 0.8573 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.4599, allocations: 6.391 kB / 0.8573 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4599, allocations: 3.938 kB / 0.8573 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4599, allocations: 3.062 kB / 0.8573 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/0.4603, allocations: 499.8 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.4604, allocations: 17.91 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.4604, allocations: 7.469 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.4605, allocations: 22.61 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.4606, allocations: 20.34 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.4606, allocations: 10.77 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.77e-05/0.4607, allocations: 155.1 kB / 0.858 GB, free: 29.27 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4607, allocations: 0 / 0.858 GB, free: 29.27 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002025/0.4609, allocations: 61.69 kB / 0.858 GB, free: 29.27 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.0001043/0.461, allocations: 117.5 kB / 0.8582 GB, free: 29.18 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003543/0.4613, allocations: 382.7 kB / 0.8585 GB, free: 28.95 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4613, allocations: 1.781 kB / 0.8585 GB, free: 28.95 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.4615, allocations: 171.2 kB / 0.8587 GB, free: 28.85 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.4618, allocations: 71.64 kB / 0.8588 GB, free: 28.85 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000971/0.4628, allocations: 0.6979 MB / 0.8594 GB, free: 28.54 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.728e-05/0.4628, allocations: 124.9 kB / 0.8596 GB, free: 28.46 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.4629, allocations: 28.17 kB / 0.8596 GB, free: 28.45 MB / 490.8 MB Notification: Performance of SimCode: time 5.41e-07/0.4629, allocations: 0.625 kB / 0.8596 GB, free: 28.45 MB / 490.8 MB Notification: Performance of Templates: time 0.004379/0.4673, allocations: 2.939 MB / 0.8625 GB, free: 28.25 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CA01_Pentobarbital.Pentobarbital_Ketharanathan2023_base.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.645887673832476]