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.001059/0.001059, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001634/0.002693, allocations: 435.8 kB / 10.33 MB, free: 368 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.001004/0.001004, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001244/0.002248, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.131/1.131, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1258/1.257, 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.9552/0.9552, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04026/0.9955, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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 2.225e-06/2.225e-06, allocations: 0 / 0.5444 GB, free: 30.67 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.787e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_Gentamicin): time 0.002867/0.002895, allocations: 2.827 MB / 0.5472 GB, free: 27.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.004168, allocations: 1.389 MB / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.596e-05/0.004264, allocations: 7.938 kB / 0.5485 GB, free: 26.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.0046, allocations: 174.9 kB / 0.5487 GB, free: 26.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.004749, allocations: 103.2 kB / 0.5488 GB, free: 26.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.005165, allocations: 235 kB / 0.549 GB, free: 25.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.005421, allocations: 334.6 kB / 0.5494 GB, free: 25.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.00557, allocations: 51.38 kB / 0.5494 GB, free: 25.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.005789, allocations: 226.6 kB / 0.5496 GB, free: 25.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.005926, allocations: 95.62 kB / 0.5497 GB, free: 25.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.00596, allocations: 24 kB / 0.5497 GB, free: 25.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.00628, allocations: 303.1 kB / 0.55 GB, free: 24.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.605e-05/0.006366, allocations: 127.5 kB / 0.5501 GB, free: 24.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.189e-05/0.006448, allocations: 95.62 kB / 0.5502 GB, free: 24.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.006928, allocations: 0.5797 MB / 0.5508 GB, free: 24.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.509e-05/0.006953, allocations: 4 kB / 0.5508 GB, free: 24.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.006954, allocations: 0 / 0.5508 GB, free: 24.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.437e-05/0.006979, allocations: 0 / 0.5508 GB, free: 24.1 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.0008882/0.007867, allocations: 0.8971 MB / 0.5517 GB, free: 23.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.007906, allocations: 11.89 kB / 0.5517 GB, free: 23.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.008276, allocations: 354.5 kB / 0.552 GB, free: 22.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.008504, allocations: 310.5 kB / 0.5523 GB, free: 22.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.008527, allocations: 12.38 kB / 0.5523 GB, free: 22.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.008558, allocations: 24.36 kB / 0.5524 GB, free: 22.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.0088, allocations: 214.4 kB / 0.5526 GB, free: 22.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.008816, allocations: 192 / 0.5526 GB, free: 22.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.008831, allocations: 12.12 kB / 0.5526 GB, free: 22.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.00884, allocations: 0 / 0.5526 GB, free: 22.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.008954, allocations: 106.5 kB / 0.5527 GB, free: 22.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006148/0.009568, allocations: 0.6014 MB / 0.5533 GB, free: 21.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.00981, allocations: 168.1 kB / 0.5534 GB, free: 21.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.009861, allocations: 78.48 kB / 0.5535 GB, free: 21.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.009872, allocations: 4 kB / 0.5535 GB, free: 21.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.01007, allocations: 207.2 kB / 0.5537 GB, free: 20.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 1.924e-06/0.01007, allocations: 0 / 0.5537 GB, free: 20.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007872/0.01086, allocations: 0.6537 MB / 0.5543 GB, free: 20.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.0109, allocations: 136.5 kB / 0.5545 GB, free: 20.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.01123, allocations: 0.6501 MB / 0.5551 GB, free: 19.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.01125, allocations: 33.7 kB / 0.5551 GB, free: 19.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.01133, allocations: 190.3 kB / 0.5553 GB, free: 19.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.01137, allocations: 75.36 kB / 0.5554 GB, free: 19.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.01143, allocations: 57.95 kB / 0.5554 GB, free: 19.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.01149, allocations: 386.6 kB / 0.5558 GB, free: 18.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.01156, allocations: 111.9 kB / 0.5559 GB, free: 18.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.01168, allocations: 383.5 kB / 0.5563 GB, free: 18.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.01181, allocations: 247 kB / 0.5565 GB, free: 17.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.01181, allocations: 0 / 0.5565 GB, free: 17.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003105/0.01212, allocations: 430.7 kB / 0.5569 GB, free: 17.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/0.01217, allocations: 67.39 kB / 0.557 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.934e-06/0.01217, allocations: 4.219 kB / 0.557 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.01219, allocations: 4 kB / 0.557 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.01238, allocations: 74.95 kB / 0.5571 GB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.01238, allocations: 4 kB / 0.5571 GB, free: 17.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.293e-05/0.01248, allocations: 15.98 kB / 0.5571 GB, free: 17.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.01251, allocations: 47.06 kB / 0.5571 GB, free: 17.07 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.000146/0.01266, allocations: 174.3 kB / 0.5573 GB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/0.01274, allocations: 93.19 kB / 0.5574 GB, free: 16.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.238e-05/0.01281, allocations: 57.72 kB / 0.5575 GB, free: 16.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01281, allocations: 7.984 kB / 0.5575 GB, free: 16.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.01281, allocations: 0 / 0.5575 GB, free: 16.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01282, allocations: 0 / 0.5575 GB, free: 16.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.01319, allocations: 0.5332 MB / 0.558 GB, free: 16.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01319, allocations: 0 / 0.558 GB, free: 16.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.01335, allocations: 59.2 kB / 0.558 GB, free: 16.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.01338, allocations: 43.62 kB / 0.5581 GB, free: 16.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.01338, allocations: 8 kB / 0.5581 GB, free: 16.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.01339, allocations: 4 kB / 0.5581 GB, free: 16.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.0134, allocations: 4 kB / 0.5581 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.0134, allocations: 3.938 kB / 0.5581 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.01371, allocations: 0.5072 MB / 0.5586 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.01374, allocations: 8 kB / 0.5586 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.678e-05/0.01382, allocations: 11.98 kB / 0.5586 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.01388, allocations: 23.91 kB / 0.5586 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.01392, allocations: 47.86 kB / 0.5587 GB, free: 15.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001785/0.01409, allocations: 327.4 kB / 0.559 GB, free: 15.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01409, allocations: 0 / 0.559 GB, free: 15.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.01434, allocations: 95.94 kB / 0.5591 GB, free: 15 MB / 410.7 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.0002969/0.01464, allocations: 234.5 kB / 0.5593 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.308/0.3226, allocations: 337.5 kB / 0.5596 GB, free: 83.54 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.211e-05/0.3227, allocations: 6.281 kB / 0.5596 GB, free: 83.54 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.3228, allocations: 159.8 kB / 0.5598 GB, free: 83.44 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.3233, allocations: 95.16 kB / 0.5599 GB, free: 83.44 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005359/0.3287, allocations: 0.9762 MB / 0.5608 GB, free: 82.96 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.3288, allocations: 144.7 kB / 0.561 GB, free: 82.89 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002856/0.3291, allocations: 138.5 kB / 0.5611 GB, free: 82.89 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.3293, allocations: 116.6 kB / 0.5612 GB, free: 82.85 MB / 410.8 MB Notification: Performance of SimCode: time 1.954e-06/0.3293, allocations: 0.875 kB / 0.5612 GB, free: 82.85 MB / 410.8 MB Notification: Performance of Templates: time 0.02718/0.3565, allocations: 6.537 MB / 0.5676 GB, free: 81.58 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: 4.8719618786126375]