Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin.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.0007006/0.0007006, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000929/0.00163, allocations: 440 kB / 10.41 MB, free: 284 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.0006839/0.0006839, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009225/0.001606, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.919/0.919, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07667/0.9957, allocations: 53.68 MB / 243.4 MB, free: 15.48 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.8341/0.8341, allocations: 291.1 MB / 0.5227 GB, free: 52.45 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02746/0.8615, allocations: 21.04 MB / 0.5433 GB, free: 31.47 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.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin") translateModel(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.5446 GB, free: 30.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004e-05/1.112e-05, allocations: 10.25 kB / 0.5446 GB, free: 30.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin): time 0.00282/0.002831, allocations: 2.867 MB / 0.5474 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004485/0.007316, allocations: 1.393 MB / 0.5488 GB, free: 25.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.007422, allocations: 11.88 kB / 0.5488 GB, free: 25.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.007768, allocations: 175 kB / 0.549 GB, free: 25.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.007927, allocations: 119.1 kB / 0.5491 GB, free: 25.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.008339, allocations: 231 kB / 0.5493 GB, free: 25.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.00861, allocations: 350.5 kB / 0.5496 GB, free: 24.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.008713, allocations: 51.38 kB / 0.5497 GB, free: 24.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.008929, allocations: 252.5 kB / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.009049, allocations: 95.64 kB / 0.55 GB, free: 24.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.009085, allocations: 24 kB / 0.55 GB, free: 24.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003397/0.01248, allocations: 307.1 kB / 0.5503 GB, free: 24.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.01259, allocations: 127.5 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.899e-05/0.01268, allocations: 99.62 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005071/0.01318, allocations: 0.5952 MB / 0.5511 GB, free: 23.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.01319, allocations: 0 / 0.5511 GB, free: 23.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01319, allocations: 0 / 0.5511 GB, free: 23.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.0132, allocations: 3.938 kB / 0.5511 GB, free: 23.41 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007884/0.01399, allocations: 0.9088 MB / 0.552 GB, free: 22.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.788e-05/0.01402, allocations: 11.89 kB / 0.552 GB, free: 22.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004151/0.01443, allocations: 354.5 kB / 0.5524 GB, free: 22.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.01467, allocations: 327.1 kB / 0.5527 GB, free: 21.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.01468, allocations: 16.38 kB / 0.5527 GB, free: 21.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.01472, allocations: 20.36 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.01493, allocations: 193.8 kB / 0.5529 GB, free: 21.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.01494, allocations: 4.188 kB / 0.5529 GB, free: 21.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.01496, allocations: 12.11 kB / 0.5529 GB, free: 21.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.01497, allocations: 4 kB / 0.5529 GB, free: 21.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.01507, allocations: 109.9 kB / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003625/0.0187, allocations: 0.6018 MB / 0.5536 GB, free: 20.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.0189, allocations: 172.1 kB / 0.5538 GB, free: 20.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.01895, allocations: 66.55 kB / 0.5538 GB, free: 20.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.01896, allocations: 8 kB / 0.5539 GB, free: 20.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.01913, allocations: 207.5 kB / 0.5541 GB, free: 20.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.01913, allocations: 3.938 kB / 0.5541 GB, free: 20.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007918/0.01992, allocations: 0.6663 MB / 0.5547 GB, free: 19.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.01996, allocations: 174.1 kB / 0.5549 GB, free: 19.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.02039, allocations: 0.654 MB / 0.5555 GB, free: 18.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.02041, allocations: 33.7 kB / 0.5555 GB, free: 18.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.0205, allocations: 190.4 kB / 0.5557 GB, free: 18.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.02054, allocations: 91.23 kB / 0.5558 GB, free: 18.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/0.02061, allocations: 53.97 kB / 0.5559 GB, free: 18.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.08e-05/0.02064, allocations: 321.9 kB / 0.5562 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.561e-05/0.02072, allocations: 112 kB / 0.5563 GB, free: 17.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.02085, allocations: 383.5 kB / 0.5566 GB, free: 17.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.021, allocations: 256.7 kB / 0.5569 GB, free: 17.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.021, allocations: 0 / 0.5569 GB, free: 17.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003366/0.02437, allocations: 425.2 kB / 0.5573 GB, free: 16.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.0244, allocations: 59.41 kB / 0.5574 GB, free: 16.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.02441, allocations: 6.062 kB / 0.5574 GB, free: 16.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.02442, allocations: 4.219 kB / 0.5574 GB, free: 16.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.02461, allocations: 75.89 kB / 0.5574 GB, free: 16.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.02462, allocations: 4 kB / 0.5574 GB, free: 16.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.02475, allocations: 19.97 kB / 0.5575 GB, free: 16.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.02479, allocations: 51.88 kB / 0.5575 GB, free: 16.36 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: dose.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: 15 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,SLC22A2.status,CYP2C19.status,central.rising,$PRE.central.rising,dose.pulse.count,$PRE.dose.pulse.count,dose.pulse.T_start,$PRE.dose.pulse.T_start,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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.0001457/0.02494, allocations: 170.9 kB / 0.5577 GB, free: 16.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.02506, allocations: 101.2 kB / 0.5578 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.02512, allocations: 57.81 kB / 0.5578 GB, free: 16.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.02512, allocations: 4 kB / 0.5578 GB, free: 16.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.02512, allocations: 0 / 0.5578 GB, free: 16.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.02512, allocations: 3.984 kB / 0.5578 GB, free: 16.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.02552, allocations: 0.534 MB / 0.5584 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.02552, allocations: 0 / 0.5584 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.02568, allocations: 55.89 kB / 0.5584 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.02572, allocations: 51.58 kB / 0.5585 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.02573, allocations: 0 / 0.5585 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.02574, allocations: 12 kB / 0.5585 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.02574, allocations: 0 / 0.5585 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02574, allocations: 0 / 0.5585 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.02609, allocations: 0.515 MB / 0.559 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.02613, allocations: 11.25 kB / 0.559 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.02625, allocations: 15.98 kB / 0.559 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.0263, allocations: 27.89 kB / 0.559 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.02634, allocations: 39.94 kB / 0.5591 GB, free: 14.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.2497/0.276, allocations: 332.2 kB / 0.5594 GB, free: 82.73 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.276, allocations: 0 / 0.5594 GB, free: 82.73 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0004211/0.2764, allocations: 96.52 kB / 0.5595 GB, free: 82.73 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (dose.TotalCumulativeMass,central.C,central.AUC,elim.MExc) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,dose.pulse.T_start,dose.pulse.count,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 6 (dose.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 (21): * Single equations (assignments): 18 * 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.0002949/0.2767, allocations: 217.8 kB / 0.5597 GB, free: 82.66 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.277, allocations: 339.1 kB / 0.56 GB, free: 82.44 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/0.277, allocations: 7.969 kB / 0.56 GB, free: 82.44 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.2772, allocations: 257.9 kB / 0.5603 GB, free: 82.33 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.2775, allocations: 339.6 kB / 0.5606 GB, free: 82.05 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00498/0.2825, allocations: 1.007 MB / 0.5616 GB, free: 81.56 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.2826, allocations: 139 kB / 0.5617 GB, free: 81.49 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.2828, allocations: 139.2 kB / 0.5618 GB, free: 81.49 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.283, allocations: 116 kB / 0.5619 GB, free: 81.45 MB / 410.8 MB Notification: Performance of SimCode: time 3.4e-07/0.283, allocations: 0 / 0.5619 GB, free: 81.45 MB / 410.8 MB Notification: Performance of Templates: time 0.0099/0.2929, allocations: 6.72 MB / 0.5685 GB, free: 80.09 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7379675153642893]