Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_PGx_6C_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.0007839/0.0007839, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001066/0.00185, 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.0007801/0.0007801, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009938/0.001774, 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.063/1.063, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09319/1.157, 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.78/0.78, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0466/0.8266, allocations: 21.04 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.Examples.Clopidogrel.PK_PGx_6C_clopidogrel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_PGx_6C_clopidogrel") translateModel(Pharmacolibrary.Examples.Clopidogrel.PK_PGx_6C_clopidogrel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_PGx_6C_clopidogrel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.5445 GB, free: 30.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.827e-06/1.025e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Clopidogrel.PK_PGx_6C_clopidogrel): time 0.003167/0.003177, allocations: 4.815 MB / 0.5492 GB, free: 25.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.004525, allocations: 1.304 MB / 0.5505 GB, free: 24.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.004679, allocations: 4 kB / 0.5505 GB, free: 24.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.004923, allocations: 190.6 kB / 0.5507 GB, free: 24.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.005226, allocations: 293.5 kB / 0.551 GB, free: 23.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.0054, allocations: 187.6 kB / 0.5511 GB, free: 23.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.005832, allocations: 0.9469 MB / 0.5521 GB, free: 22.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.006007, allocations: 146.8 kB / 0.5522 GB, free: 22.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003446/0.006351, allocations: 0.572 MB / 0.5528 GB, free: 22.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.006554, allocations: 279.2 kB / 0.553 GB, free: 21.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.903e-05/0.006613, allocations: 68 kB / 0.5531 GB, free: 21.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.502e-05/0.006678, allocations: 68 kB / 0.5532 GB, free: 21.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.936e-05/0.006768, allocations: 187.3 kB / 0.5533 GB, free: 21.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.006941, allocations: 268.1 kB / 0.5536 GB, free: 21.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.007312, allocations: 0.6032 MB / 0.5542 GB, free: 20.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.007324, allocations: 0 / 0.5542 GB, free: 20.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.52e-07/0.007324, allocations: 4 kB / 0.5542 GB, free: 20.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.00734, allocations: 4 kB / 0.5542 GB, free: 20.66 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001009/0.008349, allocations: 1.501 MB / 0.5557 GB, free: 19.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.008378, allocations: 11.89 kB / 0.5557 GB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.29e-05/0.008471, allocations: 112.8 kB / 0.5558 GB, free: 18.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.008776, allocations: 401.9 kB / 0.5562 GB, free: 18.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.008806, allocations: 45.69 kB / 0.5562 GB, free: 18.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/0.008857, allocations: 64.33 kB / 0.5563 GB, free: 18.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.00918, allocations: 0.5418 MB / 0.5568 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.009202, allocations: 15.83 kB / 0.5568 GB, free: 17.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.009226, allocations: 24 kB / 0.5568 GB, free: 17.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.009235, allocations: 16 kB / 0.5568 GB, free: 17.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.009483, allocations: 446.1 kB / 0.5573 GB, free: 17.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008635/0.01035, allocations: 0.7852 MB / 0.558 GB, free: 16.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.01065, allocations: 466.5 kB / 0.5585 GB, free: 16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.01078, allocations: 322.7 kB / 0.5588 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.0108, allocations: 12.66 kB / 0.5588 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.259/0.2698, allocations: 0.9206 MB / 0.5597 GB, free: 81.37 MB / 410.8 MB Notification: Performance of pre-optimization done (n=94): time 2.605e-06/0.2698, allocations: 0 / 0.5597 GB, free: 81.37 MB / 410.8 MB Notification: Performance of matching and sorting (n=101): time 0.002302/0.2721, allocations: 2.414 MB / 0.5621 GB, free: 80.1 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.2723, allocations: 0.8116 MB / 0.5628 GB, free: 79.16 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.2727, allocations: 0.562 MB / 0.5634 GB, free: 79.03 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.2727, allocations: 56.36 kB / 0.5635 GB, free: 79 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.2729, allocations: 244.5 kB / 0.5637 GB, free: 78.91 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.273, allocations: 348.8 kB / 0.564 GB, free: 78.73 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.2732, allocations: 196.5 kB / 0.5642 GB, free: 78.71 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.2733, allocations: 358.1 kB / 0.5645 GB, free: 78.4 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.2735, allocations: 399.4 kB / 0.5649 GB, free: 78.14 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.2738, allocations: 0.6007 MB / 0.5655 GB, free: 77.62 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005242/0.2743, allocations: 0.9433 MB / 0.5664 GB, free: 76.91 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2743, allocations: 1.312 kB / 0.5664 GB, free: 76.91 MB / 410.8 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.0007133/0.275, allocations: 1.017 MB / 0.5674 GB, free: 76.36 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.906e-05/0.2751, allocations: 235.3 kB / 0.5677 GB, free: 76.11 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.2751, allocations: 5.688 kB / 0.5677 GB, free: 76.11 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.2751, allocations: 14.52 kB / 0.5677 GB, free: 76.11 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/0.2758, allocations: 317.5 kB / 0.568 GB, free: 76.11 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.2758, allocations: 17.22 kB / 0.568 GB, free: 76.11 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.276, allocations: 37.16 kB / 0.568 GB, free: 76.11 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.276, allocations: 46.39 kB / 0.5681 GB, free: 76.11 MB / 410.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose_Enteral.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose_Enteral.route.variableDose.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: 28 * Number of states: 0 () * Number of discrete variables: 61 (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_H4.Cmin,$PRE.central_H4.Cmin,central_H4.Cmax,$PRE.central_H4.Cmax,central_carboxylic_acid.Cmin,$PRE.central_carboxylic_acid.Cmin,central_carboxylic_acid.Cmax,$PRE.central_carboxylic_acid.Cmax,perihperal_carboxylic_acid.Cmin,$PRE.perihperal_carboxylic_acid.Cmin,perihperal_carboxylic_acid.Cmax,$PRE.perihperal_carboxylic_acid.Cmax,periodicDose_Enteral.route.absorptionLumen.Cmin,$PRE.periodicDose_Enteral.route.absorptionLumen.Cmin,periodicDose_Enteral.route.absorptionLumen.Cmax,$PRE.periodicDose_Enteral.route.absorptionLumen.Cmax,periodicDose_Enteral.pulse.count,$PRE.periodicDose_Enteral.pulse.count,periodicDose_Enteral.pulse.T_start,$PRE.periodicDose_Enteral.pulse.T_start,periodicDose_Enteral.route.absorptionLumen.rising,$PRE.periodicDose_Enteral.route.absorptionLumen.rising,perihperal_carboxylic_acid.rising,$PRE.perihperal_carboxylic_acid.rising,central_carboxylic_acid.rising,$PRE.central_carboxylic_acid.rising,central_H4.rising,$PRE.central_H4.rising,peripheral.rising,$PRE.peripheral.rising,central.rising,$PRE.central.rising,hepatic.rising,$PRE.hepatic.rising,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 8 * 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.000273/0.2763, allocations: 434.5 kB / 0.5685 GB, free: 75.77 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.2764, allocations: 107.6 kB / 0.5686 GB, free: 75.77 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.395e-05/0.2765, allocations: 99.69 kB / 0.5687 GB, free: 75.75 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.2765, allocations: 4.344 kB / 0.5687 GB, free: 75.75 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2765, allocations: 0.6875 kB / 0.5687 GB, free: 75.75 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.2767, allocations: 99.38 kB / 0.5688 GB, free: 75.7 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.2767, allocations: 30.98 kB / 0.5688 GB, free: 75.7 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.685e-05/0.2768, allocations: 35.89 kB / 0.5688 GB, free: 75.7 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.277, allocations: 31.39 kB / 0.5689 GB, free: 75.7 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.2771, allocations: 71.98 kB / 0.5689 GB, free: 75.7 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008099/0.2779, allocations: 1.008 MB / 0.5699 GB, free: 75.14 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008894/0.2788, allocations: 1.5 MB / 0.5714 GB, free: 74.24 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002613/0.2791, allocations: 433.6 kB / 0.5718 GB, free: 74.01 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002106/0.2793, allocations: 285.9 kB / 0.5721 GB, free: 73.97 MB / 410.8 MB Notification: Performance of Backend: time 3.51e-07/0.2793, allocations: 0 / 0.5721 GB, free: 73.97 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000738/0.28, allocations: 1.18 MB / 0.5732 GB, free: 73.15 MB / 410.8 MB Notification: Performance of SimCode: time 0.01557/0.2956, allocations: 2.674 MB / 0.5758 GB, free: 71.38 MB / 410.8 MB Notification: Performance of Templates: time 0.01395/0.3095, allocations: 11.33 MB / 0.5869 GB, free: 66.58 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_PGx_6C_clopidogrel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_PGx_6C_clopidogrel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_PGx_6C_clopidogrel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_PGx_6C_clopidogrel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_PGx_6C_clopidogrel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_PGx_6C_clopidogrel -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_PGx_6C_clopidogrel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.655011753551662]