Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.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.001156/0.001156, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001575/0.002731, 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.001127/0.001127, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001403/0.00253, 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.9886/0.9886, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08693/1.076, allocations: 53.67 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.7998/0.7998, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03453/0.8343, 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.Examples.Clopidogrel.clopidogrel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel") translateModel(Pharmacolibrary.Examples.Clopidogrel.clopidogrel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5446 GB, free: 30.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.548e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.51 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Clopidogrel.clopidogrel): time 0.003594/0.00361, allocations: 5.792 MB / 0.5503 GB, free: 24.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.00478, allocations: 1.298 MB / 0.5515 GB, free: 23.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.004948, allocations: 11.94 kB / 0.5515 GB, free: 23.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.005093, allocations: 122.8 kB / 0.5517 GB, free: 23.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.005457, allocations: 396.6 kB / 0.552 GB, free: 22.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.005673, allocations: 227.6 kB / 0.5523 GB, free: 22.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005722/0.006245, allocations: 1.283 MB / 0.5535 GB, free: 21.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.006469, allocations: 196.4 kB / 0.5537 GB, free: 21.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004547/0.006924, allocations: 0.7512 MB / 0.5544 GB, free: 20.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.0072, allocations: 398.7 kB / 0.5548 GB, free: 20.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.388e-05/0.007274, allocations: 88 kB / 0.5549 GB, free: 19.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.007e-05/0.007354, allocations: 92 kB / 0.555 GB, free: 19.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.947e-05/0.007423, allocations: 135.5 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.007628, allocations: 312.2 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004047/0.008033, allocations: 0.6578 MB / 0.5561 GB, free: 18.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.008044, allocations: 0 / 0.5561 GB, free: 18.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.008045, allocations: 0 / 0.5561 GB, free: 18.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.008059, allocations: 0 / 0.5561 GB, free: 18.73 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001124/0.009182, allocations: 1.545 MB / 0.5576 GB, free: 17.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.009214, allocations: 11.89 kB / 0.5576 GB, free: 17.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.009322, allocations: 120.8 kB / 0.5577 GB, free: 16.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.009637, allocations: 350.2 kB / 0.558 GB, free: 16.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.009671, allocations: 57.67 kB / 0.5581 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.009732, allocations: 76.33 kB / 0.5581 GB, free: 16.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.01014, allocations: 0.641 MB / 0.5588 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.01016, allocations: 16.11 kB / 0.5588 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.01019, allocations: 28.38 kB / 0.5588 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.0102, allocations: 19.94 kB / 0.5588 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.0105, allocations: 0.5114 MB / 0.5593 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2692/0.2797, allocations: 0.956 MB / 0.5603 GB, free: 85.07 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006147/0.2803, allocations: 0.5607 MB / 0.5608 GB, free: 84.79 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.2806, allocations: 376.5 kB / 0.5612 GB, free: 84.54 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.03e-05/0.2807, allocations: 17.47 kB / 0.5612 GB, free: 84.54 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006507/0.2813, allocations: 1.081 MB / 0.5622 GB, free: 83.73 MB / 410.8 MB Notification: Performance of pre-optimization done (n=116): time 3.727e-06/0.2813, allocations: 2.031 kB / 0.5622 GB, free: 83.73 MB / 410.8 MB Notification: Performance of matching and sorting (n=124): time 0.002678/0.284, allocations: 2.811 MB / 0.565 GB, free: 82.27 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001993/0.2842, allocations: 0.9215 MB / 0.5659 GB, free: 81.2 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.2846, allocations: 426.6 kB / 0.5663 GB, free: 81.08 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/0.2846, allocations: 60.81 kB / 0.5664 GB, free: 81.05 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.2848, allocations: 232 kB / 0.5666 GB, free: 80.91 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.285, allocations: 416.4 kB / 0.567 GB, free: 80.66 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.2853, allocations: 220.3 kB / 0.5672 GB, free: 80.64 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2854, allocations: 409.2 kB / 0.5676 GB, free: 80.33 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.2858, allocations: 479.2 kB / 0.568 GB, free: 80 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.2861, allocations: 0.739 MB / 0.5688 GB, free: 79.34 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000656/0.2868, allocations: 1.102 MB / 0.5698 GB, free: 78.5 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.2868, allocations: 2.219 kB / 0.5698 GB, free: 78.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.0008537/0.2877, allocations: 1.189 MB / 0.571 GB, free: 77.82 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.501e-05/0.2877, allocations: 288.9 kB / 0.5713 GB, free: 77.51 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.2878, allocations: 6.656 kB / 0.5713 GB, free: 77.51 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.2878, allocations: 13.75 kB / 0.5713 GB, free: 77.51 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.2885, allocations: 369.1 kB / 0.5716 GB, free: 77.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.139e-05/0.2885, allocations: 16.05 kB / 0.5717 GB, free: 77.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.2888, allocations: 54.34 kB / 0.5717 GB, free: 77.5 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.2888, allocations: 42.06 kB / 0.5718 GB, free: 77.5 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.0002807/0.2891, allocations: 488.1 kB / 0.5722 GB, free: 77.11 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.2892, allocations: 119.5 kB / 0.5723 GB, free: 77.1 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007185/0.29, allocations: 1.045 MB / 0.5734 GB, free: 76.52 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.29, allocations: 6.516 kB / 0.5734 GB, free: 76.52 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.29, allocations: 1.375 kB / 0.5734 GB, free: 76.52 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.2901, allocations: 92.36 kB / 0.5734 GB, free: 76.47 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.2902, allocations: 39.66 kB / 0.5735 GB, free: 76.46 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.942e-05/0.2903, allocations: 43.38 kB / 0.5735 GB, free: 76.46 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.2905, allocations: 40.92 kB / 0.5736 GB, free: 76.46 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.2906, allocations: 91.02 kB / 0.5737 GB, free: 76.41 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009911/0.2916, allocations: 1.16 MB / 0.5748 GB, free: 75.65 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001173/0.2928, allocations: 1.703 MB / 0.5764 GB, free: 74.47 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003506/0.2931, allocations: 0.5173 MB / 0.577 GB, free: 74.15 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001773/0.2933, allocations: 195.5 kB / 0.5771 GB, free: 74.09 MB / 410.8 MB Notification: Performance of Backend: time 2.3e-07/0.2933, allocations: 0 / 0.5771 GB, free: 74.09 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0008378/0.2941, allocations: 1.422 MB / 0.5785 GB, free: 72.96 MB / 410.8 MB Notification: Performance of SimCode: time 0.02096/0.3151, allocations: 2.715 MB / 0.5812 GB, free: 71.02 MB / 410.8 MB Notification: Performance of Templates: time 0.01907/0.3342, allocations: 15.43 MB / 0.5963 GB, free: 61.46 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7713641580194235]