Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.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.001011/0.001011, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.00238, 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.00077/0.00077, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00143/0.0022, 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.032/1.032, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09286/1.125, allocations: 53.66 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.7697/0.7697, allocations: 291.1 MB / 0.5226 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0406/0.8103, allocations: 21.05 MB / 0.5431 GB, free: 31.79 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.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1123200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1123200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.5445 GB, free: 30.39 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.716e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol): time 0.001973/0.00199, allocations: 2.513 MB / 0.547 GB, free: 27.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003771/0.005761, allocations: 6.68 MB / 0.5535 GB, free: 21.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.005874, allocations: 7.938 kB / 0.5535 GB, free: 21.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.223e-05/0.005946, allocations: 31.7 kB / 0.5535 GB, free: 21.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.006072, allocations: 87.33 kB / 0.5536 GB, free: 21.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.00619, allocations: 47.88 kB / 0.5537 GB, free: 21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.006347, allocations: 270.6 kB / 0.5539 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.006441, allocations: 42.47 kB / 0.554 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.006586, allocations: 176.2 kB / 0.5541 GB, free: 20.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.006715, allocations: 87.72 kB / 0.5542 GB, free: 20.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.006738, allocations: 16 kB / 0.5542 GB, free: 20.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.006757, allocations: 16 kB / 0.5543 GB, free: 20.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.006789, allocations: 27.88 kB / 0.5543 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/0.00684, allocations: 63.88 kB / 0.5543 GB, free: 20.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.006979, allocations: 139.5 kB / 0.5545 GB, free: 20.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.699e-06/0.006989, allocations: 3.938 kB / 0.5545 GB, free: 20.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.00699, allocations: 0 / 0.5545 GB, free: 20.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.007, allocations: 0 / 0.5545 GB, free: 20.18 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.0004815/0.007481, allocations: 0.4975 MB / 0.555 GB, free: 19.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.00751, allocations: 15.89 kB / 0.555 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.007551, allocations: 24.91 kB / 0.555 GB, free: 19.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.007679, allocations: 183.1 kB / 0.5552 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.007693, allocations: 12.55 kB / 0.5552 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.007716, allocations: 16.38 kB / 0.5552 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.007866, allocations: 155.5 kB / 0.5554 GB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.007875, allocations: 4 kB / 0.5554 GB, free: 19.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.007885, allocations: 4 kB / 0.5554 GB, free: 19.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.00789, allocations: 4 kB / 0.5554 GB, free: 19.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.91e-05/0.007959, allocations: 80.69 kB / 0.5554 GB, free: 19.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.008297, allocations: 372.9 kB / 0.5558 GB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.008456, allocations: 108.1 kB / 0.5559 GB, free: 18.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.656e-05/0.008493, allocations: 58.55 kB / 0.556 GB, free: 18.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-06/0.0085, allocations: 0 / 0.556 GB, free: 18.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.008631, allocations: 191.3 kB / 0.5561 GB, free: 18.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.008633, allocations: 3.938 kB / 0.5561 GB, free: 18.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005071/0.00914, allocations: 0.5094 MB / 0.5566 GB, free: 17.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.009166, allocations: 170.2 kB / 0.5568 GB, free: 17.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.754e-05/0.009244, allocations: 198.1 kB / 0.557 GB, free: 17.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.009254, allocations: 29.7 kB / 0.557 GB, free: 17.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.009284, allocations: 124.4 kB / 0.5571 GB, free: 17.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.009314, allocations: 71.41 kB / 0.5572 GB, free: 17.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.00936, allocations: 59.12 kB / 0.5573 GB, free: 17.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.979e-05/0.00939, allocations: 334.8 kB / 0.5576 GB, free: 16.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.655e-05/0.009436, allocations: 96.98 kB / 0.5577 GB, free: 16.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.93e-05/0.009496, allocations: 173.4 kB / 0.5578 GB, free: 16.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.057e-05/0.009586, allocations: 219.7 kB / 0.558 GB, free: 16.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.009588, allocations: 0 / 0.558 GB, free: 16.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001494/0.009737, allocations: 266.2 kB / 0.5583 GB, free: 15.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.009768, allocations: 63.39 kB / 0.5584 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.009774, allocations: 3.438 kB / 0.5584 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.009784, allocations: 4 kB / 0.5584 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.009937, allocations: 67.89 kB / 0.5584 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.009941, allocations: 4 kB / 0.5584 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.332e-05/0.01001, allocations: 12 kB / 0.5585 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.01003, allocations: 15.92 kB / 0.5585 GB, free: 15.65 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.345e-05/0.01012, allocations: 169.7 kB / 0.5586 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.01014, allocations: 23.97 kB / 0.5587 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.01017, allocations: 21.97 kB / 0.5587 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01017, allocations: 3.984 kB / 0.5587 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01017, allocations: 0 / 0.5587 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.01019, allocations: 19.84 kB / 0.5587 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.0102, allocations: 7.938 kB / 0.5587 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.01023, allocations: 8 kB / 0.5587 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.144e-05/0.01028, allocations: 15.98 kB / 0.5587 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.01032, allocations: 15.97 kB / 0.5587 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001678/0.01049, allocations: 268.2 kB / 0.559 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2747/0.2852, allocations: 419.6 kB / 0.5594 GB, free: 78.95 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.559e-05/0.2853, allocations: 80.77 kB / 0.5595 GB, free: 78.91 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.306e-05/0.2854, allocations: 61.89 kB / 0.5595 GB, free: 78.9 MB / 410.8 MB Notification: Performance of Backend: time 4.71e-07/0.2854, allocations: 2.844 kB / 0.5595 GB, free: 78.9 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005274/0.2859, allocations: 336.2 kB / 0.5599 GB, free: 78.66 MB / 410.8 MB Notification: Performance of SimCode: time 0.005805/0.2917, allocations: 1.123 MB / 0.561 GB, free: 77.85 MB / 410.8 MB Notification: Performance of Templates: time 0.007069/0.2988, allocations: 3.854 MB / 0.5647 GB, free: 77.7 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.387571933679283]