Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AC04_Clopidogrel.Clopidogrel.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.0008933/0.0008933, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001259/0.002152, 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.0008847/0.0008847, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.00232, 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 0.9999/0.9999, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09399/1.094, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.7831/0.7831, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03159/0.8147, allocations: 21.05 MB / 0.5432 GB, free: 31.96 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.B01AC04_Clopidogrel.Clopidogrel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AC04_Clopidogrel.Clopidogrel") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AC04_Clopidogrel.Clopidogrel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AC04_Clopidogrel.Clopidogrel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.5446 GB, free: 30.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.844e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.49 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AC04_Clopidogrel.Clopidogrel): time 0.003722/0.003741, allocations: 5.792 MB / 0.5503 GB, free: 24.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006761/0.0105, allocations: 7.429 MB / 0.5575 GB, free: 17.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005131/0.01102, allocations: 8 kB / 0.5576 GB, free: 17.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.01125, allocations: 130.7 kB / 0.5577 GB, free: 17.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008225/0.01207, allocations: 392.7 kB / 0.5581 GB, free: 16.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.01256, allocations: 219.7 kB / 0.5583 GB, free: 16.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2597/0.2722, allocations: 1.268 MB / 0.5595 GB, free: 75.29 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.2727, allocations: 190.7 kB / 0.5597 GB, free: 75.25 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.2737, allocations: 0.7561 MB / 0.5604 GB, free: 75.22 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000483/0.2742, allocations: 386.3 kB / 0.5608 GB, free: 75.22 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.2743, allocations: 87.16 kB / 0.5609 GB, free: 75.22 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.2744, allocations: 88.88 kB / 0.561 GB, free: 75.22 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.2745, allocations: 135.3 kB / 0.5611 GB, free: 75.22 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00035/0.2749, allocations: 312.2 kB / 0.5614 GB, free: 75.22 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0007703/0.2757, allocations: 0.6452 MB / 0.562 GB, free: 75.16 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.509e-05/0.2757, allocations: 1.969 kB / 0.562 GB, free: 75.16 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2757, allocations: 3.375 kB / 0.562 GB, free: 75.16 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.2757, allocations: 1.094 kB / 0.562 GB, free: 75.16 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001682/0.2774, allocations: 1.527 MB / 0.5635 GB, free: 74.29 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.2774, allocations: 17.53 kB / 0.5635 GB, free: 74.29 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.2776, allocations: 120.1 kB / 0.5636 GB, free: 74.29 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.278, allocations: 339.2 kB / 0.564 GB, free: 74.06 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.2781, allocations: 54.16 kB / 0.564 GB, free: 74.06 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.385e-05/0.2782, allocations: 85.84 kB / 0.5641 GB, free: 74.05 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/0.2788, allocations: 0.6391 MB / 0.5647 GB, free: 73.75 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.2789, allocations: 12.23 kB / 0.5647 GB, free: 73.75 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.2789, allocations: 29.5 kB / 0.5648 GB, free: 73.75 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.2789, allocations: 18.19 kB / 0.5648 GB, free: 73.75 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004911/0.2794, allocations: 0.5086 MB / 0.5653 GB, free: 73.48 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.281, allocations: 0.9705 MB / 0.5662 GB, free: 73.23 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006123/0.2816, allocations: 0.5556 MB / 0.5668 GB, free: 72.95 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.2818, allocations: 380.5 kB / 0.5671 GB, free: 72.69 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.2819, allocations: 15.69 kB / 0.5671 GB, free: 72.69 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005598/0.2824, allocations: 1.085 MB / 0.5682 GB, free: 71.87 MB / 410.8 MB Notification: Performance of pre-optimization done (n=116): time 3.577e-06/0.2824, allocations: 3.062 kB / 0.5682 GB, free: 71.87 MB / 410.8 MB Notification: Performance of matching and sorting (n=124): time 0.00254/0.285, allocations: 2.807 MB / 0.5709 GB, free: 70.35 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.2851, allocations: 0.9268 MB / 0.5719 GB, free: 69.29 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.2855, allocations: 407.1 kB / 0.5722 GB, free: 69.16 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.2855, allocations: 59.8 kB / 0.5723 GB, free: 69.13 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.2856, allocations: 233.7 kB / 0.5725 GB, free: 68.99 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.2858, allocations: 419.2 kB / 0.5729 GB, free: 68.74 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.286, allocations: 213.5 kB / 0.5731 GB, free: 68.72 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.2861, allocations: 412.2 kB / 0.5735 GB, free: 68.41 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.2864, allocations: 473.1 kB / 0.574 GB, free: 68.08 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.2868, allocations: 0.7356 MB / 0.5747 GB, free: 67.42 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005941/0.2874, allocations: 1.111 MB / 0.5758 GB, free: 66.58 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.2874, allocations: 4.688 kB / 0.5758 GB, free: 66.58 MB / 410.8 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.0008635/0.2882, allocations: 1.185 MB / 0.5769 GB, free: 65.8 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.106e-05/0.2883, allocations: 288.3 kB / 0.5772 GB, free: 65.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.2883, allocations: 9.875 kB / 0.5772 GB, free: 65.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.2884, allocations: 18.11 kB / 0.5772 GB, free: 65.48 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007192/0.2891, allocations: 355.7 kB / 0.5776 GB, free: 65.42 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.2891, allocations: 18.84 kB / 0.5776 GB, free: 65.42 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.2895, allocations: 57.72 kB / 0.5776 GB, free: 65.41 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.2895, allocations: 42.28 kB / 0.5777 GB, free: 65.41 MB / 410.8 MB Warning: Assuming fixed start value for the following 3 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real infusionDose.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: 32 * Number of states: 0 () * Number of discrete variables: 74 (hepatic.Cmin,$PRE.hepatic.Cmin,hepatic.Cmax,$PRE.hepatic.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central_M1.Cmin,$PRE.central_M1.Cmin,central_M1.Cmax,$PRE.central_M1.Cmax,peripheral_M1.Cmin,$PRE.peripheral_M1.Cmin,peripheral_M1.Cmax,$PRE.peripheral_M1.Cmax,central_M2.Cmin,$PRE.central_M2.Cmin,central_M2.Cmax,$PRE.central_M2.Cmax,peripheral_M2.Cmin,$PRE.peripheral_M2.Cmin,peripheral_M2.Cmax,$PRE.peripheral_M2.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,infusionDose.pulse.count,$PRE.infusionDose.pulse.count,infusionDose.pulse.T_start,$PRE.infusionDose.pulse.T_start,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,peripheral_M2.rising,$PRE.peripheral_M2.rising,central_M2.rising,$PRE.central_M2.rising,peripheral_M1.rising,$PRE.peripheral_M1.rising,central_M1.rising,$PRE.central_M1.rising,peripheral.rising,$PRE.peripheral.rising,central.rising,$PRE.central.rising,hepatic.rising,$PRE.hepatic.rising,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 10 * 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.0003751/0.2899, allocations: 488.7 kB / 0.5782 GB, free: 65.02 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.29, allocations: 117 kB / 0.5783 GB, free: 65 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007364/0.2908, allocations: 1.045 MB / 0.5793 GB, free: 64.31 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.2908, allocations: 4.547 kB / 0.5793 GB, free: 64.31 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2908, allocations: 1.969 kB / 0.5793 GB, free: 64.31 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.291, allocations: 91.53 kB / 0.5794 GB, free: 64.26 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/0.2911, allocations: 39.77 kB / 0.5794 GB, free: 64.26 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.2912, allocations: 44.14 kB / 0.5795 GB, free: 64.25 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.2914, allocations: 42.31 kB / 0.5795 GB, free: 64.25 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.2916, allocations: 94.2 kB / 0.5796 GB, free: 64.2 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001121/0.2927, allocations: 1.161 MB / 0.5807 GB, free: 63.45 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001118/0.2938, allocations: 1.704 MB / 0.5824 GB, free: 62.26 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000309/0.2942, allocations: 0.5097 MB / 0.5829 GB, free: 61.95 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002103/0.2944, allocations: 196.8 kB / 0.5831 GB, free: 61.88 MB / 410.8 MB Notification: Performance of Backend: time 4.41e-07/0.2944, allocations: 0 / 0.5831 GB, free: 61.88 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.2956, allocations: 1.429 MB / 0.5845 GB, free: 60.78 MB / 410.8 MB Notification: Performance of SimCode: time 0.02001/0.3156, allocations: 2.684 MB / 0.5871 GB, free: 58.85 MB / 410.8 MB Notification: Performance of Templates: time 0.01852/0.3342, allocations: 15.34 MB / 0.6021 GB, free: 48.06 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AC04_Clopidogrel.Clopidogrel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AC04_Clopidogrel.Clopidogrel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AC04_Clopidogrel.Clopidogrel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AC04_Clopidogrel.Clopidogrel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AC04_Clopidogrel.Clopidogrel.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AC04_Clopidogrel.Clopidogrel -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AC04_Clopidogrel.Clopidogrel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9586763493716717]