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.0006768/0.0006768, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000908/0.001585, allocations: 440 kB / 10.41 MB, free: 280 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.0006684/0.0006684, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009109/0.001579, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.9315/0.9315, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09915/1.031, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7885/0.7885, allocations: 291.1 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03015/0.8187, allocations: 21.04 MB / 0.5433 GB, free: 31.48 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.753e-06/1.753e-06, allocations: 0 / 0.5446 GB, free: 30.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.41e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.13 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol): time 0.006344/0.006358, allocations: 3.401 MB / 0.5479 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.007997, allocations: 1.554 MB / 0.5495 GB, free: 25.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.008164, allocations: 8 kB / 0.5495 GB, free: 25.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.008577, allocations: 256.7 kB / 0.5497 GB, free: 24.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.008799, allocations: 190.8 kB / 0.5499 GB, free: 24.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.00932, allocations: 263 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.009774, allocations: 0.4901 MB / 0.5506 GB, free: 23.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.00993, allocations: 89.25 kB / 0.5507 GB, free: 23.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.01024, allocations: 356.4 kB / 0.551 GB, free: 23.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.01039, allocations: 131.6 kB / 0.5512 GB, free: 23.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.01044, allocations: 43.94 kB / 0.5512 GB, free: 23.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.01087, allocations: 387.1 kB / 0.5516 GB, free: 22.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.01102, allocations: 334.9 kB / 0.5519 GB, free: 22.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.01115, allocations: 195.1 kB / 0.5521 GB, free: 22.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006737/0.01182, allocations: 1.012 MB / 0.5531 GB, free: 21.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.01183, allocations: 4 kB / 0.5531 GB, free: 21.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01183, allocations: 0 / 0.5531 GB, free: 21.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.01185, allocations: 0 / 0.5531 GB, free: 21.42 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.001298/0.01315, allocations: 1.756 MB / 0.5548 GB, free: 19.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.01318, allocations: 15.89 kB / 0.5548 GB, free: 19.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006194/0.0138, allocations: 0.6906 MB / 0.5555 GB, free: 18.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.01419, allocations: 0.5912 MB / 0.5561 GB, free: 18.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.01421, allocations: 20.88 kB / 0.5561 GB, free: 18.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.01425, allocations: 32.33 kB / 0.5561 GB, free: 18.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.01449, allocations: 278.2 kB / 0.5564 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.0145, allocations: 4.188 kB / 0.5564 GB, free: 17.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.01453, allocations: 16.36 kB / 0.5564 GB, free: 17.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.01454, allocations: 7.938 kB / 0.5564 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.01466, allocations: 169.2 kB / 0.5566 GB, free: 17.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007866/0.01545, allocations: 0.8497 MB / 0.5574 GB, free: 16.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.01567, allocations: 233.8 kB / 0.5576 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.988e-05/0.01573, allocations: 116.2 kB / 0.5577 GB, free: 16.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.01574, allocations: 7.938 kB / 0.5577 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.01591, allocations: 345.8 kB / 0.5581 GB, free: 16.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 1.954e-06/0.01592, allocations: 4 kB / 0.5581 GB, free: 16.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=38): time 0.2628/0.2787, allocations: 1.108 MB / 0.5592 GB, free: 82.75 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.2788, allocations: 279.1 kB / 0.5594 GB, free: 82.44 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.2801, allocations: 1.624 MB / 0.561 GB, free: 82.27 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.739e-05/0.2802, allocations: 38.83 kB / 0.561 GB, free: 82.23 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.2804, allocations: 324.2 kB / 0.5614 GB, free: 82.14 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.922e-05/0.2805, allocations: 131.1 kB / 0.5615 GB, free: 82.14 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.2806, allocations: 83.88 kB / 0.5616 GB, free: 82.13 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.255e-05/0.2807, allocations: 325.6 kB / 0.5619 GB, free: 81.82 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.2808, allocations: 164 kB / 0.562 GB, free: 81.72 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.281, allocations: 457 kB / 0.5625 GB, free: 81.25 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.2812, allocations: 377.2 kB / 0.5628 GB, free: 80.98 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2812, allocations: 3.781 kB / 0.5628 GB, free: 80.98 MB / 410.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005586/0.2817, allocations: 0.7546 MB / 0.5636 GB, free: 80.73 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.2818, allocations: 89.77 kB / 0.5636 GB, free: 80.63 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2818, allocations: 2.781 kB / 0.5636 GB, free: 80.63 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.2818, allocations: 9.719 kB / 0.5637 GB, free: 80.63 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.2821, allocations: 116.8 kB / 0.5638 GB, free: 80.63 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.2821, allocations: 7.797 kB / 0.5638 GB, free: 80.63 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.2823, allocations: 20.59 kB / 0.5638 GB, free: 80.63 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/0.2823, allocations: 57.27 kB / 0.5639 GB, free: 80.63 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.0002083/0.2826, allocations: 214.1 kB / 0.5641 GB, free: 80.45 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.2828, allocations: 244.1 kB / 0.5643 GB, free: 80.44 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.2829, allocations: 133.6 kB / 0.5644 GB, free: 80.42 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2829, allocations: 3.922 kB / 0.5644 GB, free: 80.42 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2829, allocations: 1.469 kB / 0.5644 GB, free: 80.42 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2829, allocations: 2.156 kB / 0.5644 GB, free: 80.42 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007475/0.2836, allocations: 0.8547 MB / 0.5653 GB, free: 80.06 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.2836, allocations: 1.312 kB / 0.5653 GB, free: 80.06 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.2839, allocations: 89.94 kB / 0.5653 GB, free: 80.06 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.284, allocations: 138.2 kB / 0.5655 GB, free: 80 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.284, allocations: 2.469 kB / 0.5655 GB, free: 80 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.284, allocations: 11.78 kB / 0.5655 GB, free: 80 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2841, allocations: 1.25 kB / 0.5655 GB, free: 80 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2841, allocations: 0.6094 kB / 0.5655 GB, free: 80 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/0.2847, allocations: 0.8305 MB / 0.5663 GB, free: 79.61 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.615e-05/0.2847, allocations: 11.73 kB / 0.5663 GB, free: 79.61 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.2849, allocations: 16.34 kB / 0.5663 GB, free: 79.61 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.2849, allocations: 36.81 kB / 0.5664 GB, free: 79.61 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-05/0.285, allocations: 48.45 kB / 0.5664 GB, free: 79.61 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0006619/0.2856, allocations: 0.8685 MB / 0.5673 GB, free: 79.55 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.2856, allocations: 0 / 0.5673 GB, free: 79.55 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003218/0.286, allocations: 143.2 kB / 0.5674 GB, free: 79.55 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.0002807/0.2862, allocations: 249.9 kB / 0.5676 GB, free: 79.48 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.2866, allocations: 0.5187 MB / 0.5681 GB, free: 79.12 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.865e-05/0.2866, allocations: 17.88 kB / 0.5682 GB, free: 79.12 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.2869, allocations: 0.5029 MB / 0.5686 GB, free: 78.92 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.2873, allocations: 0.5474 MB / 0.5692 GB, free: 78.46 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00772/0.2951, allocations: 2.124 MB / 0.5713 GB, free: 77.45 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.2952, allocations: 278.6 kB / 0.5715 GB, free: 77.38 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.000199/0.2954, allocations: 151.9 kB / 0.5717 GB, free: 77.38 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.2957, allocations: 146.7 kB / 0.5718 GB, free: 77.33 MB / 410.8 MB Notification: Performance of SimCode: time 7.72e-07/0.2957, allocations: 0 / 0.5718 GB, free: 77.33 MB / 410.8 MB Notification: Performance of Templates: time 0.01205/0.3077, allocations: 9.376 MB / 0.581 GB, free: 73.55 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.554620472714305]