Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_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.0007448/0.0007448, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002089, 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.001091/0.001091, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001437/0.002528, 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.012/1.012, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09119/1.103, 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.6909/0.6909, allocations: 291.1 MB / 0.5226 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05198/0.7429, allocations: 21.04 MB / 0.5431 GB, free: 31.8 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.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=151200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=151200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5445 GB, free: 30.43 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105e-05/1.269e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.42 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference): time 0.001986/0.001998, allocations: 2.493 MB / 0.5469 GB, free: 27.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007024/0.002701, allocations: 0.631 MB / 0.5475 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.002771, allocations: 0 / 0.5475 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.482e-05/0.002826, allocations: 23.72 kB / 0.5476 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.002942, allocations: 91.25 kB / 0.5476 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/0.003048, allocations: 47.94 kB / 0.5477 GB, free: 27.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.00321, allocations: 270.6 kB / 0.548 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.003314, allocations: 34.48 kB / 0.548 GB, free: 26.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.00347, allocations: 180.2 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.003603, allocations: 91.7 kB / 0.5482 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.003625, allocations: 16 kB / 0.5483 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.021e-05/0.003645, allocations: 16 kB / 0.5483 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.003669, allocations: 27.88 kB / 0.5483 GB, free: 26.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.347e-05/0.003722, allocations: 59.88 kB / 0.5484 GB, free: 26.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.003862, allocations: 139.5 kB / 0.5485 GB, free: 26.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.003872, allocations: 0 / 0.5485 GB, free: 26.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003872, allocations: 4 kB / 0.5485 GB, free: 26.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.003885, allocations: 0 / 0.5485 GB, free: 26.31 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.0005166/0.004401, allocations: 0.4936 MB / 0.549 GB, free: 25.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.00443, allocations: 11.89 kB / 0.549 GB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.004469, allocations: 24.92 kB / 0.549 GB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.004601, allocations: 179.1 kB / 0.5492 GB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.00462, allocations: 12.55 kB / 0.5492 GB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.004644, allocations: 20.31 kB / 0.5492 GB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.004786, allocations: 163.4 kB / 0.5494 GB, free: 25.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.004798, allocations: 0 / 0.5494 GB, free: 25.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.004809, allocations: 8 kB / 0.5494 GB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.004815, allocations: 7.984 kB / 0.5494 GB, free: 25.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.066e-05/0.004885, allocations: 72.7 kB / 0.5495 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.005234, allocations: 368.9 kB / 0.5498 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.005396, allocations: 108.2 kB / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.005429, allocations: 62.55 kB / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.005437, allocations: 0 / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.005569, allocations: 187 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.00557, allocations: 0 / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005311/0.006101, allocations: 0.517 MB / 0.5507 GB, free: 23.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.00614, allocations: 166.2 kB / 0.5508 GB, free: 23.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.28e-05/0.006233, allocations: 206.1 kB / 0.551 GB, free: 23.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.006246, allocations: 33.7 kB / 0.551 GB, free: 23.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.006278, allocations: 120.4 kB / 0.5512 GB, free: 23.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.006311, allocations: 71.41 kB / 0.5512 GB, free: 23.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.006356, allocations: 51.19 kB / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.006394, allocations: 334.8 kB / 0.5516 GB, free: 22.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.954e-05/0.006444, allocations: 93 kB / 0.5517 GB, free: 22.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.006509, allocations: 183.7 kB / 0.5519 GB, free: 22.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.797e-05/0.006606, allocations: 219 kB / 0.5521 GB, free: 22.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006608, allocations: 3.938 kB / 0.5521 GB, free: 22.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001403/0.006748, allocations: 260.2 kB / 0.5523 GB, free: 21.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.006778, allocations: 59.39 kB / 0.5524 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.006782, allocations: 8.219 kB / 0.5524 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.006794, allocations: 4 kB / 0.5524 GB, free: 21.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.006939, allocations: 65.88 kB / 0.5524 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.006943, allocations: 4 kB / 0.5525 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.552e-05/0.007019, allocations: 15.98 kB / 0.5525 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.00703, allocations: 15.62 kB / 0.5525 GB, free: 21.79 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.557e-05/0.007125, allocations: 167.7 kB / 0.5526 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.007146, allocations: 19.98 kB / 0.5527 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.007178, allocations: 25.95 kB / 0.5527 GB, free: 21.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.007183, allocations: 4 kB / 0.5527 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007184, allocations: 0 / 0.5527 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.007203, allocations: 23.83 kB / 0.5527 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.007213, allocations: 7.938 kB / 0.5527 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.007236, allocations: 8 kB / 0.5527 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.15e-05/0.007287, allocations: 15.92 kB / 0.5527 GB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.007329, allocations: 19.97 kB / 0.5528 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001744/0.007503, allocations: 271 kB / 0.553 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001907/0.007694, allocations: 415.8 kB / 0.5534 GB, free: 20.76 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.277e-05/0.007757, allocations: 85.27 kB / 0.5535 GB, free: 20.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.52e-05/0.007802, allocations: 69.94 kB / 0.5536 GB, free: 20.6 MB / 410.7 MB Notification: Performance of Backend: time 1.11e-07/0.007802, allocations: 0 / 0.5536 GB, free: 20.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000312/0.008114, allocations: 334.8 kB / 0.5539 GB, free: 20.23 MB / 410.7 MB Notification: Performance of SimCode: time 0.005427/0.01354, allocations: 1.129 MB / 0.555 GB, free: 19.05 MB / 410.7 MB Notification: Performance of Templates: time 0.004541/0.01808, allocations: 3.859 MB / 0.5588 GB, free: 15.33 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3482008147984743]