Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_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.001508/0.001508, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.00187/0.00187, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.967/0.967, allocations: 177.1 MB / 203.5 MB, free: 5.375 MB / 186.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.7555/0.7555, allocations: 291.2 MB / 0.5382 GB, free: 51.61 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.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.094e-05, allocations: 10.16 kB / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference): time 0.003846/0.003877, allocations: 2.29 MB / 0.6996 GB, free: 8.074 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.005211, allocations: 0.6 MB / 0.7002 GB, free: 7.473 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.005382, allocations: 0 / 0.7002 GB, free: 7.473 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.005523, allocations: 23.72 kB / 0.7002 GB, free: 7.449 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.0058, allocations: 87.28 kB / 0.7003 GB, free: 7.363 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.006097, allocations: 55.86 kB / 0.7003 GB, free: 7.309 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003684/0.006465, allocations: 262.6 kB / 0.7006 GB, free: 7.051 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.006641, allocations: 40.5 kB / 0.7006 GB, free: 7.016 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003047/0.006945, allocations: 135.7 kB / 0.7007 GB, free: 6.883 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.007245, allocations: 83.72 kB / 0.7008 GB, free: 6.801 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 6.384e-05/0.007309, allocations: 20 kB / 0.7008 GB, free: 6.781 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.899e-05/0.007358, allocations: 16 kB / 0.7009 GB, free: 6.766 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.007398, allocations: 43.7 kB / 0.7009 GB, free: 6.723 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.007514, allocations: 71.84 kB / 0.701 GB, free: 6.652 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.007873, allocations: 203.4 kB / 0.7012 GB, free: 6.453 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.007878, allocations: 0 / 0.7012 GB, free: 6.453 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.434e-06/0.007881, allocations: 0 / 0.7012 GB, free: 6.453 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.007893, allocations: 0 / 0.7012 GB, free: 6.453 MB / 410.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.0009907/0.008883, allocations: 499.4 kB / 0.7016 GB, free: 5.922 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.405e-05/0.008957, allocations: 8.031 kB / 0.7016 GB, free: 5.914 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.009086, allocations: 24.8 kB / 0.7017 GB, free: 5.891 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.009463, allocations: 182.4 kB / 0.7018 GB, free: 5.684 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.009495, allocations: 12.61 kB / 0.7019 GB, free: 5.672 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/0.009552, allocations: 16.38 kB / 0.7019 GB, free: 5.656 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.01003, allocations: 194.5 kB / 0.7021 GB, free: 5.453 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.01006, allocations: 3.953 kB / 0.7021 GB, free: 5.449 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.01009, allocations: 12 kB / 0.7021 GB, free: 5.438 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.0101, allocations: 0 / 0.7021 GB, free: 5.438 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.01044, allocations: 154.2 kB / 0.7022 GB, free: 5.281 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.01148, allocations: 485.4 kB / 0.7027 GB, free: 4.773 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/0.01206, allocations: 180 kB / 0.7029 GB, free: 4.582 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.01222, allocations: 102.4 kB / 0.703 GB, free: 4.473 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.01224, allocations: 4 kB / 0.703 GB, free: 4.469 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.01265, allocations: 228.4 kB / 0.7032 GB, free: 4.215 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 2.685e-06/0.01265, allocations: 4 kB / 0.7032 GB, free: 4.211 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001514/0.01416, allocations: 0.6994 MB / 0.7039 GB, free: 3.453 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.01423, allocations: 140.5 kB / 0.704 GB, free: 3.285 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.01441, allocations: 215 kB / 0.7042 GB, free: 3.066 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.01443, allocations: 29.7 kB / 0.7042 GB, free: 3.031 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.0145, allocations: 136.5 kB / 0.7044 GB, free: 2.895 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.01455, allocations: 75.41 kB / 0.7044 GB, free: 2.82 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.01463, allocations: 49.7 kB / 0.7045 GB, free: 2.766 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.01468, allocations: 338.8 kB / 0.7048 GB, free: 2.426 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.01486, allocations: 141 kB / 0.7049 GB, free: 2.27 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.01505, allocations: 221.3 kB / 0.7051 GB, free: 2.008 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.01535, allocations: 284.8 kB / 0.7054 GB, free: 1.688 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01535, allocations: 0 / 0.7054 GB, free: 1.688 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004804/0.01583, allocations: 394.9 kB / 0.7058 GB, free: 1.273 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/0.01588, allocations: 63.39 kB / 0.7059 GB, free: 1.199 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.01589, allocations: 4 kB / 0.7059 GB, free: 1.195 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.01591, allocations: 4 kB / 0.7059 GB, free: 1.191 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.01608, allocations: 55.84 kB / 0.7059 GB, free: 1.137 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.036e-06/0.01609, allocations: 7.938 kB / 0.7059 GB, free: 1.129 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.01623, allocations: 15.98 kB / 0.7059 GB, free: 1.113 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.01624, allocations: 8 kB / 0.7059 GB, free: 1.105 MB / 410.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.0001888/0.01643, allocations: 179.8 kB / 0.7061 GB, free: 0.9141 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.01646, allocations: 19.91 kB / 0.7061 GB, free: 0.8945 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.0165, allocations: 21.95 kB / 0.7062 GB, free: 0.8711 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.01651, allocations: 4 kB / 0.7062 GB, free: 0.8672 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.01652, allocations: 3.938 kB / 0.7062 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.01652, allocations: 0 / 0.7062 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006054/0.01713, allocations: 0.5367 MB / 0.7067 GB, free: 284 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.01713, allocations: 4 kB / 0.7067 GB, free: 280 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.01727, allocations: 39.97 kB / 0.7067 GB, free: 240 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.01728, allocations: 0 / 0.7067 GB, free: 240 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.0173, allocations: 8 kB / 0.7067 GB, free: 232 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.0173, allocations: 0 / 0.7067 GB, free: 232 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.0173, allocations: 0 / 0.7067 GB, free: 232 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.01792, allocations: 0.499 MB / 0.7072 GB, free: 15.7 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.01796, allocations: 23.89 kB / 0.7072 GB, free: 15.68 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.018, allocations: 12 kB / 0.7073 GB, free: 15.66 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.01812, allocations: 15.98 kB / 0.7073 GB, free: 15.65 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.0182, allocations: 19.91 kB / 0.7073 GB, free: 15.63 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.01822, allocations: 11.98 kB / 0.7073 GB, free: 15.62 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001315/0.01835, allocations: 156.4 kB / 0.7075 GB, free: 15.46 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01835, allocations: 0 / 0.7075 GB, free: 15.46 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002985/0.01865, allocations: 52 kB / 0.7075 GB, free: 15.41 MB / 426.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.0001424/0.01879, allocations: 119.2 kB / 0.7076 GB, free: 15.29 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004955/0.01929, allocations: 387.6 kB / 0.708 GB, free: 14.87 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01929, allocations: 0 / 0.708 GB, free: 14.87 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.01949, allocations: 163.5 kB / 0.7081 GB, free: 14.69 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.01993, allocations: 72.28 kB / 0.7082 GB, free: 14.62 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.02104, allocations: 0.607 MB / 0.7088 GB, free: 13.98 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.02115, allocations: 125.6 kB / 0.7089 GB, free: 13.83 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.02123, allocations: 24.5 kB / 0.7089 GB, free: 13.81 MB / 426.8 MB Notification: Performance of SimCode: time 9.82e-07/0.02123, allocations: 0 / 0.7089 GB, free: 13.81 MB / 426.8 MB Notification: Performance of Templates: time 0.005791/0.02702, allocations: 2.941 MB / 0.7118 GB, free: 10.89 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.8218476148322225]