Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Hooper2025_stoch_approx.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.001801/0.001801, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.001913/0.001913, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.738/1.738, allocations: 230.6 MB / 256 MB, free: 9.586 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.44/1.44, allocations: 316.7 MB / 0.6144 GB, free: 93.02 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.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Hooper2025_stoch_approx,tolerance=1e-09,outputFormat="empty",numberOfIntervals=15552000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Hooper2025_stoch_approx") translateModel(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Hooper2025_stoch_approx,tolerance=1e-09,outputFormat="empty",numberOfIntervals=15552000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Hooper2025_stoch_approx") [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.00392/0.00392, allocations: 73.67 kB / 0.775 GB, free: 14.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1947, allocations: 73.99 MB / 0.8473 GB, free: 4.82 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Hooper2025_stoch_approx): time 0.004775/0.1995, allocations: 2.688 MB / 0.8499 GB, free: 2.133 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3879/0.5874, allocations: 6.603 MB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.5877, allocations: 4 kB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.5879, allocations: 42.14 kB / 0.8564 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.5883, allocations: 121.2 kB / 0.8565 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.5886, allocations: 68.86 kB / 0.8566 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.5891, allocations: 377.8 kB / 0.8569 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003221/0.5923, allocations: 52.95 kB / 0.857 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.5926, allocations: 144.3 kB / 0.8571 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003172/0.5929, allocations: 142.4 kB / 0.8572 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/0.5929, allocations: 25.66 kB / 0.8573 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.169e-05/0.593, allocations: 23.41 kB / 0.8573 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 6.455e-05/0.5931, allocations: 56.08 kB / 0.8573 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.5932, allocations: 133.5 kB / 0.8575 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.5937, allocations: 286.5 kB / 0.8577 GB, free: 21.74 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5937, allocations: 1.453 kB / 0.8577 GB, free: 21.74 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5937, allocations: 0.8438 kB / 0.8577 GB, free: 21.74 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.5937, allocations: 1.25 kB / 0.8577 GB, free: 21.74 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001218/0.5949, allocations: 0.5998 MB / 0.8583 GB, free: 21.27 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.595, allocations: 8.188 kB / 0.8583 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.5951, allocations: 33.06 kB / 0.8584 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.5955, allocations: 215.2 kB / 0.8586 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.5955, allocations: 15.28 kB / 0.8586 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.5956, allocations: 30.89 kB / 0.8586 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.5962, allocations: 280.9 kB / 0.8589 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.5963, allocations: 6.703 kB / 0.8589 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.5963, allocations: 8.594 kB / 0.8589 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.5963, allocations: 7.812 kB / 0.8589 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.5969, allocations: 231.3 kB / 0.8591 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.5983, allocations: 0.68 MB / 0.8598 GB, free: 20.55 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.5989, allocations: 239.1 kB / 0.86 GB, free: 20.46 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.5991, allocations: 151.4 kB / 0.8602 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.5992, allocations: 5 kB / 0.8602 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000429/0.5996, allocations: 361.4 kB / 0.8605 GB, free: 20.15 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.894e-06/0.5996, allocations: 0 / 0.8605 GB, free: 20.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001893/0.6015, allocations: 1.083 MB / 0.8616 GB, free: 19.61 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.6016, allocations: 217 kB / 0.8618 GB, free: 19.36 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.6018, allocations: 246.4 kB / 0.862 GB, free: 19.25 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.6018, allocations: 37.2 kB / 0.8621 GB, free: 19.22 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.6019, allocations: 162.9 kB / 0.8622 GB, free: 19.11 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/0.602, allocations: 114.5 kB / 0.8623 GB, free: 19.04 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.6021, allocations: 73.66 kB / 0.8624 GB, free: 19.02 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.6022, allocations: 340.5 kB / 0.8627 GB, free: 18.71 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.6025, allocations: 207.5 kB / 0.8629 GB, free: 18.61 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.6028, allocations: 318.6 kB / 0.8632 GB, free: 18.38 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005718/0.6034, allocations: 431.5 kB / 0.8636 GB, free: 18.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6034, allocations: 0 / 0.8636 GB, free: 18.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008876/0.6043, allocations: 0.5527 MB / 0.8642 GB, free: 17.85 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.113e-05/0.6043, allocations: 89.25 kB / 0.8643 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.6043, allocations: 5 kB / 0.8643 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.6044, allocations: 3.875 kB / 0.8643 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.6047, allocations: 81 kB / 0.8643 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.6047, allocations: 6.609 kB / 0.8643 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.6049, allocations: 29.59 kB / 0.8644 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.605, allocations: 17.28 kB / 0.8644 GB, free: 17.75 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0002485/0.6052, allocations: 223.5 kB / 0.8646 GB, free: 17.56 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.6053, allocations: 32.14 kB / 0.8646 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.478e-05/0.6053, allocations: 31.3 kB / 0.8647 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.6053, allocations: 4.062 kB / 0.8647 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.6053, allocations: 1.031 kB / 0.8647 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.6054, allocations: 5.812 kB / 0.8647 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.6066, allocations: 0.7668 MB / 0.8654 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6066, allocations: 0 / 0.8654 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.6069, allocations: 58.17 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.6069, allocations: 1.156 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.6069, allocations: 15.83 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.6069, allocations: 1.719 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.6069, allocations: 1.156 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.608, allocations: 0.7246 MB / 0.8662 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.6081, allocations: 29.61 kB / 0.8662 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/0.6081, allocations: 15.66 kB / 0.8662 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.6083, allocations: 16.17 kB / 0.8663 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.6084, allocations: 30.66 kB / 0.8663 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.6085, allocations: 16.48 kB / 0.8663 GB, free: 16.79 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002052/0.6087, allocations: 179 kB / 0.8665 GB, free: 16.71 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6087, allocations: 0 / 0.8665 GB, free: 16.71 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003843/0.6091, allocations: 90.22 kB / 0.8666 GB, free: 16.71 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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.0001537/0.6092, allocations: 126 kB / 0.8667 GB, free: 16.61 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0008847/0.6101, allocations: 0.5687 MB / 0.8672 GB, free: 16.25 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6101, allocations: 0.5938 kB / 0.8672 GB, free: 16.25 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.6105, allocations: 301.3 kB / 0.8675 GB, free: 16.06 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.6111, allocations: 78.84 kB / 0.8676 GB, free: 16.06 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.6128, allocations: 0.9413 MB / 0.8685 GB, free: 15.58 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.613, allocations: 159.2 kB / 0.8687 GB, free: 15.5 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.6131, allocations: 35.34 kB / 0.8687 GB, free: 15.49 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/0.6132, allocations: 29.5 kB / 0.8687 GB, free: 15.48 MB / 490.8 MB Notification: Performance of SimCode: time 6.21e-07/0.6132, allocations: 1.312 kB / 0.8687 GB, free: 15.48 MB / 490.8 MB Notification: Performance of Templates: time 0.01135/0.6245, allocations: 5.004 MB / 0.8736 GB, free: 14.99 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Hooper2025_stoch_approx.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Hooper2025_stoch_approx.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Hooper2025_stoch_approx.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Hooper2025_stoch_approx.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Hooper2025_stoch_approx.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Hooper2025_stoch_approx -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Hooper2025_stoch_approx.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 27.668289112159982]