Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_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.002008/0.002008, 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.003022/0.003022, allocations: 211.6 kB / 22.25 MB, free: 3.582 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.713/1.713, allocations: 230.6 MB / 256 MB, free: 9.641 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.415/1.415, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference") [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.003901/0.003901, allocations: 77.59 kB / 0.775 GB, free: 14.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1668, allocations: 73.99 MB / 0.8472 GB, free: 4.844 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference): time 0.005183/0.172, allocations: 3.034 MB / 0.8502 GB, free: 1.805 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1735, allocations: 0.6995 MB / 0.8509 GB, free: 1.113 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.1736, allocations: 4 kB / 0.8509 GB, free: 1.109 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.1738, allocations: 40.28 kB / 0.8509 GB, free: 1.07 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.174, allocations: 124.7 kB / 0.8511 GB, free: 0.9492 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.1743, allocations: 83.86 kB / 0.8511 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005262/0.1748, allocations: 424.5 kB / 0.8515 GB, free: 464 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.175, allocations: 50.75 kB / 0.8516 GB, free: 412 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.1752, allocations: 151.5 kB / 0.8517 GB, free: 260 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.1756, allocations: 151.2 kB / 0.8519 GB, free: 108 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.1756, allocations: 32 kB / 0.8519 GB, free: 76 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-05/0.1757, allocations: 32 kB / 0.8519 GB, free: 44 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.532e-05/0.1758, allocations: 60.45 kB / 0.852 GB, free: 15.98 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.176, allocations: 151.2 kB / 0.8521 GB, free: 15.84 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004824/0.1764, allocations: 351.7 kB / 0.8525 GB, free: 15.49 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1764, allocations: 0 / 0.8525 GB, free: 15.49 MB / 490.8 MB Notification: Performance of FrontEnd: time 9.668e-06/0.1765, allocations: 5.969 kB / 0.8525 GB, free: 15.49 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.1765, allocations: 0 / 0.8525 GB, free: 15.49 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001613/0.1781, allocations: 0.6083 MB / 0.8531 GB, free: 14.83 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.1781, allocations: 8.031 kB / 0.8531 GB, free: 14.82 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.1782, allocations: 37.8 kB / 0.8531 GB, free: 14.79 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.1786, allocations: 229 kB / 0.8533 GB, free: 14.54 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.1787, allocations: 12.81 kB / 0.8534 GB, free: 14.52 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/0.1787, allocations: 32.39 kB / 0.8534 GB, free: 14.49 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005934/0.1793, allocations: 302.2 kB / 0.8537 GB, free: 14.18 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.1793, allocations: 8 kB / 0.8537 GB, free: 14.17 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.1794, allocations: 12.59 kB / 0.8537 GB, free: 14.16 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.1794, allocations: 4 kB / 0.8537 GB, free: 14.15 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/0.1799, allocations: 245.6 kB / 0.8539 GB, free: 13.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.1812, allocations: 0.6522 MB / 0.8546 GB, free: 13.21 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007142/0.1819, allocations: 269.4 kB / 0.8548 GB, free: 12.93 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.1822, allocations: 160.6 kB / 0.855 GB, free: 12.77 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.1822, allocations: 0.5625 kB / 0.855 GB, free: 12.77 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2927/0.4749, allocations: 376.7 kB / 0.8553 GB, free: 28.56 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 2.795e-06/0.4749, allocations: 0.5312 kB / 0.8553 GB, free: 28.56 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001845/0.4767, allocations: 1.126 MB / 0.8564 GB, free: 28.06 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.4768, allocations: 225.5 kB / 0.8566 GB, free: 27.81 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.477, allocations: 252 kB / 0.8569 GB, free: 27.7 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.477, allocations: 38.95 kB / 0.8569 GB, free: 27.67 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.4771, allocations: 159.1 kB / 0.8571 GB, free: 27.57 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.4771, allocations: 117.2 kB / 0.8572 GB, free: 27.5 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.631e-05/0.4772, allocations: 72.62 kB / 0.8573 GB, free: 27.49 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.4773, allocations: 345.9 kB / 0.8576 GB, free: 27.18 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.4776, allocations: 223.6 kB / 0.8578 GB, free: 27.07 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.4778, allocations: 327.3 kB / 0.8581 GB, free: 26.84 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/0.4783, allocations: 449.3 kB / 0.8585 GB, free: 26.59 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4783, allocations: 0.9688 kB / 0.8585 GB, free: 26.59 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006836/0.479, allocations: 0.576 MB / 0.8591 GB, free: 26.34 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.4791, allocations: 91.78 kB / 0.8592 GB, free: 26.25 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4791, allocations: 4.406 kB / 0.8592 GB, free: 26.25 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.4791, allocations: 4.531 kB / 0.8592 GB, free: 26.25 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.4794, allocations: 86.8 kB / 0.8593 GB, free: 26.25 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4794, allocations: 4.859 kB / 0.8593 GB, free: 26.25 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.4796, allocations: 21.7 kB / 0.8593 GB, free: 26.25 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.4796, allocations: 19 kB / 0.8593 GB, free: 26.25 MB / 490.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.0001988/0.4798, allocations: 239.2 kB / 0.8596 GB, free: 26.07 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.4799, allocations: 31.84 kB / 0.8596 GB, free: 26.05 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.823e-05/0.4799, allocations: 33.27 kB / 0.8596 GB, free: 26.04 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4799, allocations: 0.5 kB / 0.8596 GB, free: 26.04 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4799, allocations: 4.594 kB / 0.8596 GB, free: 26.04 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.48, allocations: 1.922 kB / 0.8596 GB, free: 26.04 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009725/0.4809, allocations: 0.8213 MB / 0.8604 GB, free: 25.67 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4809, allocations: 0.5 kB / 0.8604 GB, free: 25.67 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.4812, allocations: 54.47 kB / 0.8605 GB, free: 25.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4812, allocations: 1.812 kB / 0.8605 GB, free: 25.67 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.4812, allocations: 15.73 kB / 0.8605 GB, free: 25.67 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4812, allocations: 3.094 kB / 0.8605 GB, free: 25.67 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4812, allocations: 1.906 kB / 0.8605 GB, free: 25.67 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008887/0.4821, allocations: 0.7654 MB / 0.8612 GB, free: 25.32 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.4822, allocations: 55.36 kB / 0.8613 GB, free: 25.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/0.4823, allocations: 14.09 kB / 0.8613 GB, free: 25.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.4825, allocations: 20.28 kB / 0.8613 GB, free: 25.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.4826, allocations: 28.59 kB / 0.8614 GB, free: 25.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.4826, allocations: 21.06 kB / 0.8614 GB, free: 25.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001379/0.4827, allocations: 182.8 kB / 0.8616 GB, free: 25.22 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.4827, allocations: 0.5625 kB / 0.8616 GB, free: 25.22 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.00033/0.483, allocations: 93.75 kB / 0.8616 GB, free: 25.22 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * 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.0001202/0.4832, allocations: 128.3 kB / 0.8618 GB, free: 25.13 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000632/0.4838, allocations: 0.5853 MB / 0.8623 GB, free: 24.77 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4838, allocations: 0.5 kB / 0.8623 GB, free: 24.77 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.4841, allocations: 318.9 kB / 0.8626 GB, free: 24.57 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.4846, allocations: 90.92 kB / 0.8627 GB, free: 24.57 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.4862, allocations: 1.044 MB / 0.8638 GB, free: 24.08 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.4863, allocations: 164.2 kB / 0.8639 GB, free: 24 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.4865, allocations: 35.03 kB / 0.8639 GB, free: 23.99 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.4866, allocations: 27.33 kB / 0.864 GB, free: 23.98 MB / 490.8 MB Notification: Performance of SimCode: time 8.81e-07/0.4866, allocations: 0 / 0.864 GB, free: 23.98 MB / 490.8 MB Notification: Performance of Templates: time 0.01006/0.4966, allocations: 5.296 MB / 0.8691 GB, free: 23.47 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.9007139939349145]