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.00183/0.00183, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.001963/0.001963, allocations: 173.9 kB / 22.45 MB, free: 2.105 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 1.759/1.759, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.369/1.369, allocations: 292.9 MB / 0.5392 GB, free: 50.2 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.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 1.563e-06/1.563e-06, allocations: 0 / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.923e-05/4.08e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.531 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference): time 0.003748/0.003789, allocations: 2.291 MB / 0.7021 GB, free: 6.223 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000985/0.004774, allocations: 0.5923 MB / 0.7027 GB, free: 5.629 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.004889, allocations: 3.938 kB / 0.7027 GB, free: 5.625 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.005012, allocations: 23.72 kB / 0.7027 GB, free: 5.602 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.005222, allocations: 83.28 kB / 0.7028 GB, free: 5.52 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.005441, allocations: 51.86 kB / 0.7028 GB, free: 5.469 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.005696, allocations: 262.6 kB / 0.7031 GB, free: 5.211 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.005847, allocations: 40.56 kB / 0.7031 GB, free: 5.176 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.005997, allocations: 139.6 kB / 0.7033 GB, free: 5.039 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.006184, allocations: 87.78 kB / 0.7033 GB, free: 4.953 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.006215, allocations: 20 kB / 0.7034 GB, free: 4.934 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.345e-05/0.006248, allocations: 16 kB / 0.7034 GB, free: 4.918 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.006283, allocations: 39.77 kB / 0.7034 GB, free: 4.879 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.006366, allocations: 75.83 kB / 0.7035 GB, free: 4.805 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.00657, allocations: 199.3 kB / 0.7037 GB, free: 4.609 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.006573, allocations: 0 / 0.7037 GB, free: 4.609 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.512e-06/0.006575, allocations: 3.938 kB / 0.7037 GB, free: 4.605 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.00658, allocations: 0 / 0.7037 GB, free: 4.605 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.0008156/0.007395, allocations: 0.4929 MB / 0.7042 GB, free: 4.066 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.00743, allocations: 8.031 kB / 0.7042 GB, free: 4.059 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.007492, allocations: 24.8 kB / 0.7042 GB, free: 4.035 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.007699, allocations: 182.4 kB / 0.7044 GB, free: 3.828 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.007718, allocations: 4.609 kB / 0.7044 GB, free: 3.824 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.00776, allocations: 20.38 kB / 0.7044 GB, free: 3.805 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.008094, allocations: 194.5 kB / 0.7046 GB, free: 3.602 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.00811, allocations: 3.953 kB / 0.7046 GB, free: 3.598 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.008129, allocations: 12 kB / 0.7046 GB, free: 3.586 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.008134, allocations: 0 / 0.7046 GB, free: 3.586 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.008459, allocations: 150.2 kB / 0.7047 GB, free: 3.434 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000683/0.009142, allocations: 481.4 kB / 0.7052 GB, free: 2.93 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004513/0.009593, allocations: 180 kB / 0.7054 GB, free: 2.738 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.009766, allocations: 104.7 kB / 0.7055 GB, free: 2.629 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.009778, allocations: 4 kB / 0.7055 GB, free: 2.625 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003016/0.01008, allocations: 228.4 kB / 0.7057 GB, free: 2.371 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.01008, allocations: 0 / 0.7057 GB, free: 2.371 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001308/0.01139, allocations: 0.7027 MB / 0.7064 GB, free: 1.605 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.01144, allocations: 140.5 kB / 0.7065 GB, free: 1.438 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.0116, allocations: 215 kB / 0.7067 GB, free: 1.219 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.01162, allocations: 29.7 kB / 0.7067 GB, free: 1.184 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.01169, allocations: 132.5 kB / 0.7069 GB, free: 1.051 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.01173, allocations: 71.47 kB / 0.7069 GB, free: 0.9805 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.238e-05/0.0118, allocations: 49.7 kB / 0.707 GB, free: 0.9258 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.11e-05/0.01185, allocations: 338.7 kB / 0.7073 GB, free: 0.5859 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.01206, allocations: 152.9 kB / 0.7075 GB, free: 428 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.01227, allocations: 225.3 kB / 0.7077 GB, free: 156 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.01272, allocations: 277 kB / 0.7079 GB, free: 15.84 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01273, allocations: 4.031 kB / 0.7079 GB, free: 15.83 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007069/0.01343, allocations: 390.6 kB / 0.7083 GB, free: 15.42 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.892e-05/0.0135, allocations: 63.39 kB / 0.7084 GB, free: 15.35 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.01351, allocations: 4 kB / 0.7084 GB, free: 15.34 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.01353, allocations: 4 kB / 0.7084 GB, free: 15.34 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.01377, allocations: 59.88 kB / 0.7084 GB, free: 15.29 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.01378, allocations: 4 kB / 0.7084 GB, free: 15.28 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.01397, allocations: 15.98 kB / 0.7085 GB, free: 15.27 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.01399, allocations: 8 kB / 0.7085 GB, free: 15.26 MB / 426.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.0002295/0.01422, allocations: 175.2 kB / 0.7086 GB, free: 15.07 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.01426, allocations: 27.84 kB / 0.7087 GB, free: 15.05 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.932e-05/0.01432, allocations: 21.95 kB / 0.7087 GB, free: 15.02 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.01433, allocations: 11.94 kB / 0.7087 GB, free: 15.01 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.01433, allocations: 0 / 0.7087 GB, free: 15.01 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.01434, allocations: 0 / 0.7087 GB, free: 15.01 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000922/0.01526, allocations: 0.5391 MB / 0.7092 GB, free: 14.43 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01526, allocations: 0 / 0.7092 GB, free: 14.43 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.01546, allocations: 35.97 kB / 0.7092 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/0.01548, allocations: 0 / 0.7092 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.0155, allocations: 11.94 kB / 0.7093 GB, free: 14.38 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.0155, allocations: 0 / 0.7093 GB, free: 14.38 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.01551, allocations: 7.984 kB / 0.7093 GB, free: 14.37 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008865/0.01639, allocations: 0.489 MB / 0.7097 GB, free: 13.85 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.01645, allocations: 23.89 kB / 0.7098 GB, free: 13.82 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.01649, allocations: 8 kB / 0.7098 GB, free: 13.82 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.01667, allocations: 11.98 kB / 0.7098 GB, free: 13.8 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.325e-05/0.01676, allocations: 23.91 kB / 0.7098 GB, free: 13.78 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.01679, allocations: 11.98 kB / 0.7098 GB, free: 13.77 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000183/0.01697, allocations: 160.4 kB / 0.71 GB, free: 13.61 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.01697, allocations: 0 / 0.71 GB, free: 13.61 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003051/0.01727, allocations: 52 kB / 0.71 GB, free: 13.56 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.0002054/0.01748, allocations: 119.2 kB / 0.7101 GB, free: 13.44 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006897/0.01817, allocations: 384.9 kB / 0.7105 GB, free: 13.02 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01817, allocations: 448 / 0.7105 GB, free: 13.02 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.01848, allocations: 177 kB / 0.7107 GB, free: 12.83 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.01894, allocations: 59.94 kB / 0.7107 GB, free: 12.77 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.0202, allocations: 0.5858 MB / 0.7113 GB, free: 12.16 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.02035, allocations: 125.6 kB / 0.7114 GB, free: 12.01 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 9.984e-05/0.02045, allocations: 21.94 kB / 0.7114 GB, free: 11.99 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.02052, allocations: 20.5 kB / 0.7115 GB, free: 11.97 MB / 426.8 MB Notification: Performance of SimCode: time 5.01e-07/0.02052, allocations: 0 / 0.7115 GB, free: 11.97 MB / 426.8 MB Notification: Performance of Templates: time 0.008512/0.02903, allocations: 3.348 MB / 0.7147 GB, free: 8.781 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.268298055976629]