Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.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.0007119/0.0007119, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009128/0.001625, 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.0007046/0.0007046, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000899/0.001604, 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.04/1.04, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1064/1.146, 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.7471/0.7471, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03497/0.7821, allocations: 21.04 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.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.351e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine): time 0.006994/0.007017, allocations: 2.5 MB / 0.547 GB, free: 28.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.01948, allocations: 6.692 MB / 0.5535 GB, free: 21.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.01966, allocations: 4 kB / 0.5535 GB, free: 21.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.01977, allocations: 27.72 kB / 0.5536 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.01999, allocations: 83.33 kB / 0.5536 GB, free: 21.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.02017, allocations: 55.8 kB / 0.5537 GB, free: 21.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.02045, allocations: 266.6 kB / 0.5539 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.02057, allocations: 42.48 kB / 0.554 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.02079, allocations: 176.2 kB / 0.5542 GB, free: 20.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.02098, allocations: 83.77 kB / 0.5542 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.02101, allocations: 16 kB / 0.5543 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.999e-05/0.02104, allocations: 24 kB / 0.5543 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.02107, allocations: 27.88 kB / 0.5543 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.424e-05/0.02114, allocations: 59.88 kB / 0.5544 GB, free: 20.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00325/0.02439, allocations: 139.5 kB / 0.5545 GB, free: 20.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452e-05/0.02441, allocations: 0 / 0.5545 GB, free: 20.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02441, allocations: 4 kB / 0.5545 GB, free: 20.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.02442, allocations: 0 / 0.5545 GB, free: 20.37 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.000694/0.02512, allocations: 0.4898 MB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.02515, allocations: 23.83 kB / 0.555 GB, free: 19.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.02521, allocations: 28.86 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.02539, allocations: 179 kB / 0.5552 GB, free: 19.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.02541, allocations: 12.61 kB / 0.5552 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.02544, allocations: 12.38 kB / 0.5552 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.02565, allocations: 163.4 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.02566, allocations: 0 / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.02568, allocations: 8 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.02568, allocations: 0 / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.02579, allocations: 76.64 kB / 0.5555 GB, free: 19.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.02633, allocations: 384.2 kB / 0.5558 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.02655, allocations: 104.1 kB / 0.5559 GB, free: 18.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/0.0266, allocations: 58.55 kB / 0.556 GB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.02661, allocations: 4 kB / 0.556 GB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.02678, allocations: 195.2 kB / 0.5562 GB, free: 18.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.754e-06/0.02679, allocations: 0 / 0.5562 GB, free: 18.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.003664/0.03045, allocations: 0.5094 MB / 0.5567 GB, free: 17.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.03048, allocations: 170.2 kB / 0.5568 GB, free: 17.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.311e-05/0.03057, allocations: 198.1 kB / 0.557 GB, free: 17.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.03058, allocations: 33.69 kB / 0.557 GB, free: 17.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.03061, allocations: 116.4 kB / 0.5572 GB, free: 17.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.03064, allocations: 79.39 kB / 0.5572 GB, free: 17.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.03068, allocations: 47.19 kB / 0.5573 GB, free: 17.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.099e-05/0.03072, allocations: 338.8 kB / 0.5576 GB, free: 16.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.03077, allocations: 97 kB / 0.5577 GB, free: 16.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-05/0.03083, allocations: 181.2 kB / 0.5579 GB, free: 16.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.033e-05/0.03092, allocations: 205.6 kB / 0.5581 GB, free: 16.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.03092, allocations: 4 kB / 0.5581 GB, free: 16.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001839/0.0311, allocations: 264.2 kB / 0.5583 GB, free: 16.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.03114, allocations: 59.41 kB / 0.5584 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.03114, allocations: 4 kB / 0.5584 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.03116, allocations: 4 kB / 0.5584 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.03135, allocations: 67.89 kB / 0.5584 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.03135, allocations: 4 kB / 0.5585 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.03146, allocations: 16.2 kB / 0.5585 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.03147, allocations: 11.94 kB / 0.5585 GB, free: 15.84 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.0001089/0.03158, allocations: 173.5 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.0316, allocations: 23.98 kB / 0.5587 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.03164, allocations: 25.95 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.03164, allocations: 0 / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.03164, allocations: 0 / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.03167, allocations: 23.84 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.03168, allocations: 11.05 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.03171, allocations: 12 kB / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.619e-05/0.03177, allocations: 12 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.03182, allocations: 15.95 kB / 0.5588 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002156/0.03204, allocations: 271 kB / 0.559 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002237/0.03226, allocations: 423.7 kB / 0.5594 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2636/0.2958, allocations: 74.8 kB / 0.5595 GB, free: 79.56 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.794e-05/0.2959, allocations: 61.12 kB / 0.5596 GB, free: 79.55 MB / 410.8 MB Notification: Performance of Backend: time 2.8e-07/0.2959, allocations: 3.812 kB / 0.5596 GB, free: 79.55 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004225/0.2963, allocations: 337.2 kB / 0.5599 GB, free: 79.31 MB / 410.8 MB Notification: Performance of SimCode: time 0.005542/0.3019, allocations: 1.114 MB / 0.561 GB, free: 78.5 MB / 410.8 MB Notification: Performance of Templates: time 0.006556/0.3084, allocations: 3.86 MB / 0.5647 GB, free: 78.37 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8213139614090323]