Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid_Cuypers2025_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.00237/0.00237, 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.002716/0.002716, allocations: 225.1 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.715/1.715, allocations: 230.6 MB / 256 MB, free: 9.613 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.481/1.481, allocations: 316.7 MB / 0.6144 GB, free: 93.12 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.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid_Cuypers2025_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid_Cuypers2025_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid_Cuypers2025_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid_Cuypers2025_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.003868/0.003868, allocations: 78 kB / 0.775 GB, free: 14.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1508, allocations: 73.99 MB / 0.8472 GB, free: 4.934 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid_Cuypers2025_reference): time 0.004178/0.1549, allocations: 2.326 MB / 0.8495 GB, free: 2.605 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1563, allocations: 0.5912 MB / 0.8501 GB, free: 2.02 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1564, allocations: 4.688 kB / 0.8501 GB, free: 2.016 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.1565, allocations: 27.7 kB / 0.8501 GB, free: 1.988 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.1568, allocations: 80.58 kB / 0.8502 GB, free: 1.91 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.157, allocations: 48.39 kB / 0.8502 GB, free: 1.863 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.1574, allocations: 259.4 kB / 0.8505 GB, free: 1.609 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.1575, allocations: 36.58 kB / 0.8505 GB, free: 1.574 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.1577, allocations: 92.27 kB / 0.8506 GB, free: 1.484 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.1579, allocations: 96.17 kB / 0.8507 GB, free: 1.391 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.158, allocations: 16 kB / 0.8507 GB, free: 1.375 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.638e-05/0.158, allocations: 20.72 kB / 0.8507 GB, free: 1.355 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.158, allocations: 43.77 kB / 0.8508 GB, free: 1.312 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1582, allocations: 88.19 kB / 0.8508 GB, free: 1.227 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.1585, allocations: 195.7 kB / 0.851 GB, free: 1.035 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1585, allocations: 0.5 kB / 0.851 GB, free: 1.035 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1585, allocations: 0 / 0.851 GB, free: 1.035 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1585, allocations: 0.625 kB / 0.851 GB, free: 1.035 MB / 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.001011/0.1595, allocations: 0.4947 MB / 0.8515 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1595, allocations: 8.031 kB / 0.8515 GB, free: 500 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.1596, allocations: 25.36 kB / 0.8516 GB, free: 476 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.1599, allocations: 187.7 kB / 0.8517 GB, free: 260 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1599, allocations: 12.61 kB / 0.8517 GB, free: 248 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.16, allocations: 24.48 kB / 0.8518 GB, free: 224 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.1604, allocations: 194.6 kB / 0.852 GB, free: 16 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1604, allocations: 4.625 kB / 0.852 GB, free: 12 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.1604, allocations: 8 kB / 0.852 GB, free: 4 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1604, allocations: 0.625 kB / 0.852 GB, free: 4 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.1608, allocations: 152.1 kB / 0.8521 GB, free: 15.85 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008884/0.1617, allocations: 485.4 kB / 0.8526 GB, free: 15.34 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.1622, allocations: 172.1 kB / 0.8527 GB, free: 15.16 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.1625, allocations: 95.58 kB / 0.8528 GB, free: 15.06 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.1625, allocations: 4 kB / 0.8528 GB, free: 15.06 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004143/0.1629, allocations: 226.9 kB / 0.853 GB, free: 14.81 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.1629, allocations: 0 / 0.853 GB, free: 14.81 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001965/0.1649, allocations: 0.7007 MB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.165, allocations: 140.5 kB / 0.8539 GB, free: 13.88 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.1652, allocations: 220 kB / 0.8541 GB, free: 13.66 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.1653, allocations: 25.7 kB / 0.8541 GB, free: 13.62 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.1654, allocations: 137 kB / 0.8542 GB, free: 13.49 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/0.1654, allocations: 68.48 kB / 0.8543 GB, free: 13.42 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.1656, allocations: 57.66 kB / 0.8544 GB, free: 13.36 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.1658, allocations: 338.8 kB / 0.8547 GB, free: 13.02 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.1661, allocations: 146.9 kB / 0.8548 GB, free: 12.86 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.1664, allocations: 221.3 kB / 0.855 GB, free: 12.6 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3626/0.529, allocations: 276.2 kB / 0.8553 GB, free: 28.35 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.529, allocations: 0 / 0.8553 GB, free: 28.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008546/0.5298, allocations: 398.3 kB / 0.8557 GB, free: 28.19 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.186e-05/0.5299, allocations: 68.53 kB / 0.8557 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.5299, allocations: 2.641 kB / 0.8557 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/0.5299, allocations: 4.812 kB / 0.8557 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.5302, allocations: 47.95 kB / 0.8558 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.5302, allocations: 5.562 kB / 0.8558 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.5304, allocations: 16.34 kB / 0.8558 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.5304, allocations: 12.19 kB / 0.8558 GB, free: 28.12 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.0002581/0.5307, allocations: 173.1 kB / 0.856 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.5307, allocations: 27.08 kB / 0.856 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.724e-05/0.5308, allocations: 23.69 kB / 0.856 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.5308, allocations: 2.5 kB / 0.856 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.5308, allocations: 3.078 kB / 0.856 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.5308, allocations: 0 / 0.856 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008431/0.5316, allocations: 0.5379 MB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5316, allocations: 4.188 kB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.5318, allocations: 35.48 kB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5318, allocations: 0.5312 kB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.5318, allocations: 10.8 kB / 0.8566 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5319, allocations: 8.266 kB / 0.8566 GB, free: 27.67 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.5319, allocations: 0.5625 kB / 0.8566 GB, free: 27.67 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007645/0.5326, allocations: 0.4916 MB / 0.8571 GB, free: 27.45 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.5327, allocations: 24.75 kB / 0.8571 GB, free: 27.45 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.5327, allocations: 7.562 kB / 0.8571 GB, free: 27.45 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.5329, allocations: 17.02 kB / 0.8571 GB, free: 27.45 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.533, allocations: 19.95 kB / 0.8572 GB, free: 27.45 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.533, allocations: 10.89 kB / 0.8572 GB, free: 27.45 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001542/0.5331, allocations: 153.6 kB / 0.8573 GB, free: 27.37 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5331, allocations: 0 / 0.8573 GB, free: 27.37 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003333/0.5335, allocations: 54.44 kB / 0.8574 GB, free: 27.37 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.0001612/0.5336, allocations: 112.7 kB / 0.8575 GB, free: 27.29 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000601/0.5342, allocations: 386 kB / 0.8579 GB, free: 27.06 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5342, allocations: 0.625 kB / 0.8579 GB, free: 27.06 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.5345, allocations: 176.4 kB / 0.858 GB, free: 26.96 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.535, allocations: 63.95 kB / 0.8581 GB, free: 26.96 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.5363, allocations: 0.6715 MB / 0.8587 GB, free: 26.68 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.5364, allocations: 127.8 kB / 0.8589 GB, free: 26.61 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.782e-05/0.5365, allocations: 22.72 kB / 0.8589 GB, free: 26.6 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.5366, allocations: 24.78 kB / 0.8589 GB, free: 26.59 MB / 490.8 MB Notification: Performance of SimCode: time 7.11e-07/0.5366, allocations: 0.5625 kB / 0.8589 GB, free: 26.59 MB / 490.8 MB Notification: Performance of Templates: time 0.008455/0.545, allocations: 3.644 MB / 0.8625 GB, free: 26.3 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid_Cuypers2025_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid_Cuypers2025_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid_Cuypers2025_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid_Cuypers2025_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid_Cuypers2025_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid_Cuypers2025_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid_Cuypers2025_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.493565673939884]