Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.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.001039/0.001039, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002426, allocations: 455.9 kB / 10.35 MB, free: 348 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.001112/0.001112, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008862/0.001998, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.8836/0.8836, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09375/0.9774, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.7118/0.7118, allocations: 291.2 MB / 0.5227 GB, free: 52.68 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02645/0.7382, allocations: 21.05 MB / 0.5433 GB, free: 31.7 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_Metoprolol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol") translateModel(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.5446 GB, free: 30.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.096e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol): time 0.003947/0.003968, allocations: 3.394 MB / 0.5479 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.005825, allocations: 1.554 MB / 0.5494 GB, free: 25.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.00595, allocations: 4 kB / 0.5494 GB, free: 25.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.006476, allocations: 256.8 kB / 0.5497 GB, free: 25.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.006739, allocations: 194.8 kB / 0.5498 GB, free: 24.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004712/0.007211, allocations: 259 kB / 0.5501 GB, free: 24.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004042/0.007615, allocations: 0.4979 MB / 0.5506 GB, free: 24.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.00778, allocations: 85.27 kB / 0.5507 GB, free: 24.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003384/0.008118, allocations: 360.3 kB / 0.551 GB, free: 23.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.008298, allocations: 143.5 kB / 0.5511 GB, free: 23.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.008366, allocations: 40 kB / 0.5512 GB, free: 23.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004766/0.008843, allocations: 379.2 kB / 0.5515 GB, free: 23.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.009021, allocations: 326.9 kB / 0.5518 GB, free: 22.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.009196, allocations: 195.1 kB / 0.552 GB, free: 22.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008649/0.01006, allocations: 1.019 MB / 0.553 GB, free: 21.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.01007, allocations: 0 / 0.553 GB, free: 21.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01007, allocations: 0 / 0.553 GB, free: 21.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.01009, allocations: 0 / 0.553 GB, free: 21.68 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001485/0.01157, allocations: 1.76 MB / 0.5547 GB, free: 19.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.0116, allocations: 15.89 kB / 0.5548 GB, free: 19.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006361/0.01224, allocations: 0.6837 MB / 0.5554 GB, free: 19.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.01269, allocations: 0.5912 MB / 0.556 GB, free: 18.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.01272, allocations: 20.88 kB / 0.556 GB, free: 18.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.01277, allocations: 32.33 kB / 0.5561 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.0131, allocations: 282.3 kB / 0.5563 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.01312, allocations: 4.125 kB / 0.5563 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.01314, allocations: 8.375 kB / 0.5563 GB, free: 18.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.01315, allocations: 11.94 kB / 0.5563 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.01334, allocations: 165.2 kB / 0.5565 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.01439, allocations: 0.8459 MB / 0.5573 GB, free: 17.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.01467, allocations: 241.7 kB / 0.5576 GB, free: 16.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.857e-05/0.01476, allocations: 112.2 kB / 0.5577 GB, free: 16.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.01478, allocations: 8 kB / 0.5577 GB, free: 16.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.01502, allocations: 353.8 kB / 0.558 GB, free: 16.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 1.924e-06/0.01503, allocations: 0 / 0.558 GB, free: 16.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=38): time 0.001283/0.01631, allocations: 1.112 MB / 0.5591 GB, free: 15.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2147/0.231, allocations: 278.5 kB / 0.5594 GB, free: 83.23 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.2322, allocations: 1.626 MB / 0.561 GB, free: 83.06 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.121e-05/0.2323, allocations: 38.64 kB / 0.561 GB, free: 83.03 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.2325, allocations: 318.8 kB / 0.5613 GB, free: 82.94 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.076e-05/0.2326, allocations: 129.6 kB / 0.5614 GB, free: 82.94 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.797e-05/0.2327, allocations: 87.36 kB / 0.5615 GB, free: 82.93 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.605e-05/0.2327, allocations: 326.5 kB / 0.5618 GB, free: 82.62 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.2328, allocations: 159.8 kB / 0.562 GB, free: 82.52 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.233, allocations: 465.8 kB / 0.5624 GB, free: 82.05 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.2332, allocations: 368.3 kB / 0.5628 GB, free: 81.78 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2332, allocations: 1.406 kB / 0.5628 GB, free: 81.78 MB / 410.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005664/0.2337, allocations: 0.7556 MB / 0.5635 GB, free: 81.53 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.2338, allocations: 94.91 kB / 0.5636 GB, free: 81.43 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2338, allocations: 2.75 kB / 0.5636 GB, free: 81.43 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.2338, allocations: 3.938 kB / 0.5636 GB, free: 81.43 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.2341, allocations: 114.6 kB / 0.5637 GB, free: 81.43 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.2341, allocations: 9.5 kB / 0.5637 GB, free: 81.43 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.2342, allocations: 24.52 kB / 0.5637 GB, free: 81.43 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.2343, allocations: 51.28 kB / 0.5638 GB, free: 81.43 MB / 410.8 MB Warning: Assuming fixed start value for the following 2 variables: dose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real dose.route.variableDose.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: 12 * Number of states: 0 () * Number of discrete variables: 23 (dose.route.absorptionLumen.Cmin,$PRE.dose.route.absorptionLumen.Cmin,dose.route.absorptionLumen.Cmax,$PRE.dose.route.absorptionLumen.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,CYP2D6.status,CYP3A4.status,central.rising,$PRE.central.rising,dose.pulse.count,$PRE.dose.pulse.count,dose.pulse.T_start,$PRE.dose.pulse.T_start,dose.route.absorptionLumen.rising,$PRE.dose.route.absorptionLumen.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 3 * 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.0001996/0.2345, allocations: 219.2 kB / 0.564 GB, free: 81.25 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.2347, allocations: 238.2 kB / 0.5642 GB, free: 81.25 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.2348, allocations: 140.5 kB / 0.5644 GB, free: 81.22 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2348, allocations: 3.031 kB / 0.5644 GB, free: 81.22 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2348, allocations: 0.9375 kB / 0.5644 GB, free: 81.22 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2348, allocations: 1.875 kB / 0.5644 GB, free: 81.22 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006968/0.2355, allocations: 0.8492 MB / 0.5652 GB, free: 80.87 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2355, allocations: 2.734 kB / 0.5652 GB, free: 80.87 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.2357, allocations: 89.95 kB / 0.5653 GB, free: 80.87 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.2358, allocations: 144 kB / 0.5654 GB, free: 80.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2358, allocations: 2.594 kB / 0.5654 GB, free: 80.8 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.2359, allocations: 9.562 kB / 0.5654 GB, free: 80.8 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2359, allocations: 2.672 kB / 0.5654 GB, free: 80.8 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2359, allocations: 1.094 kB / 0.5654 GB, free: 80.8 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005724/0.2364, allocations: 0.8293 MB / 0.5662 GB, free: 80.41 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/0.2365, allocations: 15.12 kB / 0.5663 GB, free: 80.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.2366, allocations: 15.58 kB / 0.5663 GB, free: 80.41 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.2367, allocations: 33.02 kB / 0.5663 GB, free: 80.41 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.2367, allocations: 49.75 kB / 0.5664 GB, free: 80.41 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0006081/0.2373, allocations: 0.8735 MB / 0.5672 GB, free: 80.36 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2373, allocations: 0.5469 kB / 0.5672 GB, free: 80.36 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003055/0.2376, allocations: 141.5 kB / 0.5673 GB, free: 80.36 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (dose.TotalCumulativeMass,dose.route.variableDose.TotalCumulativeMass,dose.route.absorptionLumen.C,dose.route.absorptionLumen.AUC,central.C,central.AUC,elim.MExc) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,dose.route.absorptionLumen.Cmax,dose.route.absorptionLumen.Cmin,dose.route.absorptionLumen.rising,dose.pulse.T_start,dose.pulse.count,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 11 (dose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising,dose.route.absorptionLumen.Cmin,$whenCondition5,dose.route.absorptionLumen.Cmax,$whenCondition4,dose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.00026/0.2379, allocations: 245.6 kB / 0.5676 GB, free: 80.29 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.2382, allocations: 0.5141 MB / 0.5681 GB, free: 79.93 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.822e-05/0.2382, allocations: 18.44 kB / 0.5681 GB, free: 79.93 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.2385, allocations: 0.5056 MB / 0.5686 GB, free: 79.73 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.2389, allocations: 179.1 kB / 0.5688 GB, free: 79.71 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00763/0.2466, allocations: 2.113 MB / 0.5708 GB, free: 78.71 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.2467, allocations: 278.1 kB / 0.5711 GB, free: 78.63 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.2469, allocations: 148 kB / 0.5712 GB, free: 78.63 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.2471, allocations: 151.7 kB / 0.5714 GB, free: 78.58 MB / 410.8 MB Notification: Performance of SimCode: time 6.12e-07/0.2471, allocations: 1.188 kB / 0.5714 GB, free: 78.58 MB / 410.8 MB Notification: Performance of Templates: time 0.0112/0.2583, allocations: 9.382 MB / 0.5805 GB, free: 74.72 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.388480401597917]