Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.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.001001/0.001001, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00141/0.002411, 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.001028/0.001028, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001346/0.002374, 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.9684/0.9684, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09844/1.067, allocations: 53.67 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.7752/0.7752, allocations: 291.1 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0317/0.8069, allocations: 21.05 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.PKPG_1C_Gentamicin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin") translateModel(Pharmacolibrary.Examples.PKPG_1C_Gentamicin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 0.5446 GB, free: 30.15 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.629e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_Gentamicin): time 0.002425/0.002442, allocations: 2.832 MB / 0.5474 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.003749, allocations: 1.389 MB / 0.5487 GB, free: 25.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.003862, allocations: 3.938 kB / 0.5487 GB, free: 25.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.004192, allocations: 182.9 kB / 0.5489 GB, free: 25.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.004334, allocations: 99.22 kB / 0.549 GB, free: 25.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.004742, allocations: 231 kB / 0.5492 GB, free: 25.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.004998, allocations: 342.5 kB / 0.5496 GB, free: 25.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.00511, allocations: 47.39 kB / 0.5496 GB, free: 25.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.005312, allocations: 234.6 kB / 0.5498 GB, free: 24.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.005427, allocations: 87.7 kB / 0.5499 GB, free: 24.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.005459, allocations: 20 kB / 0.5499 GB, free: 24.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000349/0.005808, allocations: 311 kB / 0.5502 GB, free: 24.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.569e-05/0.005884, allocations: 127.6 kB / 0.5503 GB, free: 24.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.005956, allocations: 95.62 kB / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.006409, allocations: 0.5758 MB / 0.551 GB, free: 23.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.006419, allocations: 0 / 0.551 GB, free: 23.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00642, allocations: 4 kB / 0.551 GB, free: 23.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.006432, allocations: 0 / 0.551 GB, free: 23.57 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.0006858/0.007118, allocations: 0.8932 MB / 0.5519 GB, free: 22.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.007145, allocations: 15.89 kB / 0.5519 GB, free: 22.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/0.007469, allocations: 354.5 kB / 0.5522 GB, free: 22.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.007661, allocations: 306.5 kB / 0.5525 GB, free: 21.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.007678, allocations: 16.36 kB / 0.5525 GB, free: 21.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.007708, allocations: 24.36 kB / 0.5526 GB, free: 21.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.007916, allocations: 200.5 kB / 0.5527 GB, free: 21.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.007926, allocations: 4.188 kB / 0.5528 GB, free: 21.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.007938, allocations: 8.125 kB / 0.5528 GB, free: 21.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.007944, allocations: 4 kB / 0.5528 GB, free: 21.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.528e-05/0.008039, allocations: 106.5 kB / 0.5529 GB, free: 21.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.008582, allocations: 0.6125 MB / 0.5535 GB, free: 20.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.008763, allocations: 176 kB / 0.5536 GB, free: 20.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.008806, allocations: 72.94 kB / 0.5537 GB, free: 20.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.008815, allocations: 4 kB / 0.5537 GB, free: 20.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.008946, allocations: 207.2 kB / 0.5539 GB, free: 20.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 1.393e-06/0.008948, allocations: 0 / 0.5539 GB, free: 20.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006528/0.009601, allocations: 0.6625 MB / 0.5545 GB, free: 19.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.00963, allocations: 158.2 kB / 0.5547 GB, free: 19.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.009922, allocations: 0.6501 MB / 0.5553 GB, free: 18.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.009941, allocations: 33.7 kB / 0.5554 GB, free: 18.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.01002, allocations: 186.3 kB / 0.5555 GB, free: 18.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.01005, allocations: 79.36 kB / 0.5556 GB, free: 18.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.01011, allocations: 65.94 kB / 0.5557 GB, free: 18.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.01016, allocations: 378.6 kB / 0.556 GB, free: 18.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/0.01022, allocations: 123.1 kB / 0.5562 GB, free: 17.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.01032, allocations: 375.5 kB / 0.5565 GB, free: 17.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.01044, allocations: 256.7 kB / 0.5568 GB, free: 17.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01044, allocations: 0 / 0.5568 GB, free: 17.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002671/0.01071, allocations: 427.3 kB / 0.5572 GB, free: 16.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.01074, allocations: 67.39 kB / 0.5572 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01075, allocations: 0 / 0.5572 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.01076, allocations: 4 kB / 0.5572 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.01092, allocations: 71.89 kB / 0.5573 GB, free: 16.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.01092, allocations: 4 kB / 0.5573 GB, free: 16.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.609e-05/0.01102, allocations: 19.98 kB / 0.5573 GB, free: 16.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.01106, allocations: 43.94 kB / 0.5574 GB, free: 16.5 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: singleDose.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,singleDose.pulse.count,$PRE.singleDose.pulse.count,singleDose.pulse.T_start,$PRE.singleDose.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.0001316/0.01119, allocations: 170.5 kB / 0.5575 GB, free: 16.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.883e-05/0.01127, allocations: 97.17 kB / 0.5576 GB, free: 16.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.01132, allocations: 61.67 kB / 0.5577 GB, free: 16.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01132, allocations: 0 / 0.5577 GB, free: 16.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.01132, allocations: 3.188 kB / 0.5577 GB, free: 16.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01133, allocations: 0 / 0.5577 GB, free: 16.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.01165, allocations: 0.5388 MB / 0.5582 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01166, allocations: 0 / 0.5582 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.01179, allocations: 55.89 kB / 0.5583 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.01182, allocations: 47.62 kB / 0.5583 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01182, allocations: 4 kB / 0.5583 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.01184, allocations: 7.984 kB / 0.5583 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01184, allocations: 4 kB / 0.5583 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.01184, allocations: 0 / 0.5583 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.01212, allocations: 0.5152 MB / 0.5588 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.01214, allocations: 8 kB / 0.5588 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.979e-05/0.01222, allocations: 12 kB / 0.5589 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.01227, allocations: 27.89 kB / 0.5589 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.0123, allocations: 46.69 kB / 0.5589 GB, free: 14.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.2421/0.2544, allocations: 320 kB / 0.5592 GB, free: 82.14 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2544, allocations: 0 / 0.5592 GB, free: 82.14 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003903/0.2548, allocations: 93.55 kB / 0.5593 GB, free: 82.14 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (singleDose.TotalCumulativeMass,central.C,central.AUC,elim.MExc) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,singleDose.pulse.T_start,singleDose.pulse.count,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 6 (singleDose.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.0002828/0.2551, allocations: 218.9 kB / 0.5595 GB, free: 82.07 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.2554, allocations: 347 kB / 0.5599 GB, free: 81.85 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/0.2554, allocations: 7.594 kB / 0.5599 GB, free: 81.85 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.2556, allocations: 254.1 kB / 0.5601 GB, free: 81.74 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.2559, allocations: 333.8 kB / 0.5604 GB, free: 81.46 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.2605, allocations: 0.9804 MB / 0.5614 GB, free: 80.98 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.2607, allocations: 144.5 kB / 0.5615 GB, free: 80.91 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.000311/0.261, allocations: 134.9 kB / 0.5616 GB, free: 80.91 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.2612, allocations: 115.8 kB / 0.5618 GB, free: 80.87 MB / 410.8 MB Notification: Performance of SimCode: time 1.342e-06/0.2612, allocations: 2.406 kB / 0.5618 GB, free: 80.87 MB / 410.8 MB Notification: Performance of Templates: time 0.009839/0.271, allocations: 6.532 MB / 0.5681 GB, free: 79.59 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8838959326967597]