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.001121/0.001121, allocations: 104.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.001237/0.001237, allocations: 215.5 kB / 23 MB, free: 2.938 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 0.9979/0.9979, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.7747/0.7747, allocations: 312.3 MB / 0.6108 GB, free: 97.07 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.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.001686/0.001686, allocations: 83.81 kB / 0.7699 GB, free: 19.87 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.138, allocations: 73.99 MB / 0.8422 GB, free: 10.01 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Hooper2025_stoch_approx): time 0.003004/0.141, allocations: 2.689 MB / 0.8448 GB, free: 7.324 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00589/0.1469, allocations: 6.598 MB / 0.8512 GB, free: 0.7266 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.147, allocations: 0.6875 kB / 0.8512 GB, free: 0.7266 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.1472, allocations: 47.56 kB / 0.8513 GB, free: 0.6797 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.1474, allocations: 112.2 kB / 0.8514 GB, free: 0.5703 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.1477, allocations: 72.62 kB / 0.8515 GB, free: 0.5 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.148, allocations: 386.7 kB / 0.8518 GB, free: 124 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.1481, allocations: 48.91 kB / 0.8519 GB, free: 76 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.1483, allocations: 144.1 kB / 0.852 GB, free: 15.93 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.1485, allocations: 143.9 kB / 0.8521 GB, free: 15.79 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.1485, allocations: 24.59 kB / 0.8522 GB, free: 15.77 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.379e-05/0.1486, allocations: 24 kB / 0.8522 GB, free: 15.75 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.1486, allocations: 52.41 kB / 0.8522 GB, free: 15.7 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1487, allocations: 140 kB / 0.8524 GB, free: 15.56 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.149, allocations: 290.7 kB / 0.8527 GB, free: 15.27 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.149, allocations: 0.6562 kB / 0.8527 GB, free: 15.27 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.683e-06/0.149, allocations: 0 / 0.8527 GB, free: 15.27 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.149, allocations: 4.609 kB / 0.8527 GB, free: 15.27 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.0007814/0.1498, allocations: 0.5999 MB / 0.8532 GB, free: 14.62 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1498, allocations: 8.531 kB / 0.8533 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.935e-05/0.1499, allocations: 32.75 kB / 0.8533 GB, free: 14.58 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.1501, allocations: 209.7 kB / 0.8535 GB, free: 14.35 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.1501, allocations: 17.19 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.1502, allocations: 32.64 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.1505, allocations: 288.4 kB / 0.8538 GB, free: 14 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.1505, allocations: 7.953 kB / 0.8538 GB, free: 13.99 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.1505, allocations: 4.656 kB / 0.8538 GB, free: 13.99 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1505, allocations: 4 kB / 0.8538 GB, free: 13.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.1508, allocations: 233.6 kB / 0.854 GB, free: 13.75 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007874/0.1516, allocations: 0.6815 MB / 0.8547 GB, free: 13.02 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.1519, allocations: 231.4 kB / 0.8549 GB, free: 12.77 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.1521, allocations: 153.1 kB / 0.8551 GB, free: 12.61 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.1521, allocations: 7.938 kB / 0.8551 GB, free: 12.6 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3052/0.4573, allocations: 357.3 kB / 0.8554 GB, free: 21.46 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 4.348e-06/0.4573, allocations: 0.875 kB / 0.8554 GB, free: 21.46 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001578/0.4589, allocations: 1.076 MB / 0.8565 GB, free: 20.97 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.4589, allocations: 223.8 kB / 0.8567 GB, free: 20.72 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.4591, allocations: 249.6 kB / 0.8569 GB, free: 20.62 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.4591, allocations: 35.56 kB / 0.857 GB, free: 20.59 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.4592, allocations: 159 kB / 0.8571 GB, free: 20.49 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.4593, allocations: 111.5 kB / 0.8572 GB, free: 20.43 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.4593, allocations: 78.58 kB / 0.8573 GB, free: 20.41 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.526e-05/0.4594, allocations: 342 kB / 0.8576 GB, free: 20.1 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.4596, allocations: 208.6 kB / 0.8578 GB, free: 19.99 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.4598, allocations: 318.7 kB / 0.8581 GB, free: 19.77 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.4602, allocations: 434.9 kB / 0.8585 GB, free: 19.51 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4602, allocations: 0 / 0.8585 GB, free: 19.51 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004814/0.4606, allocations: 0.551 MB / 0.8591 GB, free: 19.27 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.03e-05/0.4607, allocations: 90.56 kB / 0.8592 GB, free: 19.17 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4607, allocations: 3.281 kB / 0.8592 GB, free: 19.17 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.4607, allocations: 6.797 kB / 0.8592 GB, free: 19.17 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.4609, allocations: 77.47 kB / 0.8592 GB, free: 19.17 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.4609, allocations: 7.812 kB / 0.8593 GB, free: 19.17 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.461, allocations: 25.67 kB / 0.8593 GB, free: 19.17 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.4611, allocations: 20.06 kB / 0.8593 GB, free: 19.17 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.0002052/0.4613, allocations: 220.3 kB / 0.8595 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.4613, allocations: 33.06 kB / 0.8595 GB, free: 18.97 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.4613, allocations: 31.91 kB / 0.8596 GB, free: 18.96 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4613, allocations: 5.719 kB / 0.8596 GB, free: 18.96 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.4614, allocations: 0.5938 kB / 0.8596 GB, free: 18.96 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.4614, allocations: 8.391 kB / 0.8596 GB, free: 18.96 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007154/0.4621, allocations: 0.7559 MB / 0.8603 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4621, allocations: 0.6875 kB / 0.8603 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.4622, allocations: 54.39 kB / 0.8604 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4622, allocations: 7.031 kB / 0.8604 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.4623, allocations: 10.86 kB / 0.8604 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.4623, allocations: 6.344 kB / 0.8604 GB, free: 18.6 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4623, allocations: 0 / 0.8604 GB, free: 18.6 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006047/0.4629, allocations: 0.7354 MB / 0.8611 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.4629, allocations: 21.19 kB / 0.8611 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.4629, allocations: 11.12 kB / 0.8611 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.4631, allocations: 23.97 kB / 0.8612 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/0.4631, allocations: 27.55 kB / 0.8612 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.4632, allocations: 13.23 kB / 0.8612 GB, free: 18.24 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001237/0.4633, allocations: 177.9 kB / 0.8614 GB, free: 18.16 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.4633, allocations: 0.5938 kB / 0.8614 GB, free: 18.16 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002603/0.4635, allocations: 90.09 kB / 0.8615 GB, free: 18.16 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.0001179/0.4637, allocations: 120.3 kB / 0.8616 GB, free: 18.07 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005073/0.4642, allocations: 0.5655 MB / 0.8621 GB, free: 17.72 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4642, allocations: 0 / 0.8621 GB, free: 17.72 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.4644, allocations: 300.6 kB / 0.8624 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.4648, allocations: 91.62 kB / 0.8625 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.466, allocations: 0.9634 MB / 0.8634 GB, free: 17.05 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.4661, allocations: 162.7 kB / 0.8636 GB, free: 16.96 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.778e-05/0.4662, allocations: 32.5 kB / 0.8636 GB, free: 16.96 MB / 490.8 MB Notification: Performance of SimCode: time 7.81e-07/0.4662, allocations: 4 kB / 0.8636 GB, free: 16.95 MB / 490.8 MB Notification: Performance of Templates: time 0.005849/0.472, allocations: 4.01 MB / 0.8676 GB, free: 16.6 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Hooper2025_stoch_approx.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.882848269306123]