Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference.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.0009948/0.0009948, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002319, 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.001018/0.001018, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001311/0.002329, 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.9634/0.9634, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1017/1.065, 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.7643/0.7643, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05999/0.8243, 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.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.5445 GB, free: 30.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.313e-05, allocations: 10.25 kB / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference): time 0.001917/0.001931, allocations: 2.474 MB / 0.547 GB, free: 28.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003686/0.005617, allocations: 6.692 MB / 0.5535 GB, free: 21.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.005692, allocations: 0 / 0.5535 GB, free: 21.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.114e-05/0.005753, allocations: 27.72 kB / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.005868, allocations: 83.27 kB / 0.5536 GB, free: 21.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001103/0.005978, allocations: 47.94 kB / 0.5536 GB, free: 21.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.006152, allocations: 274.5 kB / 0.5539 GB, free: 20.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.006255, allocations: 46.41 kB / 0.554 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.006422, allocations: 172.3 kB / 0.5541 GB, free: 20.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.006602, allocations: 87.72 kB / 0.5542 GB, free: 20.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.006627, allocations: 16 kB / 0.5542 GB, free: 20.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.162e-05/0.006649, allocations: 20 kB / 0.5542 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.006675, allocations: 23.88 kB / 0.5543 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.006729, allocations: 63.88 kB / 0.5543 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.006877, allocations: 139.5 kB / 0.5545 GB, free: 20.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.006887, allocations: 0 / 0.5545 GB, free: 20.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006887, allocations: 0 / 0.5545 GB, free: 20.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.006897, allocations: 0 / 0.5545 GB, free: 20.41 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00051/0.007407, allocations: 0.5054 MB / 0.5549 GB, free: 19.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.007438, allocations: 11.89 kB / 0.555 GB, free: 19.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.007479, allocations: 20.92 kB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.007615, allocations: 186.5 kB / 0.5552 GB, free: 19.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.007633, allocations: 12.61 kB / 0.5552 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.007657, allocations: 12.38 kB / 0.5552 GB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.0078, allocations: 155.5 kB / 0.5553 GB, free: 19.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.00781, allocations: 4 kB / 0.5553 GB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.00782, allocations: 7.938 kB / 0.5553 GB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.007824, allocations: 4 kB / 0.5553 GB, free: 19.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.236e-05/0.007897, allocations: 80.64 kB / 0.5554 GB, free: 19.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.008244, allocations: 361 kB / 0.5558 GB, free: 18.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.008412, allocations: 108.2 kB / 0.5559 GB, free: 18.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.008444, allocations: 58.55 kB / 0.5559 GB, free: 18.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.008453, allocations: 11.98 kB / 0.5559 GB, free: 18.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.008585, allocations: 199.1 kB / 0.5561 GB, free: 18.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.532e-06/0.008587, allocations: 0 / 0.5561 GB, free: 18.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004961/0.009083, allocations: 0.5093 MB / 0.5566 GB, free: 17.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.009109, allocations: 162.2 kB / 0.5568 GB, free: 17.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.009191, allocations: 210.1 kB / 0.557 GB, free: 17.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.009202, allocations: 33.7 kB / 0.557 GB, free: 17.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.009237, allocations: 112.5 kB / 0.5571 GB, free: 17.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.009269, allocations: 75.39 kB / 0.5572 GB, free: 17.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.009323, allocations: 55.17 kB / 0.5572 GB, free: 17.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.189e-05/0.009355, allocations: 338.8 kB / 0.5576 GB, free: 16.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.009402, allocations: 97 kB / 0.5577 GB, free: 16.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.978e-05/0.009462, allocations: 165.4 kB / 0.5578 GB, free: 16.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.009567, allocations: 221.5 kB / 0.558 GB, free: 16.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.009569, allocations: 0 / 0.558 GB, free: 16.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001499/0.009718, allocations: 260.2 kB / 0.5583 GB, free: 16.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.009754, allocations: 59.41 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.00976, allocations: 4 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.009772, allocations: 3.938 kB / 0.5583 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.009932, allocations: 76.11 kB / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.009937, allocations: 0 / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.01001, allocations: 19.98 kB / 0.5584 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.01002, allocations: 11.94 kB / 0.5584 GB, free: 15.89 MB / 410.7 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001023/0.01012, allocations: 167.6 kB / 0.5586 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.01015, allocations: 23.3 kB / 0.5586 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.01018, allocations: 25.95 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.01018, allocations: 7.938 kB / 0.5587 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.01018, allocations: 0 / 0.5587 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.0102, allocations: 19.86 kB / 0.5587 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01022, allocations: 11.92 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.01025, allocations: 8 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.0103, allocations: 11.98 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.01034, allocations: 15.97 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001792/0.01052, allocations: 267 kB / 0.559 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001886/0.01071, allocations: 431.7 kB / 0.5594 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.613e-05/0.01077, allocations: 78.52 kB / 0.5595 GB, free: 14.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.2662/0.277, allocations: 61.31 kB / 0.5595 GB, free: 79.61 MB / 410.8 MB Notification: Performance of Backend: time 7.81e-07/0.277, allocations: 0 / 0.5595 GB, free: 79.61 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006238/0.2776, allocations: 334.4 kB / 0.5598 GB, free: 79.37 MB / 410.8 MB Notification: Performance of SimCode: time 0.008576/0.2862, allocations: 1.114 MB / 0.5609 GB, free: 78.56 MB / 410.8 MB Notification: Performance of Templates: time 0.007128/0.2933, allocations: 3.877 MB / 0.5647 GB, free: 78.44 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.709319773130119]