Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment.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.000921/0.000921, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.000955/0.000955, allocations: 214.5 kB / 22.25 MB, free: 3.586 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.9547/0.9547, allocations: 230.6 MB / 256 MB, free: 9.637 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.7056/0.7056, allocations: 312.3 MB / 0.6101 GB, free: 97.29 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Pharmacolibrary.Examples.PK_Lithium.PGx_experiment,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_Examples_PK_Lithium_PGx_experiment",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Pharmacolibrary.Examples.PK_Lithium.PGx_experiment,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_Examples_PK_Lithium_PGx_experiment",fmuType="me_cs",version="2.0",platforms={"static"}) [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.00221/0.00221, allocations: 70.56 kB / 0.7708 GB, free: 18.29 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1078, allocations: 73.99 MB / 0.8431 GB, free: 8.438 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_Lithium.PGx_experiment): time 0.007428/0.1152, allocations: 9.802 MB / 0.8527 GB, free: 14.61 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2065/0.3216, allocations: 2.405 MB / 0.855 GB, free: 21.29 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.3228, allocations: 20.12 kB / 0.855 GB, free: 21.29 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0004227/0.3232, allocations: 239.2 kB / 0.8553 GB, free: 21.29 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.3243, allocations: 0.7815 MB / 0.856 GB, free: 21.29 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007003/0.325, allocations: 0.6237 MB / 0.8566 GB, free: 21.29 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.3265, allocations: 2.901 MB / 0.8595 GB, free: 20.81 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000467/0.3269, allocations: 403.8 kB / 0.8599 GB, free: 20.72 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007259/0.3277, allocations: 0.9904 MB / 0.8608 GB, free: 20.58 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007955/0.3285, allocations: 0.9244 MB / 0.8617 GB, free: 20.36 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000239/0.3287, allocations: 312.5 kB / 0.862 GB, free: 20.36 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.329, allocations: 325.5 kB / 0.8623 GB, free: 20.36 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.3292, allocations: 483.5 kB / 0.8628 GB, free: 20.29 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006426/0.3299, allocations: 0.9773 MB / 0.8637 GB, free: 20.07 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.332, allocations: 3.207 MB / 0.8669 GB, free: 18.79 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.332, allocations: 0 / 0.8669 GB, free: 18.79 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.743e-06/0.332, allocations: 5.344 kB / 0.8669 GB, free: 18.79 MB / 490.8 MB Notification: Performance of Transformations before backend: time 2.862e-05/0.332, allocations: 0 / 0.8669 GB, free: 18.79 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.002698/0.3347, allocations: 2.619 MB / 0.8694 GB, free: 16.89 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3347, allocations: 9.312 kB / 0.8694 GB, free: 16.89 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/0.3349, allocations: 180.3 kB / 0.8696 GB, free: 16.78 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.3351, allocations: 202.1 kB / 0.8698 GB, free: 16.68 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.3362, allocations: 0.9813 MB / 0.8708 GB, free: 15.98 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/0.3362, allocations: 89.31 kB / 0.8709 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.3364, allocations: 149 kB / 0.871 GB, free: 15.89 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.3385, allocations: 1.817 MB / 0.8728 GB, free: 14.8 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.326e-05/0.3385, allocations: 21.73 kB / 0.8728 GB, free: 14.79 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.423e-05/0.3386, allocations: 48.47 kB / 0.8728 GB, free: 14.76 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.3387, allocations: 27.97 kB / 0.8729 GB, free: 14.76 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.3408, allocations: 1.673 MB / 0.8745 GB, free: 13.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004741/0.3456, allocations: 4.466 MB / 0.8789 GB, free: 10.98 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.3479, allocations: 1.801 MB / 0.8806 GB, free: 9.922 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.3489, allocations: 1.032 MB / 0.8816 GB, free: 9.211 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.349, allocations: 20.64 kB / 0.8816 GB, free: 9.207 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001719/0.3507, allocations: 2.278 MB / 0.8839 GB, free: 7.555 MB / 490.8 MB Notification: Performance of pre-optimization done (n=192): time 3.206e-06/0.3507, allocations: 3.938 kB / 0.8839 GB, free: 7.551 MB / 490.8 MB Notification: Performance of matching and sorting (n=204): time 0.008529/0.3592, allocations: 8.065 MB / 0.8918 GB, free: 1.887 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003386/0.3596, allocations: 1.173 MB / 0.8929 GB, free: 0.4961 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.3608, allocations: 1.162 MB / 0.894 GB, free: 15.84 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.3609, allocations: 103.5 kB / 0.8941 GB, free: 15.76 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.3613, allocations: 0.584 MB / 0.8947 GB, free: 15.24 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.000385/0.3616, allocations: 0.675 MB / 0.8954 GB, free: 14.67 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004419/0.3621, allocations: 373.2 kB / 0.8957 GB, free: 14.46 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/0.3621, allocations: 306.1 kB / 0.896 GB, free: 14.16 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.3636, allocations: 1.437 MB / 0.8974 GB, free: 13.04 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/0.3655, allocations: 2.086 MB / 0.8995 GB, free: 11.08 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002581/0.3681, allocations: 2.933 MB / 0.9023 GB, free: 8.621 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.3681, allocations: 5.562 kB / 0.9023 GB, free: 8.621 MB / 0.4949 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.003505/0.3716, allocations: 3.643 MB / 0.9059 GB, free: 6.133 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001704/0.3718, allocations: 0.5108 MB / 0.9064 GB, free: 5.539 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.3718, allocations: 14.94 kB / 0.9064 GB, free: 5.539 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.3718, allocations: 30.02 kB / 0.9064 GB, free: 5.539 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009521/0.3728, allocations: 474.2 kB / 0.9069 GB, free: 5.418 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.3728, allocations: 42.73 kB / 0.9069 GB, free: 5.406 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007939/0.3736, allocations: 131 kB / 0.907 GB, free: 5.344 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.3737, allocations: 100.5 kB / 0.9071 GB, free: 5.32 MB / 0.4949 GB Warning: Assuming fixed start value for the following 12 variables: low_clearance.pK_lower.periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real low_clearance.pK_lower.periodicDose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real low_clearance.pK_1C_Lithium_upper.periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real low_clearance.pK_1C_Lithium_upper.periodicDose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real low_clearance.pK_1C_Lithium.periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real low_clearance.pK_1C_Lithium.periodicDose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real normal.pK_lower.periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real normal.pK_lower.periodicDose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real normal.pK_1C_Lithium_upper.periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real normal.pK_1C_Lithium_upper.periodicDose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real normal.pK_1C_Lithium.periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real normal.pK_1C_Lithium.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: 72 * Number of states: 0 () * Number of discrete variables: 126 (normal.pK_1C_Lithium.central.Cmin,$PRE.normal.pK_1C_Lithium.central.Cmin,normal.pK_1C_Lithium.central.Cmax,$PRE.normal.pK_1C_Lithium.central.Cmax,normal.pK_1C_Lithium.periodicDose.route.absorptionLumen.Cmin,$PRE.normal.pK_1C_Lithium.periodicDose.route.absorptionLumen.Cmin,normal.pK_1C_Lithium.periodicDose.route.absorptionLumen.Cmax,$PRE.normal.pK_1C_Lithium.periodicDose.route.absorptionLumen.Cmax,normal.pK_1C_Lithium_upper.central.Cmin,$PRE.normal.pK_1C_Lithium_upper.central.Cmin,normal.pK_1C_Lithium_upper.central.Cmax,$PRE.normal.pK_1C_Lithium_upper.central.Cmax,normal.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.Cmin,$PRE.normal.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.Cmin,normal.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.Cmax,$PRE.normal.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.Cmax,normal.pK_lower.central.Cmin,$PRE.normal.pK_lower.central.Cmin,normal.pK_lower.central.Cmax,$PRE.normal.pK_lower.central.Cmax,normal.pK_lower.periodicDose.route.absorptionLumen.Cmin,$PRE.normal.pK_lower.periodicDose.route.absorptionLumen.Cmin,normal.pK_lower.periodicDose.route.absorptionLumen.Cmax,$PRE.normal.pK_lower.periodicDose.route.absorptionLumen.Cmax,low_clearance.pK_1C_Lithium.central.Cmin,$PRE.low_clearance.pK_1C_Lithium.central.Cmin,low_clearance.pK_1C_Lithium.central.Cmax,$PRE.low_clearance.pK_1C_Lithium.central.Cmax,low_clearance.pK_1C_Lithium.periodicDose.route.absorptionLumen.Cmin,$PRE.low_clearance.pK_1C_Lithium.periodicDose.route.absorptionLumen.Cmin,low_clearance.pK_1C_Lithium.periodicDose.route.absorptionLumen.Cmax,$PRE.low_clearance.pK_1C_Lithium.periodicDose.route.absorptionLumen.Cmax,low_clearance.pK_1C_Lithium_upper.central.Cmin,$PRE.low_clearance.pK_1C_Lithium_upper.central.Cmin,low_clearance.pK_1C_Lithium_upper.central.Cmax,$PRE.low_clearance.pK_1C_Lithium_upper.central.Cmax,low_clearance.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.Cmin,$PRE.low_clearance.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.Cmin,low_clearance.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.Cmax,$PRE.low_clearance.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.Cmax,low_clearance.pK_lower.central.Cmin,$PRE.low_clearance.pK_lower.central.Cmin,low_clearance.pK_lower.central.Cmax,$PRE.low_clearance.pK_lower.central.Cmax,low_clearance.pK_lower.periodicDose.route.absorptionLumen.Cmin,$PRE.low_clearance.pK_lower.periodicDose.route.absorptionLumen.Cmin,low_clearance.pK_lower.periodicDose.route.absorptionLumen.Cmax,$PRE.low_clearance.pK_lower.periodicDose.route.absorptionLumen.Cmax,normal.pK_1C_Lithium.periodicDose.pulse.count,$PRE.normal.pK_1C_Lithium.periodicDose.pulse.count,normal.pK_1C_Lithium.periodicDose.pulse.T_start,$PRE.normal.pK_1C_Lithium.periodicDose.pulse.T_start,normal.pK_1C_Lithium.periodicDose.route.absorptionLumen.rising,$PRE.normal.pK_1C_Lithium.periodicDose.route.absorptionLumen.rising,normal.pK_1C_Lithium.central.rising,$PRE.normal.pK_1C_Lithium.central.rising,$whenCondition30,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,normal.pK_1C_Lithium_upper.periodicDose.pulse.count,$PRE.normal.pK_1C_Lithium_upper.periodicDose.pulse.count,normal.pK_1C_Lithium_upper.periodicDose.pulse.T_start,$PRE.normal.pK_1C_Lithium_upper.periodicDose.pulse.T_start,normal.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.rising,$PRE.normal.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.rising,normal.pK_1C_Lithium_upper.central.rising,$PRE.normal.pK_1C_Lithium_upper.central.rising,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,normal.pK_lower.periodicDose.pulse.count,$PRE.normal.pK_lower.periodicDose.pulse.count,normal.pK_lower.periodicDose.pulse.T_start,$PRE.normal.pK_lower.periodicDose.pulse.T_start,normal.pK_lower.periodicDose.route.absorptionLumen.rising,$PRE.normal.pK_lower.periodicDose.route.absorptionLumen.rising,normal.pK_lower.central.rising,$PRE.normal.pK_lower.central.rising,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,low_clearance.pK_1C_Lithium.periodicDose.pulse.count,$PRE.low_clearance.pK_1C_Lithium.periodicDose.pulse.count,low_clearance.pK_1C_Lithium.periodicDose.pulse.T_start,$PRE.low_clearance.pK_1C_Lithium.periodicDose.pulse.T_start,low_clearance.pK_1C_Lithium.periodicDose.route.absorptionLumen.rising,$PRE.low_clearance.pK_1C_Lithium.periodicDose.route.absorptionLumen.rising,low_clearance.pK_1C_Lithium.central.rising,$PRE.low_clearance.pK_1C_Lithium.central.rising,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,low_clearance.pK_1C_Lithium_upper.periodicDose.pulse.count,$PRE.low_clearance.pK_1C_Lithium_upper.periodicDose.pulse.count,low_clearance.pK_1C_Lithium_upper.periodicDose.pulse.T_start,$PRE.low_clearance.pK_1C_Lithium_upper.periodicDose.pulse.T_start,low_clearance.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.rising,$PRE.low_clearance.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.rising,low_clearance.pK_1C_Lithium_upper.central.rising,$PRE.low_clearance.pK_1C_Lithium_upper.central.rising,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,low_clearance.pK_lower.periodicDose.pulse.count,$PRE.low_clearance.pK_lower.periodicDose.pulse.count,low_clearance.pK_lower.periodicDose.pulse.T_start,$PRE.low_clearance.pK_lower.periodicDose.pulse.T_start,low_clearance.pK_lower.periodicDose.route.absorptionLumen.rising,$PRE.low_clearance.pK_lower.periodicDose.route.absorptionLumen.rising,low_clearance.pK_lower.central.rising,$PRE.low_clearance.pK_lower.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 (294): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 18 * 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.001087/0.3748, allocations: 1.026 MB / 0.9081 GB, free: 4.453 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.375, allocations: 191.8 kB / 0.9083 GB, free: 4.355 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.3752, allocations: 165 kB / 0.9085 GB, free: 4.223 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.3752, allocations: 20.66 kB / 0.9085 GB, free: 4.219 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/0.3752, allocations: 2.375 kB / 0.9085 GB, free: 4.219 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.3753, allocations: 9.188 kB / 0.9085 GB, free: 4.211 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005056/0.3803, allocations: 5.314 MB / 0.9137 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3803, allocations: 4 kB / 0.9137 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008999/0.3812, allocations: 335.5 kB / 0.914 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.3812, allocations: 8.656 kB / 0.914 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.3813, allocations: 83.89 kB / 0.9141 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.78e-06/0.3814, allocations: 8 kB / 0.9141 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3814, allocations: 0 / 0.9141 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004495/0.3858, allocations: 4.745 MB / 0.9188 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005646/0.3864, allocations: 422.7 kB / 0.9192 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/0.3867, allocations: 115.9 kB / 0.9193 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/0.3873, allocations: 99.89 kB / 0.9194 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/0.3876, allocations: 215.6 kB / 0.9196 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.703e-05/0.3877, allocations: 73 kB / 0.9196 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007742/0.3884, allocations: 0.8024 MB / 0.9204 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3884, allocations: 0 / 0.9204 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001001/0.3894, allocations: 0.5 MB / 0.9209 GB, free: 8.023 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 42 (low_clearance.pK_lower.central.C,low_clearance.pK_lower.central.AUC,low_clearance.pK_lower.elim.MExc,low_clearance.pK_lower.periodicDose.TotalCumulativeMass,low_clearance.pK_lower.periodicDose.route.variableDose.TotalCumulativeMass,low_clearance.pK_lower.periodicDose.route.absorptionLumen.C,low_clearance.pK_lower.periodicDose.route.absorptionLumen.AUC,low_clearance.pK_1C_Lithium_upper.central.C,low_clearance.pK_1C_Lithium_upper.central.AUC,low_clearance.pK_1C_Lithium_upper.elim.MExc,low_clearance.pK_1C_Lithium_upper.periodicDose.TotalCumulativeMass,low_clearance.pK_1C_Lithium_upper.periodicDose.route.variableDose.TotalCumulativeMass,low_clearance.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.C,low_clearance.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.AUC,low_clearance.pK_1C_Lithium.central.C,low_clearance.pK_1C_Lithium.central.AUC,low_clearance.pK_1C_Lithium.elim.MExc,low_clearance.pK_1C_Lithium.periodicDose.TotalCumulativeMass,low_clearance.pK_1C_Lithium.periodicDose.route.variableDose.TotalCumulativeMass,low_clearance.pK_1C_Lithium.periodicDose.route.absorptionLumen.C,low_clearance.pK_1C_Lithium.periodicDose.route.absorptionLumen.AUC,normal.pK_lower.central.C,normal.pK_lower.central.AUC,normal.pK_lower.elim.MExc,normal.pK_lower.periodicDose.TotalCumulativeMass,normal.pK_lower.periodicDose.route.variableDose.TotalCumulativeMass,normal.pK_lower.periodicDose.route.absorptionLumen.C,normal.pK_lower.periodicDose.route.absorptionLumen.AUC,normal.pK_1C_Lithium_upper.central.C,normal.pK_1C_Lithium_upper.central.AUC,normal.pK_1C_Lithium_upper.elim.MExc,normal.pK_1C_Lithium_upper.periodicDose.TotalCumulativeMass,normal.pK_1C_Lithium_upper.periodicDose.route.variableDose.TotalCumulativeMass,normal.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.C,normal.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.AUC,normal.pK_1C_Lithium.central.C,normal.pK_1C_Lithium.central.AUC,normal.pK_1C_Lithium.elim.MExc,normal.pK_1C_Lithium.periodicDose.TotalCumulativeMass,normal.pK_1C_Lithium.periodicDose.route.variableDose.TotalCumulativeMass,normal.pK_1C_Lithium.periodicDose.route.absorptionLumen.C,normal.pK_1C_Lithium.periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 78 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,low_clearance.pK_lower.central.Cmax,low_clearance.pK_lower.central.Cmin,low_clearance.pK_lower.central.rising,low_clearance.pK_lower.periodicDose.route.absorptionLumen.Cmax,low_clearance.pK_lower.periodicDose.route.absorptionLumen.Cmin,low_clearance.pK_lower.periodicDose.route.absorptionLumen.rising,low_clearance.pK_lower.periodicDose.pulse.T_start,low_clearance.pK_lower.periodicDose.pulse.count,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,low_clearance.pK_1C_Lithium_upper.central.Cmax,low_clearance.pK_1C_Lithium_upper.central.Cmin,low_clearance.pK_1C_Lithium_upper.central.rising,low_clearance.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.Cmax,low_clearance.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.Cmin,low_clearance.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.rising,low_clearance.pK_1C_Lithium_upper.periodicDose.pulse.T_start,low_clearance.pK_1C_Lithium_upper.periodicDose.pulse.count,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,low_clearance.pK_1C_Lithium.central.Cmax,low_clearance.pK_1C_Lithium.central.Cmin,low_clearance.pK_1C_Lithium.central.rising,low_clearance.pK_1C_Lithium.periodicDose.route.absorptionLumen.Cmax,low_clearance.pK_1C_Lithium.periodicDose.route.absorptionLumen.Cmin,low_clearance.pK_1C_Lithium.periodicDose.route.absorptionLumen.rising,low_clearance.pK_1C_Lithium.periodicDose.pulse.T_start,low_clearance.pK_1C_Lithium.periodicDose.pulse.count,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,normal.pK_lower.central.Cmax,normal.pK_lower.central.Cmin,normal.pK_lower.central.rising,normal.pK_lower.periodicDose.route.absorptionLumen.Cmax,normal.pK_lower.periodicDose.route.absorptionLumen.Cmin,normal.pK_lower.periodicDose.route.absorptionLumen.rising,normal.pK_lower.periodicDose.pulse.T_start,normal.pK_lower.periodicDose.pulse.count,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,normal.pK_1C_Lithium_upper.central.Cmax,normal.pK_1C_Lithium_upper.central.Cmin,normal.pK_1C_Lithium_upper.central.rising,normal.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.Cmax,normal.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.Cmin,normal.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.rising,normal.pK_1C_Lithium_upper.periodicDose.pulse.T_start,normal.pK_1C_Lithium_upper.periodicDose.pulse.count,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition29,$whenCondition30,normal.pK_1C_Lithium.central.Cmax,normal.pK_1C_Lithium.central.Cmin,normal.pK_1C_Lithium.central.rising,normal.pK_1C_Lithium.periodicDose.route.absorptionLumen.Cmax,normal.pK_1C_Lithium.periodicDose.route.absorptionLumen.Cmin,normal.pK_1C_Lithium.periodicDose.route.absorptionLumen.rising,normal.pK_1C_Lithium.periodicDose.pulse.T_start,normal.pK_1C_Lithium.periodicDose.pulse.count) * Number of discrete states: 66 (normal.pK_1C_Lithium.periodicDose.pulse.count,normal.pK_1C_Lithium.central.Cmin,$whenCondition30,normal.pK_1C_Lithium.central.Cmax,$whenCondition29,normal.pK_1C_Lithium.central.rising,normal.pK_1C_Lithium.periodicDose.route.absorptionLumen.Cmin,$whenCondition28,normal.pK_1C_Lithium.periodicDose.route.absorptionLumen.Cmax,$whenCondition27,normal.pK_1C_Lithium.periodicDose.route.absorptionLumen.rising,normal.pK_1C_Lithium_upper.periodicDose.pulse.count,normal.pK_1C_Lithium_upper.central.Cmin,$whenCondition25,normal.pK_1C_Lithium_upper.central.Cmax,$whenCondition24,normal.pK_1C_Lithium_upper.central.rising,normal.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.Cmin,$whenCondition23,normal.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.Cmax,$whenCondition22,normal.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.rising,normal.pK_lower.periodicDose.pulse.count,normal.pK_lower.central.Cmin,$whenCondition20,normal.pK_lower.central.Cmax,$whenCondition19,normal.pK_lower.central.rising,normal.pK_lower.periodicDose.route.absorptionLumen.Cmin,$whenCondition18,normal.pK_lower.periodicDose.route.absorptionLumen.Cmax,$whenCondition17,normal.pK_lower.periodicDose.route.absorptionLumen.rising,low_clearance.pK_1C_Lithium.periodicDose.pulse.count,low_clearance.pK_1C_Lithium.central.Cmin,$whenCondition15,low_clearance.pK_1C_Lithium.central.Cmax,$whenCondition14,low_clearance.pK_1C_Lithium.central.rising,low_clearance.pK_1C_Lithium.periodicDose.route.absorptionLumen.Cmin,$whenCondition13,low_clearance.pK_1C_Lithium.periodicDose.route.absorptionLumen.Cmax,$whenCondition12,low_clearance.pK_1C_Lithium.periodicDose.route.absorptionLumen.rising,low_clearance.pK_1C_Lithium_upper.periodicDose.pulse.count,low_clearance.pK_1C_Lithium_upper.central.Cmin,$whenCondition10,low_clearance.pK_1C_Lithium_upper.central.Cmax,$whenCondition9,low_clearance.pK_1C_Lithium_upper.central.rising,low_clearance.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.Cmin,$whenCondition8,low_clearance.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.Cmax,$whenCondition7,low_clearance.pK_1C_Lithium_upper.periodicDose.route.absorptionLumen.rising,low_clearance.pK_lower.periodicDose.pulse.count,low_clearance.pK_lower.central.Cmin,$whenCondition5,low_clearance.pK_lower.central.Cmax,$whenCondition4,low_clearance.pK_lower.central.rising,low_clearance.pK_lower.periodicDose.route.absorptionLumen.Cmin,$whenCondition3,low_clearance.pK_lower.periodicDose.route.absorptionLumen.Cmax,$whenCondition2,low_clearance.pK_lower.periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 12 * 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.004842/0.3943, allocations: 5.513 MB / 0.9263 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003339/0.3976, allocations: 3.857 MB / 0.9301 GB, free: 13.99 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3976, allocations: 0 / 0.9301 GB, free: 13.99 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.001647/0.3993, allocations: 2.138 MB / 0.9321 GB, free: 11.64 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.401, allocations: 0.5829 MB / 0.9327 GB, free: 11.08 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/0.4221, allocations: 20.89 MB / 0.9531 GB, free: 4.859 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005268/0.4227, allocations: 0.6867 MB / 0.9538 GB, free: 4.137 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.0007314/0.4234, allocations: 205.5 kB / 0.954 GB, free: 3.93 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006554/0.4241, allocations: 0.6438 MB / 0.9546 GB, free: 3.285 MB / 0.5418 GB Notification: Performance of SimCode: time 1.342e-06/0.4241, allocations: 0 / 0.9546 GB, free: 3.285 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/0.54, allocations: 51.31 MB / 1.005 GB, free: 1.211 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/8.277, allocations: 2.188 kB / 1.005 GB, free: 1.211 MB / 0.5887 GB " [Timeout remaining time 652] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Pharmacolibrary_Pharmacolibrary_Examples_PK_Lithium_PGx_experiment_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../Pharmacolibrary_Pharmacolibrary_Examples_PK_Lithium_PGx_experiment.fmu) > Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment.pipe 2>&1) [Timeout 252.0] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment_OMSimulator-cs-cvode.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Pharmacolibrary_Pharmacolibrary_Examples_PK_Lithium_PGx_experiment_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../Pharmacolibrary_Pharmacolibrary_Examples_PK_Lithium_PGx_experiment_OMSimulator-cs-cvode.fmu) > Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment_OMSimulator-cs-euler.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment_OMSimulator-cs-euler.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Pharmacolibrary_Pharmacolibrary_Examples_PK_Lithium_PGx_experiment_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../Pharmacolibrary_Pharmacolibrary_Examples_PK_Lithium_PGx_experiment_OMSimulator-cs-euler.fmu) > Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment_fmpy.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment_fmpy.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Pharmacolibrary_Pharmacolibrary_Examples_PK_Lithium_PGx_experiment.fmu) > Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PGx_experiment_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 11.913662298582494]