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.0007435/0.0007435, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001842, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007736/0.0007736, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.001886, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9964/0.9964, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1001/1.096, allocations: 53.65 MB / 243.2 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.7705/0.7705, allocations: 291.2 MB / 0.5226 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02932/0.7998, allocations: 21.04 MB / 0.5432 GB, free: 31.5 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.723e-06/1.723e-06, allocations: 0 / 0.5445 GB, free: 30.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.036e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine): time 0.002285/0.002306, allocations: 2.483 MB / 0.5469 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004104/0.006409, allocations: 6.696 MB / 0.5535 GB, free: 20.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.006515, allocations: 4 kB / 0.5535 GB, free: 20.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.651e-05/0.006582, allocations: 23.72 kB / 0.5535 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.006726, allocations: 79.28 kB / 0.5536 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.00687, allocations: 59.86 kB / 0.5536 GB, free: 20.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.007048, allocations: 270.6 kB / 0.5539 GB, free: 20.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.007152, allocations: 38.47 kB / 0.5539 GB, free: 20.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.007309, allocations: 180.1 kB / 0.5541 GB, free: 20.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.007459, allocations: 83.78 kB / 0.5542 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.007486, allocations: 16 kB / 0.5542 GB, free: 20.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.207e-05/0.007508, allocations: 16 kB / 0.5542 GB, free: 20.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.007537, allocations: 27.88 kB / 0.5542 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.007598, allocations: 59.88 kB / 0.5543 GB, free: 20.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.007768, allocations: 143.5 kB / 0.5544 GB, free: 19.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.5e-05/0.007783, allocations: 0 / 0.5544 GB, free: 19.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.007784, allocations: 0 / 0.5544 GB, free: 19.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.007796, allocations: 4 kB / 0.5544 GB, free: 19.92 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.0005256/0.008322, allocations: 0.4976 MB / 0.5549 GB, free: 19.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.008351, allocations: 23.78 kB / 0.5549 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.008392, allocations: 16.92 kB / 0.555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.008538, allocations: 187 kB / 0.5551 GB, free: 19.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.008555, allocations: 8.609 kB / 0.5552 GB, free: 19.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.008577, allocations: 12.38 kB / 0.5552 GB, free: 19.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.008734, allocations: 163.4 kB / 0.5553 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.008745, allocations: 4 kB / 0.5553 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.008755, allocations: 4 kB / 0.5553 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.00876, allocations: 4 kB / 0.5553 GB, free: 18.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.55e-05/0.008835, allocations: 76.7 kB / 0.5554 GB, free: 18.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.009182, allocations: 365 kB / 0.5558 GB, free: 18.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.009347, allocations: 116 kB / 0.5559 GB, free: 18.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.542e-05/0.009382, allocations: 65.55 kB / 0.5559 GB, free: 18.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.009391, allocations: 0 / 0.5559 GB, free: 18.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.009524, allocations: 198.3 kB / 0.5561 GB, free: 18.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.243e-06/0.009525, allocations: 4 kB / 0.5561 GB, free: 18.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005038/0.01003, allocations: 0.4977 MB / 0.5566 GB, free: 17.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.01006, allocations: 136.5 kB / 0.5567 GB, free: 17.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.01014, allocations: 210 kB / 0.5569 GB, free: 17.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.01015, allocations: 33.7 kB / 0.557 GB, free: 17.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.216e-05/0.01018, allocations: 120.4 kB / 0.5571 GB, free: 16.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.01021, allocations: 71.41 kB / 0.5572 GB, free: 16.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.01026, allocations: 55.16 kB / 0.5572 GB, free: 16.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.289e-05/0.01029, allocations: 330.8 kB / 0.5575 GB, free: 16.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.866e-05/0.01034, allocations: 100.9 kB / 0.5576 GB, free: 16.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.644e-05/0.0104, allocations: 173.3 kB / 0.5578 GB, free: 16.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.315e-05/0.01049, allocations: 218.2 kB / 0.558 GB, free: 15.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.01049, allocations: 0 / 0.558 GB, free: 15.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000144/0.01063, allocations: 263 kB / 0.5582 GB, free: 15.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.01067, allocations: 67.39 kB / 0.5583 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01067, allocations: 2.875 kB / 0.5583 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.01068, allocations: 8 kB / 0.5583 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.01084, allocations: 59.91 kB / 0.5584 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.01084, allocations: 7.984 kB / 0.5584 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.1e-05/0.01091, allocations: 15.94 kB / 0.5584 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.01092, allocations: 12 kB / 0.5584 GB, free: 15.43 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 9.758e-05/0.01102, allocations: 169.6 kB / 0.5586 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.01104, allocations: 23.97 kB / 0.5586 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.01107, allocations: 25.97 kB / 0.5586 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01107, allocations: 0 / 0.5586 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01107, allocations: 0 / 0.5586 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01108, allocations: 3.984 kB / 0.5586 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.01133, allocations: 378.2 kB / 0.559 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.01133, allocations: 7.25 kB / 0.559 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.01145, allocations: 39.97 kB / 0.559 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.01147, allocations: 15.86 kB / 0.559 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01147, allocations: 4 kB / 0.559 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.01148, allocations: 11.98 kB / 0.5591 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01148, allocations: 0 / 0.5591 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01149, allocations: 0 / 0.5591 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2891/0.3006, allocations: 344.5 kB / 0.5594 GB, free: 79.48 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/0.3007, allocations: 6.578 kB / 0.5594 GB, free: 79.48 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.3008, allocations: 12.88 kB / 0.5594 GB, free: 79.48 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.3009, allocations: 18.02 kB / 0.5594 GB, free: 79.48 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.3009, allocations: 12.75 kB / 0.5594 GB, free: 79.48 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.721e-05/0.301, allocations: 62.8 kB / 0.5595 GB, free: 79.47 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.301, allocations: 2.594 kB / 0.5595 GB, free: 79.47 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002218/0.3012, allocations: 53.78 kB / 0.5595 GB, free: 79.47 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001351/0.3013, allocations: 101.2 kB / 0.5596 GB, free: 79.41 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.3016, allocations: 306.8 kB / 0.5599 GB, free: 79.18 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.3016, allocations: 3.281 kB / 0.5599 GB, free: 79.18 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.365e-05/0.3017, allocations: 146.9 kB / 0.5601 GB, free: 79.08 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.302, allocations: 88.38 kB / 0.5602 GB, free: 79.08 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/0.3074, allocations: 0.5704 MB / 0.5607 GB, free: 78.81 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.288e-05/0.3075, allocations: 80.19 kB / 0.5608 GB, free: 78.74 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.3076, allocations: 25.61 kB / 0.5608 GB, free: 78.74 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.3078, allocations: 118 kB / 0.5609 GB, free: 78.7 MB / 410.8 MB Notification: Performance of SimCode: time 2.054e-06/0.3078, allocations: 1.125 kB / 0.5609 GB, free: 78.7 MB / 410.8 MB Notification: Performance of Templates: time 0.006961/0.3147, allocations: 3.804 MB / 0.5646 GB, free: 78.52 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 > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.771329107694328]