Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.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.0007318/0.0007318, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001793, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007509/0.0007509, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009855/0.001736, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.03/1.03, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08967/1.12, 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.7243/0.7243, allocations: 291.1 MB / 0.5225 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03507/0.7594, allocations: 21.03 MB / 0.5431 GB, free: 31.82 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.B01AX01_Defibrotide.Defibrotide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 0.5444 GB, free: 30.46 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.033e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.45 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide): time 0.002279/0.0023, allocations: 2.497 MB / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006193/0.002919, allocations: 0.6154 MB / 0.5474 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.002981, allocations: 4 kB / 0.5474 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.163e-05/0.003033, allocations: 23.72 kB / 0.5475 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.003146, allocations: 87.25 kB / 0.5475 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.222e-05/0.003238, allocations: 55.88 kB / 0.5476 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.0034, allocations: 262.6 kB / 0.5479 GB, free: 26.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.003485, allocations: 34.55 kB / 0.5479 GB, free: 26.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.003629, allocations: 188.1 kB / 0.5481 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.003757, allocations: 91.7 kB / 0.5482 GB, free: 26.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.003779, allocations: 16 kB / 0.5482 GB, free: 26.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.222e-05/0.003802, allocations: 20 kB / 0.5482 GB, free: 26.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.003824, allocations: 23.88 kB / 0.5482 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.003875, allocations: 59.94 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.004011, allocations: 139.5 kB / 0.5484 GB, free: 26.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.004024, allocations: 0 / 0.5484 GB, free: 26.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004025, allocations: 0 / 0.5484 GB, free: 26.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.004038, allocations: 3.938 kB / 0.5484 GB, free: 26.34 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.0005214/0.004559, allocations: 0.4976 MB / 0.5489 GB, free: 25.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.582e-05/0.004585, allocations: 15.84 kB / 0.5489 GB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.004626, allocations: 24.92 kB / 0.5489 GB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.004763, allocations: 175.1 kB / 0.5491 GB, free: 25.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.004781, allocations: 12.61 kB / 0.5491 GB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.004801, allocations: 12.38 kB / 0.5491 GB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.004947, allocations: 163.4 kB / 0.5493 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.004957, allocations: 0 / 0.5493 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.004967, allocations: 12 kB / 0.5493 GB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.004972, allocations: 0 / 0.5493 GB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.15e-05/0.005044, allocations: 76.64 kB / 0.5494 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.005388, allocations: 372.9 kB / 0.5497 GB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.005542, allocations: 108.1 kB / 0.5498 GB, free: 24.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.005575, allocations: 58.55 kB / 0.5499 GB, free: 24.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.005582, allocations: 4 kB / 0.5499 GB, free: 24.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/0.005707, allocations: 192.3 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.005709, allocations: 0 / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004846/0.006193, allocations: 0.5083 MB / 0.5506 GB, free: 23.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.006223, allocations: 140.5 kB / 0.5507 GB, free: 23.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.006313, allocations: 202.1 kB / 0.5509 GB, free: 23.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.006325, allocations: 33.7 kB / 0.5509 GB, free: 23.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.006356, allocations: 112.4 kB / 0.551 GB, free: 23.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.006388, allocations: 83.39 kB / 0.5511 GB, free: 23.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.006435, allocations: 55.12 kB / 0.5512 GB, free: 23.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.006469, allocations: 338.8 kB / 0.5515 GB, free: 22.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.757e-05/0.006517, allocations: 93 kB / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.007e-05/0.006577, allocations: 177.3 kB / 0.5517 GB, free: 22.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.583e-05/0.006673, allocations: 209.6 kB / 0.5519 GB, free: 22.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006675, allocations: 7.938 kB / 0.5519 GB, free: 22.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001432/0.006818, allocations: 256.3 kB / 0.5522 GB, free: 22.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.006844, allocations: 59.41 kB / 0.5522 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.006848, allocations: 4 kB / 0.5522 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.006857, allocations: 4 kB / 0.5523 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.007011, allocations: 75.42 kB / 0.5523 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.007016, allocations: 7.938 kB / 0.5523 GB, free: 21.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.585e-05/0.007091, allocations: 19.92 kB / 0.5524 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.007102, allocations: 4 kB / 0.5524 GB, free: 21.86 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 8.786e-05/0.007189, allocations: 169.7 kB / 0.5525 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.007208, allocations: 19.98 kB / 0.5525 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.007236, allocations: 25.95 kB / 0.5526 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.007239, allocations: 8 kB / 0.5526 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.007243, allocations: 0 / 0.5526 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.007247, allocations: 0 / 0.5526 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.007478, allocations: 378.2 kB / 0.5529 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.00748, allocations: 3.938 kB / 0.5529 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.007593, allocations: 39.95 kB / 0.553 GB, free: 21.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.007612, allocations: 23.86 kB / 0.553 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.007614, allocations: 0 / 0.553 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.007624, allocations: 4 kB / 0.553 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007625, allocations: 4 kB / 0.553 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.007627, allocations: 0 / 0.553 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.007792, allocations: 351.8 kB / 0.5533 GB, free: 20.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.007815, allocations: 8 kB / 0.5533 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.007887, allocations: 15.92 kB / 0.5534 GB, free: 20.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.007928, allocations: 19.97 kB / 0.5534 GB, free: 20.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.007937, allocations: 15.11 kB / 0.5534 GB, free: 20.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.873e-05/0.007976, allocations: 61.95 kB / 0.5535 GB, free: 20.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007976, allocations: 0 / 0.5535 GB, free: 20.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001528/0.008129, allocations: 59.98 kB / 0.5535 GB, free: 20.59 MB / 410.7 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 5.909e-05/0.008188, allocations: 96.42 kB / 0.5536 GB, free: 20.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.008343, allocations: 308.5 kB / 0.5539 GB, free: 20.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.008346, allocations: 0 / 0.5539 GB, free: 20.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.938e-05/0.008406, allocations: 148.8 kB / 0.554 GB, free: 19.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.008626, allocations: 86.02 kB / 0.5541 GB, free: 19.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/0.01401, allocations: 0.5876 MB / 0.5547 GB, free: 19.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.478e-05/0.01406, allocations: 125.6 kB / 0.5548 GB, free: 19.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.0142, allocations: 123.3 kB / 0.5549 GB, free: 19.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01421, allocations: 0 / 0.5549 GB, free: 19.01 MB / 410.7 MB Notification: Performance of Templates: time 0.00248/0.01668, allocations: 2.922 MB / 0.5578 GB, free: 16.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.122119697742164]