Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_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.0006763/0.0006763, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000954/0.00163, 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.000796/0.000796, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008869/0.001683, 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.9588/0.9588, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1031/1.062, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.7328/0.7328, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02918/0.7619, allocations: 21.05 MB / 0.5432 GB, free: 31.94 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_6C_clopidogrel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_6C_clopidogrel") translateModel(Pharmacolibrary.Examples.Clopidogrel.PK_6C_clopidogrel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_6C_clopidogrel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.5445 GB, free: 30.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.253e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Clopidogrel.PK_6C_clopidogrel): time 0.003274/0.003297, allocations: 4.592 MB / 0.5489 GB, free: 26.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.004715, allocations: 1.071 MB / 0.55 GB, free: 24.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.004909, allocations: 11.94 kB / 0.55 GB, free: 24.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.005027, allocations: 87.11 kB / 0.5501 GB, free: 24.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.005342, allocations: 265.7 kB / 0.5503 GB, free: 24.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.005566, allocations: 191.6 kB / 0.5505 GB, free: 24.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005086/0.006075, allocations: 0.9276 MB / 0.5514 GB, free: 23.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.006276, allocations: 142.8 kB / 0.5516 GB, free: 23.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004074/0.006684, allocations: 0.543 MB / 0.5521 GB, free: 22.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.007022, allocations: 267.3 kB / 0.5524 GB, free: 22.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.616e-05/0.007098, allocations: 64 kB / 0.5524 GB, free: 22.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.593e-05/0.007194, allocations: 72 kB / 0.5525 GB, free: 22.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.226e-05/0.007276, allocations: 107.6 kB / 0.5526 GB, free: 22.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.007497, allocations: 236.4 kB / 0.5528 GB, free: 22.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.007863, allocations: 0.4892 MB / 0.5533 GB, free: 21.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.007876, allocations: 0 / 0.5533 GB, free: 21.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007877, allocations: 0 / 0.5533 GB, free: 21.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.007899, allocations: 4 kB / 0.5533 GB, free: 21.55 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.001011/0.008909, allocations: 1.183 MB / 0.5544 GB, free: 20.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.008951, allocations: 11.89 kB / 0.5545 GB, free: 20.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.675e-05/0.009047, allocations: 92.86 kB / 0.5545 GB, free: 20.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.009323, allocations: 254.1 kB / 0.5548 GB, free: 19.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.009354, allocations: 45.69 kB / 0.5548 GB, free: 19.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.00941, allocations: 68.3 kB / 0.5549 GB, free: 19.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.009774, allocations: 0.5457 MB / 0.5554 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.009799, allocations: 15.88 kB / 0.5554 GB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.009826, allocations: 24 kB / 0.5555 GB, free: 19.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.009834, allocations: 12 kB / 0.5555 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.0101, allocations: 446.1 kB / 0.5559 GB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000998/0.0111, allocations: 0.7813 MB / 0.5567 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.01147, allocations: 477.2 kB / 0.5571 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.0116, allocations: 322.7 kB / 0.5574 GB, free: 17.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.01163, allocations: 16.59 kB / 0.5574 GB, free: 16.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003628/0.01199, allocations: 0.9158 MB / 0.5583 GB, free: 15.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=94): time 2.204e-06/0.01199, allocations: 0 / 0.5583 GB, free: 15.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=101): time 0.2483/0.2603, allocations: 2.405 MB / 0.5607 GB, free: 84.67 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.2604, allocations: 0.8076 MB / 0.5615 GB, free: 83.73 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.2607, allocations: 265.5 kB / 0.5617 GB, free: 83.63 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.2607, allocations: 56.25 kB / 0.5618 GB, free: 83.6 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.2608, allocations: 193.6 kB / 0.562 GB, free: 83.51 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.2611, allocations: 346.6 kB / 0.5623 GB, free: 83.34 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.2613, allocations: 175.8 kB / 0.5625 GB, free: 83.32 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.2614, allocations: 381.4 kB / 0.5628 GB, free: 83.01 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.2617, allocations: 382.8 kB / 0.5632 GB, free: 82.75 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.2621, allocations: 0.5856 MB / 0.5638 GB, free: 82.22 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/0.2626, allocations: 0.9232 MB / 0.5647 GB, free: 81.52 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.2626, allocations: 2.875 kB / 0.5647 GB, free: 81.52 MB / 410.8 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0007236/0.2633, allocations: 0.9644 MB / 0.5656 GB, free: 80.96 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-05/0.2634, allocations: 235.5 kB / 0.5658 GB, free: 80.71 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.2634, allocations: 7.688 kB / 0.5658 GB, free: 80.71 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.2635, allocations: 15.12 kB / 0.5659 GB, free: 80.71 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/0.2641, allocations: 294.5 kB / 0.5661 GB, free: 80.71 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.2641, allocations: 17.38 kB / 0.5662 GB, free: 80.71 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.2644, allocations: 41.28 kB / 0.5662 GB, free: 80.71 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.2644, allocations: 37.94 kB / 0.5662 GB, free: 80.71 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 (137): * Single equations (assignments): 129 * 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.0002894/0.2647, allocations: 429.4 kB / 0.5666 GB, free: 80.37 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.2648, allocations: 90 kB / 0.5667 GB, free: 80.37 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.456e-05/0.2649, allocations: 67.62 kB / 0.5668 GB, free: 80.36 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.2649, allocations: 7.484 kB / 0.5668 GB, free: 80.36 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2649, allocations: 0 / 0.5668 GB, free: 80.36 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.2651, allocations: 67.97 kB / 0.5669 GB, free: 80.33 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.2651, allocations: 29.06 kB / 0.5669 GB, free: 80.33 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.326e-05/0.2652, allocations: 34.72 kB / 0.5669 GB, free: 80.33 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.2653, allocations: 30.75 kB / 0.567 GB, free: 80.33 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.2655, allocations: 70.36 kB / 0.567 GB, free: 80.33 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009607/0.2665, allocations: 1.009 MB / 0.568 GB, free: 79.77 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001117/0.2676, allocations: 1.486 MB / 0.5695 GB, free: 78.88 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003618/0.2679, allocations: 438.8 kB / 0.5699 GB, free: 78.64 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.000112/0.268, allocations: 103.9 kB / 0.57 GB, free: 78.63 MB / 410.8 MB Notification: Performance of Backend: time 3.71e-07/0.268, allocations: 0 / 0.57 GB, free: 78.63 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0009144/0.269, allocations: 1.152 MB / 0.5711 GB, free: 77.8 MB / 410.8 MB Notification: Performance of SimCode: time 0.01669/0.2856, allocations: 2.231 MB / 0.5733 GB, free: 76.24 MB / 410.8 MB Notification: Performance of Templates: time 0.01495/0.3006, allocations: 11.12 MB / 0.5841 GB, free: 71.69 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_6C_clopidogrel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_6C_clopidogrel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_6C_clopidogrel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_6C_clopidogrel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_6C_clopidogrel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_6C_clopidogrel -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PK_6C_clopidogrel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7265132311731577]