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.000763/0.000763, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.001867, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.0007224/0.0007224, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009732/0.001696, allocations: 475.7 kB / 11.72 MB, free: 2.453 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 1.039/1.039, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08811/1.127, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.7437/0.7437, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0364/0.7801, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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.653e-06/1.653e-06, allocations: 0 / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.282e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid): time 0.003832/0.003854, allocations: 2.957 MB / 0.5475 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007252/0.01111, allocations: 6.774 MB / 0.5541 GB, free: 20.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003175/0.01142, allocations: 0 / 0.5541 GB, free: 20.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.01158, allocations: 43.56 kB / 0.5541 GB, free: 20.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.01194, allocations: 127 kB / 0.5543 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.01221, allocations: 71.84 kB / 0.5543 GB, free: 20.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.01279, allocations: 393.9 kB / 0.5547 GB, free: 20.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.01294, allocations: 66.78 kB / 0.5548 GB, free: 20.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.01317, allocations: 242.6 kB / 0.555 GB, free: 19.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.01338, allocations: 123.6 kB / 0.5551 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.01342, allocations: 24 kB / 0.5551 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.355e-05/0.01346, allocations: 28 kB / 0.5552 GB, free: 19.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.0135, allocations: 43.81 kB / 0.5552 GB, free: 19.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.369e-05/0.01359, allocations: 95.75 kB / 0.5553 GB, free: 19.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.01388, allocations: 199.3 kB / 0.5555 GB, free: 19.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.01389, allocations: 0 / 0.5555 GB, free: 19.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01389, allocations: 0 / 0.5555 GB, free: 19.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.01391, allocations: 0 / 0.5555 GB, free: 19.35 MB / 410.7 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.0008069/0.01471, allocations: 0.6282 MB / 0.5561 GB, free: 18.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.01475, allocations: 23.84 kB / 0.5561 GB, free: 18.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.01481, allocations: 36.91 kB / 0.5562 GB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.01498, allocations: 197.5 kB / 0.5563 GB, free: 18.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.015, allocations: 12.75 kB / 0.5564 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.01503, allocations: 32.31 kB / 0.5564 GB, free: 18.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.01523, allocations: 236.7 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.01524, allocations: 0 / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.01526, allocations: 11.98 kB / 0.5566 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.01526, allocations: 4 kB / 0.5566 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.01537, allocations: 146.5 kB / 0.5568 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/0.0159, allocations: 0.5075 MB / 0.5573 GB, free: 17.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.01606, allocations: 150.2 kB / 0.5574 GB, free: 17.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.01614, allocations: 108.5 kB / 0.5575 GB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.01615, allocations: 7.938 kB / 0.5575 GB, free: 17.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.01638, allocations: 324.5 kB / 0.5578 GB, free: 16.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.01638, allocations: 0 / 0.5578 GB, free: 16.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007329/0.01712, allocations: 0.8087 MB / 0.5586 GB, free: 15.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.01717, allocations: 277 kB / 0.5589 GB, free: 15.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.01727, allocations: 229 kB / 0.5591 GB, free: 15.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.01729, allocations: 41.69 kB / 0.5591 GB, free: 15.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.01732, allocations: 133.3 kB / 0.5593 GB, free: 15.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.01737, allocations: 119 kB / 0.5594 GB, free: 14.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.01743, allocations: 74.16 kB / 0.5594 GB, free: 14.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2656/0.283, allocations: 341.2 kB / 0.5598 GB, free: 79.59 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.2832, allocations: 143.2 kB / 0.5599 GB, free: 79.49 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.918e-05/0.2833, allocations: 251.1 kB / 0.5601 GB, free: 79.26 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.2835, allocations: 347.3 kB / 0.5605 GB, free: 79.01 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2835, allocations: 1.281 kB / 0.5605 GB, free: 79.01 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002884/0.2838, allocations: 384 kB / 0.5608 GB, free: 78.79 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.2838, allocations: 90.72 kB / 0.5609 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.2838, allocations: 5.125 kB / 0.5609 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2838, allocations: 4.656 kB / 0.5609 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.2841, allocations: 109.4 kB / 0.561 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.2841, allocations: 10.12 kB / 0.5611 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.2843, allocations: 21.67 kB / 0.5611 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.2843, allocations: 14.44 kB / 0.5611 GB, free: 78.69 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: 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.0001564/0.2844, allocations: 213.5 kB / 0.5613 GB, free: 78.51 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.2845, allocations: 31.84 kB / 0.5613 GB, free: 78.51 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.2845, allocations: 37.78 kB / 0.5614 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2845, allocations: 2.75 kB / 0.5614 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2845, allocations: 0 / 0.5614 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.2846, allocations: 25.11 kB / 0.5614 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.2846, allocations: 10.05 kB / 0.5614 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.2846, allocations: 14.22 kB / 0.5614 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/0.2847, allocations: 15.72 kB / 0.5614 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.2848, allocations: 27.55 kB / 0.5615 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003082/0.2851, allocations: 386.6 kB / 0.5618 GB, free: 78.27 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003246/0.2854, allocations: 0.6008 MB / 0.5624 GB, free: 77.86 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001016/0.2855, allocations: 138.8 kB / 0.5625 GB, free: 77.79 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.053e-05/0.2856, allocations: 83.16 kB / 0.5626 GB, free: 77.78 MB / 410.8 MB Notification: Performance of Backend: time 3.51e-07/0.2856, allocations: 0 / 0.5626 GB, free: 77.78 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003658/0.2859, allocations: 483 kB / 0.5631 GB, free: 77.45 MB / 410.8 MB Notification: Performance of SimCode: time 0.007727/0.2937, allocations: 1.315 MB / 0.5644 GB, free: 76.51 MB / 410.8 MB Notification: Performance of Templates: time 0.007163/0.3008, allocations: 5.269 MB / 0.5695 GB, free: 75.48 MB / 410.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.686463593505323]