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.001005/0.001005, allocations: 108.4 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.001155/0.001155, allocations: 221.3 kB / 23.01 MB, free: 2.941 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.108/1.108, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7713/0.7713, allocations: 312.3 MB / 0.6108 GB, free: 97.13 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.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.001523/0.001523, allocations: 72.48 kB / 0.7699 GB, free: 19.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1425, allocations: 73.99 MB / 0.8421 GB, free: 9.875 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid_Cuypers2025_reference): time 0.003159/0.1457, allocations: 2.323 MB / 0.8444 GB, free: 7.555 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009286/0.1466, allocations: 0.5947 MB / 0.845 GB, free: 6.965 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1467, allocations: 0.6562 kB / 0.845 GB, free: 6.965 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.1468, allocations: 23.72 kB / 0.845 GB, free: 6.941 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.147, allocations: 88.44 kB / 0.8451 GB, free: 6.855 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.1472, allocations: 48.38 kB / 0.8451 GB, free: 6.809 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.1475, allocations: 255.3 kB / 0.8454 GB, free: 6.559 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.1476, allocations: 37.06 kB / 0.8454 GB, free: 6.523 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.1477, allocations: 92.16 kB / 0.8455 GB, free: 6.434 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.1479, allocations: 100.2 kB / 0.8456 GB, free: 6.336 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.1479, allocations: 16 kB / 0.8456 GB, free: 6.32 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.614e-05/0.148, allocations: 20.62 kB / 0.8456 GB, free: 6.301 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.479e-05/0.148, allocations: 39.84 kB / 0.8457 GB, free: 6.262 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.651e-05/0.1481, allocations: 84.2 kB / 0.8457 GB, free: 6.18 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.1483, allocations: 199.9 kB / 0.8459 GB, free: 5.984 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1483, allocations: 0 / 0.8459 GB, free: 5.984 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1483, allocations: 0.5938 kB / 0.8459 GB, free: 5.984 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.1483, allocations: 4 kB / 0.8459 GB, free: 5.98 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.000718/0.149, allocations: 0.4946 MB / 0.8464 GB, free: 5.441 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1491, allocations: 8.531 kB / 0.8464 GB, free: 5.434 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.1491, allocations: 29.36 kB / 0.8465 GB, free: 5.406 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.1493, allocations: 183 kB / 0.8466 GB, free: 5.199 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1493, allocations: 9.141 kB / 0.8466 GB, free: 5.191 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.1494, allocations: 24.52 kB / 0.8467 GB, free: 5.168 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.1497, allocations: 198.9 kB / 0.8469 GB, free: 4.957 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1497, allocations: 0 / 0.8469 GB, free: 4.957 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1497, allocations: 4.594 kB / 0.8469 GB, free: 4.953 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1497, allocations: 4.594 kB / 0.8469 GB, free: 4.949 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.1499, allocations: 146.9 kB / 0.847 GB, free: 4.801 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006074/0.1505, allocations: 478.7 kB / 0.8475 GB, free: 4.301 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.1509, allocations: 185.2 kB / 0.8476 GB, free: 4.105 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.151, allocations: 97.48 kB / 0.8477 GB, free: 4.004 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.151, allocations: 4.594 kB / 0.8477 GB, free: 4 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.1513, allocations: 225.2 kB / 0.8479 GB, free: 3.75 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 2.645e-06/0.1513, allocations: 0.7188 kB / 0.8479 GB, free: 3.75 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.001096/0.1524, allocations: 0.6968 MB / 0.8486 GB, free: 2.992 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.1524, allocations: 141 kB / 0.8488 GB, free: 2.824 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1526, allocations: 216.7 kB / 0.849 GB, free: 2.605 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1526, allocations: 33.7 kB / 0.849 GB, free: 2.566 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.1527, allocations: 129 kB / 0.8491 GB, free: 2.438 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/0.153, allocations: 76.09 kB / 0.8492 GB, free: 2.363 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.1531, allocations: 57.66 kB / 0.8493 GB, free: 2.301 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.1532, allocations: 335.2 kB / 0.8496 GB, free: 1.965 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.1534, allocations: 149.5 kB / 0.8497 GB, free: 1.801 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.1536, allocations: 222 kB / 0.8499 GB, free: 1.539 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.1538, allocations: 281.7 kB / 0.8502 GB, free: 1.227 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1538, allocations: 0.6562 kB / 0.8502 GB, free: 1.227 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003958/0.1542, allocations: 389.9 kB / 0.8506 GB, free: 0.8164 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.1543, allocations: 64.05 kB / 0.8506 GB, free: 0.7422 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1543, allocations: 4.688 kB / 0.8506 GB, free: 0.7383 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1543, allocations: 7.938 kB / 0.8506 GB, free: 0.7305 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1544, allocations: 44.59 kB / 0.8507 GB, free: 0.6875 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1544, allocations: 12.38 kB / 0.8507 GB, free: 0.6758 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.396e-05/0.1545, allocations: 16.58 kB / 0.8507 GB, free: 0.6602 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.1545, allocations: 12 kB / 0.8507 GB, free: 0.6484 MB / 474.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.0001852/0.1547, allocations: 176.7 kB / 0.8509 GB, free: 476 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.1547, allocations: 28.55 kB / 0.8509 GB, free: 448 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.1548, allocations: 25.95 kB / 0.8509 GB, free: 420 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1548, allocations: 4.625 kB / 0.8509 GB, free: 416 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1548, allocations: 0 / 0.8509 GB, free: 416 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1548, allocations: 0.625 kB / 0.8509 GB, free: 416 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.1553, allocations: 0.5442 MB / 0.8515 GB, free: 15.82 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1553, allocations: 0.5 kB / 0.8515 GB, free: 15.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.1555, allocations: 40.53 kB / 0.8515 GB, free: 15.78 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1555, allocations: 0.5938 kB / 0.8515 GB, free: 15.78 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1555, allocations: 8 kB / 0.8515 GB, free: 15.77 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.1555, allocations: 8.422 kB / 0.8515 GB, free: 15.76 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1555, allocations: 0.625 kB / 0.8515 GB, free: 15.76 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.156, allocations: 0.49 MB / 0.852 GB, free: 15.24 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.156, allocations: 20.64 kB / 0.852 GB, free: 15.22 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.156, allocations: 8 kB / 0.852 GB, free: 15.21 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.1561, allocations: 16.58 kB / 0.8521 GB, free: 15.2 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.1562, allocations: 25.23 kB / 0.8521 GB, free: 15.17 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.1562, allocations: 4 kB / 0.8521 GB, free: 15.17 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1563, allocations: 155.4 kB / 0.8522 GB, free: 15.02 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1563, allocations: 1.062 kB / 0.8522 GB, free: 15.02 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002229/0.1566, allocations: 56 kB / 0.8523 GB, free: 14.96 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.000124/0.1567, allocations: 116.4 kB / 0.8524 GB, free: 14.84 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003859/0.1571, allocations: 381.4 kB / 0.8528 GB, free: 14.43 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1571, allocations: 0 / 0.8528 GB, free: 14.43 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.1572, allocations: 173 kB / 0.8529 GB, free: 14.24 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.1575, allocations: 62.94 kB / 0.853 GB, free: 14.18 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1585, allocations: 0.7078 MB / 0.8537 GB, free: 13.51 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.435e-05/0.1586, allocations: 129.5 kB / 0.8538 GB, free: 13.36 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.1587, allocations: 23.42 kB / 0.8538 GB, free: 13.34 MB / 490.8 MB Notification: Performance of SimCode: time 5.71e-07/0.1587, allocations: 4 kB / 0.8538 GB, free: 13.34 MB / 490.8 MB Notification: Performance of Templates: time 0.2451/0.4038, allocations: 2.922 MB / 0.8567 GB, free: 28.82 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid_Cuypers2025_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.393370408564806]