Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid.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.001361/0.001361, 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.001536/0.001536, 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.9636/0.9636, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.7409/0.7409, allocations: 291.2 MB / 0.5382 GB, free: 51.83 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.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.32 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.115e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid): time 0.002561/0.002592, allocations: 2.704 MB / 0.7 GB, free: 7.598 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005072/0.007664, allocations: 6.608 MB / 0.7065 GB, free: 0.9805 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.007856, allocations: 7.938 kB / 0.7065 GB, free: 0.9727 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.008006, allocations: 31.64 kB / 0.7065 GB, free: 0.9414 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.00826, allocations: 127 kB / 0.7067 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.008517, allocations: 71.83 kB / 0.7067 GB, free: 0.7461 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.008782, allocations: 393.9 kB / 0.7071 GB, free: 368 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.008936, allocations: 60.81 kB / 0.7072 GB, free: 312 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.009097, allocations: 203.5 kB / 0.7074 GB, free: 108 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.009311, allocations: 119.7 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.009351, allocations: 27.84 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.227e-05/0.009384, allocations: 24 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.009428, allocations: 59.75 kB / 0.7076 GB, free: 15.88 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.009536, allocations: 123.7 kB / 0.7077 GB, free: 15.76 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005795/0.01012, allocations: 288.7 kB / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01012, allocations: 0 / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.744e-06/0.01012, allocations: 0 / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.01013, allocations: 0 / 0.708 GB, free: 15.48 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.0008222/0.01095, allocations: 0.6003 MB / 0.7086 GB, free: 14.82 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.01099, allocations: 8.031 kB / 0.7086 GB, free: 14.82 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.01105, allocations: 32.75 kB / 0.7086 GB, free: 14.79 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.01129, allocations: 216.7 kB / 0.7088 GB, free: 14.55 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.01131, allocations: 12.75 kB / 0.7088 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.01135, allocations: 28.36 kB / 0.7088 GB, free: 14.51 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.0117, allocations: 296.7 kB / 0.7091 GB, free: 14.2 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.01172, allocations: 3.953 kB / 0.7091 GB, free: 14.2 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.01173, allocations: 8 kB / 0.7091 GB, free: 14.19 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.01174, allocations: 4 kB / 0.7091 GB, free: 14.18 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.01202, allocations: 228.5 kB / 0.7094 GB, free: 13.95 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008397/0.01286, allocations: 0.6835 MB / 0.71 GB, free: 13.22 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.01325, allocations: 234.7 kB / 0.7102 GB, free: 12.97 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.0134, allocations: 156.4 kB / 0.7104 GB, free: 12.8 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.01341, allocations: 7.938 kB / 0.7104 GB, free: 12.79 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003276/0.01374, allocations: 356.2 kB / 0.7107 GB, free: 12.4 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.454e-06/0.01374, allocations: 4 kB / 0.7107 GB, free: 12.39 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.00129/0.01503, allocations: 1.078 MB / 0.7118 GB, free: 11.23 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.958e-05/0.01512, allocations: 225.5 kB / 0.712 GB, free: 10.96 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.01531, allocations: 237.9 kB / 0.7122 GB, free: 10.72 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.01533, allocations: 41.7 kB / 0.7123 GB, free: 10.67 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.01542, allocations: 160.8 kB / 0.7124 GB, free: 10.51 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.328e-05/0.01548, allocations: 115.1 kB / 0.7125 GB, free: 10.39 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.09e-05/0.01556, allocations: 70.19 kB / 0.7126 GB, free: 10.32 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.01565, allocations: 342.8 kB / 0.7129 GB, free: 9.973 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.01585, allocations: 219.8 kB / 0.7131 GB, free: 9.738 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.01606, allocations: 303.2 kB / 0.7134 GB, free: 9.383 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.01641, allocations: 439 kB / 0.7139 GB, free: 8.887 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01641, allocations: 4 kB / 0.7139 GB, free: 8.883 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004964/0.01691, allocations: 0.5497 MB / 0.7144 GB, free: 8.289 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003184/0.01723, allocations: 90.66 kB / 0.7145 GB, free: 8.184 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.01724, allocations: 4 kB / 0.7145 GB, free: 8.18 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.01725, allocations: 4.344 kB / 0.7145 GB, free: 8.176 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.01742, allocations: 79.89 kB / 0.7146 GB, free: 8.098 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.01743, allocations: 4 kB / 0.7146 GB, free: 8.094 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.01755, allocations: 19.98 kB / 0.7146 GB, free: 8.074 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.01757, allocations: 20 kB / 0.7146 GB, free: 8.055 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.0001923/0.01776, allocations: 227 kB / 0.7148 GB, free: 7.809 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.01779, allocations: 31.81 kB / 0.7149 GB, free: 7.777 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.01784, allocations: 38.95 kB / 0.7149 GB, free: 7.738 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.01784, allocations: 4 kB / 0.7149 GB, free: 7.734 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.01785, allocations: 0 / 0.7149 GB, free: 7.734 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.01785, allocations: 0 / 0.7149 GB, free: 7.734 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007406/0.01859, allocations: 0.7561 MB / 0.7156 GB, free: 6.918 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01859, allocations: 0 / 0.7156 GB, free: 6.918 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.01875, allocations: 59.89 kB / 0.7157 GB, free: 6.859 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.01875, allocations: 0 / 0.7157 GB, free: 6.859 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.01877, allocations: 16 kB / 0.7157 GB, free: 6.844 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01877, allocations: 3.938 kB / 0.7157 GB, free: 6.84 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.01878, allocations: 11.92 kB / 0.7157 GB, free: 6.828 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/0.01941, allocations: 0.7153 MB / 0.7164 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.01945, allocations: 23.81 kB / 0.7164 GB, free: 6.031 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.01948, allocations: 12.05 kB / 0.7165 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.745e-05/0.01958, allocations: 19.98 kB / 0.7165 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/0.01966, allocations: 31.89 kB / 0.7165 GB, free: 5.969 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.01968, allocations: 19.94 kB / 0.7165 GB, free: 5.949 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001145/0.01979, allocations: 181.2 kB / 0.7167 GB, free: 5.773 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01979, allocations: 0 / 0.7167 GB, free: 5.773 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002401/0.02003, allocations: 84 kB / 0.7168 GB, free: 5.691 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.0001149/0.02015, allocations: 130.9 kB / 0.7169 GB, free: 5.559 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004866/0.02063, allocations: 0.565 MB / 0.7175 GB, free: 4.926 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.02064, allocations: 0 / 0.7175 GB, free: 4.926 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.02085, allocations: 305.6 kB / 0.7177 GB, free: 4.594 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.0212, allocations: 81 kB / 0.7178 GB, free: 4.516 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.02222, allocations: 0.8241 MB / 0.7186 GB, free: 3.648 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.02232, allocations: 156.3 kB / 0.7188 GB, free: 3.473 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.02239, allocations: 32.5 kB / 0.7188 GB, free: 3.441 MB / 426.8 MB Notification: Performance of SimCode: time 6.41e-07/0.02239, allocations: 4 kB / 0.7188 GB, free: 3.438 MB / 426.8 MB Notification: Performance of Templates: time 0.2264/0.2488, allocations: 4.02 MB / 0.7227 GB, free: 36.77 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.761417650617659]