Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_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.001004/0.001004, 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.0009774/0.0009774, 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.9588/0.9588, allocations: 177.1 MB / 203.5 MB, free: 5.77 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.7289/0.7289, allocations: 291.1 MB / 0.5382 GB, free: 51.8 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.B01AE03_Argatroban.Argatroban_Cox2004_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.641e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference): time 0.002139/0.002155, allocations: 2.704 MB / 0.7 GB, free: 7.641 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004814/0.006969, allocations: 6.608 MB / 0.7065 GB, free: 1.023 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.312e-05/0.007062, allocations: 4 kB / 0.7065 GB, free: 1.02 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.007176, allocations: 39.58 kB / 0.7065 GB, free: 0.9805 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.007355, allocations: 127 kB / 0.7066 GB, free: 0.8555 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.007552, allocations: 67.84 kB / 0.7067 GB, free: 0.7891 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.00781, allocations: 393.9 kB / 0.7071 GB, free: 412 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.007966, allocations: 56.83 kB / 0.7071 GB, free: 360 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.008114, allocations: 207.4 kB / 0.7073 GB, free: 152 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.008345, allocations: 119.6 kB / 0.7074 GB, free: 32 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.008378, allocations: 28 kB / 0.7075 GB, free: 4 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.685e-05/0.008425, allocations: 24.05 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.008467, allocations: 59.69 kB / 0.7075 GB, free: 15.92 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.506e-05/0.008562, allocations: 115.7 kB / 0.7077 GB, free: 15.81 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.008829, allocations: 295.1 kB / 0.7079 GB, free: 15.52 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.008831, allocations: 0 / 0.7079 GB, free: 15.52 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.172e-06/0.008832, allocations: 0 / 0.7079 GB, free: 15.52 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.008836, allocations: 0 / 0.7079 GB, free: 15.52 MB / 426.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.0007426/0.009579, allocations: 0.5925 MB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.009614, allocations: 8.031 kB / 0.7085 GB, free: 14.87 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.00967, allocations: 32.75 kB / 0.7086 GB, free: 14.84 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.009892, allocations: 220.7 kB / 0.7088 GB, free: 14.59 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.009911, allocations: 12.75 kB / 0.7088 GB, free: 14.58 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.009946, allocations: 24.38 kB / 0.7088 GB, free: 14.56 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.01026, allocations: 288.7 kB / 0.7091 GB, free: 14.26 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.01028, allocations: 7.938 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.0103, allocations: 12 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.0103, allocations: 4 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.01058, allocations: 240.4 kB / 0.7093 GB, free: 13.98 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007552/0.01134, allocations: 0.664 MB / 0.71 GB, free: 13.28 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.01173, allocations: 248.3 kB / 0.7102 GB, free: 13.02 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.01194, allocations: 144.5 kB / 0.7103 GB, free: 12.86 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.01196, allocations: 7.984 kB / 0.7104 GB, free: 12.85 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004117/0.01237, allocations: 365.2 kB / 0.7107 GB, free: 12.45 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.01237, allocations: 0 / 0.7107 GB, free: 12.45 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001237/0.01361, allocations: 1.091 MB / 0.7118 GB, free: 11.27 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.71e-05/0.0137, allocations: 221.6 kB / 0.712 GB, free: 11 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.01386, allocations: 237.9 kB / 0.7122 GB, free: 10.76 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.01388, allocations: 37.7 kB / 0.7122 GB, free: 10.72 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.01397, allocations: 156.8 kB / 0.7124 GB, free: 10.56 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.19e-05/0.01403, allocations: 123 kB / 0.7125 GB, free: 10.44 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.0141, allocations: 66.2 kB / 0.7126 GB, free: 10.36 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.727e-05/0.01419, allocations: 346.7 kB / 0.7129 GB, free: 10.02 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.01437, allocations: 211.9 kB / 0.7131 GB, free: 9.789 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.01468, allocations: 311.2 kB / 0.7134 GB, free: 9.422 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.01505, allocations: 435 kB / 0.7138 GB, free: 8.93 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.01505, allocations: 0 / 0.7138 GB, free: 8.93 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004804/0.01553, allocations: 0.5536 MB / 0.7144 GB, free: 8.332 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/0.01558, allocations: 89.09 kB / 0.7144 GB, free: 8.227 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01558, allocations: 4 kB / 0.7144 GB, free: 8.223 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.0156, allocations: 4 kB / 0.7145 GB, free: 8.219 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.01576, allocations: 79.83 kB / 0.7145 GB, free: 8.141 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.01577, allocations: 4.344 kB / 0.7145 GB, free: 8.137 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.01588, allocations: 23.98 kB / 0.7146 GB, free: 8.113 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.0159, allocations: 20 kB / 0.7146 GB, free: 8.094 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: 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.0001613/0.01606, allocations: 221.3 kB / 0.7148 GB, free: 7.859 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.01609, allocations: 31.81 kB / 0.7148 GB, free: 7.828 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.01612, allocations: 30.97 kB / 0.7148 GB, free: 7.797 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.01613, allocations: 7.984 kB / 0.7149 GB, free: 7.789 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01613, allocations: 0 / 0.7149 GB, free: 7.789 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.01613, allocations: 4 kB / 0.7149 GB, free: 7.785 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006606/0.01679, allocations: 0.76 MB / 0.7156 GB, free: 6.965 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.0168, allocations: 4 kB / 0.7156 GB, free: 6.961 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.01693, allocations: 55.89 kB / 0.7157 GB, free: 6.906 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.01694, allocations: 3.938 kB / 0.7157 GB, free: 6.902 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.01695, allocations: 8 kB / 0.7157 GB, free: 6.895 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01695, allocations: 0 / 0.7157 GB, free: 6.895 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.01696, allocations: 7.938 kB / 0.7157 GB, free: 6.887 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005924/0.01755, allocations: 0.7269 MB / 0.7164 GB, free: 6.102 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.01761, allocations: 23.81 kB / 0.7164 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.01766, allocations: 8.062 kB / 0.7164 GB, free: 6.07 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.01778, allocations: 32.08 kB / 0.7164 GB, free: 6.039 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/0.01786, allocations: 31.89 kB / 0.7165 GB, free: 6.008 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.01787, allocations: 12 kB / 0.7165 GB, free: 5.996 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001181/0.01799, allocations: 177.2 kB / 0.7167 GB, free: 5.824 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01799, allocations: 7.938 kB / 0.7167 GB, free: 5.816 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002158/0.01821, allocations: 87.98 kB / 0.7167 GB, free: 5.73 MB / 426.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.0001041/0.01831, allocations: 126.9 kB / 0.7169 GB, free: 5.602 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004983/0.01881, allocations: 0.5576 MB / 0.7174 GB, free: 4.977 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01881, allocations: 128 / 0.7174 GB, free: 4.977 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.01902, allocations: 309.8 kB / 0.7177 GB, free: 4.641 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.01934, allocations: 84.42 kB / 0.7178 GB, free: 4.559 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.02034, allocations: 0.8086 MB / 0.7186 GB, free: 3.707 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.888e-05/0.02044, allocations: 164.3 kB / 0.7187 GB, free: 3.523 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.02051, allocations: 28.5 kB / 0.7188 GB, free: 3.496 MB / 426.8 MB Notification: Performance of SimCode: time 6.91e-07/0.02051, allocations: 0 / 0.7188 GB, free: 3.496 MB / 426.8 MB Notification: Performance of Templates: time 0.1718/0.1924, allocations: 4.025 MB / 0.7227 GB, free: 36.69 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.010331534780562]