Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_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.0006682/0.0006682, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001721, 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.0006874/0.0006874, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008917/0.001579, 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.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09493/1.132, 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.7972/0.7972, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.082/0.8792, 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.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5445 GB, free: 30.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.526e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference): time 0.003112/0.003127, allocations: 2.486 MB / 0.547 GB, free: 28.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006505/0.009633, allocations: 6.688 MB / 0.5535 GB, free: 21.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.009766, allocations: 0 / 0.5535 GB, free: 21.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.69e-05/0.009843, allocations: 35.64 kB / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.01002, allocations: 79.33 kB / 0.5536 GB, free: 21.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.01019, allocations: 51.88 kB / 0.5537 GB, free: 21.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.01046, allocations: 262.6 kB / 0.5539 GB, free: 20.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.01059, allocations: 54.39 kB / 0.554 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.01083, allocations: 168.3 kB / 0.5541 GB, free: 20.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.01103, allocations: 87.72 kB / 0.5542 GB, free: 20.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.01106, allocations: 16 kB / 0.5542 GB, free: 20.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.374e-05/0.0111, allocations: 20 kB / 0.5542 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.01113, allocations: 23.88 kB / 0.5543 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.342e-05/0.01122, allocations: 63.88 kB / 0.5543 GB, free: 20.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.01144, allocations: 143.5 kB / 0.5545 GB, free: 20.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.245e-05/0.01145, allocations: 0 / 0.5545 GB, free: 20.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.01145, allocations: 0 / 0.5545 GB, free: 20.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.387e-05/0.01147, allocations: 4 kB / 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.0007045/0.01218, allocations: 0.4976 MB / 0.5549 GB, free: 19.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.01221, allocations: 11.89 kB / 0.555 GB, free: 19.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.01228, allocations: 24.91 kB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.01248, allocations: 183 kB / 0.5552 GB, free: 19.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.0125, allocations: 12.61 kB / 0.5552 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.01253, allocations: 16.3 kB / 0.5552 GB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.01276, allocations: 161.3 kB / 0.5553 GB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.01277, allocations: 3.984 kB / 0.5553 GB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.01279, allocations: 8 kB / 0.5553 GB, free: 19.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.01279, allocations: 0 / 0.5553 GB, free: 19.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.01291, allocations: 82.75 kB / 0.5554 GB, free: 19.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.01349, allocations: 357 kB / 0.5558 GB, free: 18.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.01374, allocations: 104.2 kB / 0.5559 GB, free: 18.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.457e-05/0.01381, allocations: 66.53 kB / 0.5559 GB, free: 18.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.01382, allocations: 4 kB / 0.5559 GB, free: 18.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.01404, allocations: 202 kB / 0.5561 GB, free: 18.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.334e-06/0.01404, allocations: 0 / 0.5561 GB, free: 18.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007631/0.0148, allocations: 0.5123 MB / 0.5566 GB, free: 17.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.01485, allocations: 158.2 kB / 0.5568 GB, free: 17.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.01498, allocations: 210.1 kB / 0.557 GB, free: 17.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.015, allocations: 37.7 kB / 0.557 GB, free: 17.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.01505, allocations: 116.4 kB / 0.5571 GB, free: 17.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.0151, allocations: 67.42 kB / 0.5572 GB, free: 17.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/0.01517, allocations: 59.16 kB / 0.5572 GB, free: 17.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.25e-05/0.01522, allocations: 334.8 kB / 0.5576 GB, free: 16.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.238e-05/0.01531, allocations: 93 kB / 0.5577 GB, free: 16.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.01541, allocations: 177.3 kB / 0.5578 GB, free: 16.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.01557, allocations: 213.6 kB / 0.558 GB, free: 16.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01557, allocations: 0 / 0.558 GB, free: 16.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002333/0.0158, allocations: 265.2 kB / 0.5583 GB, free: 16.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/0.01584, allocations: 63.39 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01585, allocations: 4.219 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.01586, allocations: 4 kB / 0.5583 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.01611, allocations: 71.89 kB / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.01611, allocations: 0 / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.01625, allocations: 16 kB / 0.5584 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.01626, allocations: 11.92 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.0001196/0.01638, allocations: 167.6 kB / 0.5586 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.01641, allocations: 27.97 kB / 0.5586 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.01644, allocations: 21.97 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01644, allocations: 7.922 kB / 0.5587 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01645, allocations: 0 / 0.5587 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.01647, allocations: 19.86 kB / 0.5587 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.01648, allocations: 7.938 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.0165, allocations: 7.625 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.674e-05/0.01656, allocations: 15.98 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.01661, allocations: 15.97 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001912/0.0168, allocations: 272.2 kB / 0.559 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002156/0.01701, allocations: 434.5 kB / 0.5594 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.924e-05/0.01707, allocations: 74.53 kB / 0.5595 GB, free: 14.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.2751/0.2922, allocations: 62.34 kB / 0.5595 GB, free: 79.62 MB / 410.8 MB Notification: Performance of Backend: time 5.01e-07/0.2922, allocations: 0 / 0.5595 GB, free: 79.62 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.2926, allocations: 336 kB / 0.5598 GB, free: 79.39 MB / 410.8 MB Notification: Performance of SimCode: time 0.005534/0.2981, allocations: 1.113 MB / 0.5609 GB, free: 78.57 MB / 410.8 MB Notification: Performance of Templates: time 0.006015/0.3042, allocations: 3.87 MB / 0.5647 GB, free: 78.42 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0939450189471245]