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.0009541/0.0009541, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.001059/0.001059, allocations: 217.8 kB / 23 MB, free: 2.977 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.9487/0.9487, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.7003/0.7003, allocations: 312.3 MB / 0.6108 GB, free: 97.68 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 72.05 kB / 0.7698 GB, free: 20.29 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 73.99 MB / 0.8421 GB, free: 10.42 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol): time 0.003082/0.1092, allocations: 3.158 MB / 0.8451 GB, free: 7.262 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1107, allocations: 1.49 MB / 0.8466 GB, free: 5.797 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1108, allocations: 4 kB / 0.8466 GB, free: 5.793 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0007336/0.1115, allocations: 250.4 kB / 0.8468 GB, free: 5.559 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.1118, allocations: 181.8 kB / 0.847 GB, free: 5.391 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.1122, allocations: 268.5 kB / 0.8473 GB, free: 5.129 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003563/0.1126, allocations: 486 kB / 0.8477 GB, free: 4.652 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.1127, allocations: 76.58 kB / 0.8478 GB, free: 4.57 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1129, allocations: 187.3 kB / 0.848 GB, free: 4.387 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.113, allocations: 164.7 kB / 0.8481 GB, free: 4.227 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.859e-05/0.1131, allocations: 40 kB / 0.8482 GB, free: 4.188 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.1134, allocations: 371.2 kB / 0.8485 GB, free: 3.824 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.1136, allocations: 350.7 kB / 0.8489 GB, free: 3.48 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.1138, allocations: 339.7 kB / 0.8492 GB, free: 3.148 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0009544/0.1147, allocations: 1.564 MB / 0.8507 GB, free: 1.578 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.1147, allocations: 0 / 0.8507 GB, free: 1.578 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1147, allocations: 0 / 0.8507 GB, free: 1.578 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.1148, allocations: 4 kB / 0.8507 GB, free: 1.574 MB / 474.8 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.001304/0.1161, allocations: 1.602 MB / 0.8523 GB, free: 15.92 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1161, allocations: 8.844 kB / 0.8523 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/0.1164, allocations: 235.7 kB / 0.8525 GB, free: 15.68 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004816/0.1169, allocations: 0.6268 MB / 0.8531 GB, free: 15.02 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.1169, allocations: 21.44 kB / 0.8531 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.117, allocations: 32.33 kB / 0.8532 GB, free: 14.97 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000901/0.1179, allocations: 0.8967 MB / 0.8541 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.1179, allocations: 4.531 kB / 0.8541 GB, free: 14.03 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.1179, allocations: 12.59 kB / 0.8541 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1179, allocations: 8 kB / 0.8541 GB, free: 14.01 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006552/0.1186, allocations: 1.095 MB / 0.8551 GB, free: 12.88 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2283/0.3468, allocations: 1.616 MB / 0.8567 GB, free: 28.7 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007177/0.3475, allocations: 0.5765 MB / 0.8573 GB, free: 28.59 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.348, allocations: 0.7525 MB / 0.858 GB, free: 28.49 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.348, allocations: 6.5 kB / 0.858 GB, free: 28.49 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004986/0.3485, allocations: 0.6743 MB / 0.8587 GB, free: 28.23 MB / 490.8 MB Notification: Performance of pre-optimization done (n=36): time 3.176e-06/0.3485, allocations: 0 / 0.8587 GB, free: 28.23 MB / 490.8 MB Notification: Performance of matching and sorting (n=38): time 0.002817/0.3514, allocations: 2.947 MB / 0.8616 GB, free: 27.52 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/0.3514, allocations: 222.7 kB / 0.8618 GB, free: 27.27 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/0.3541, allocations: 2.36 MB / 0.8641 GB, free: 27 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/0.3541, allocations: 41.11 kB / 0.8641 GB, free: 26.96 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.3546, allocations: 0.6514 MB / 0.8648 GB, free: 26.45 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/0.3547, allocations: 132 kB / 0.8649 GB, free: 26.36 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3548, allocations: 87.92 kB / 0.865 GB, free: 26.31 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.265e-05/0.3548, allocations: 325.7 kB / 0.8653 GB, free: 26 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.3553, allocations: 0.7915 MB / 0.8661 GB, free: 25.66 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000732/0.356, allocations: 1.339 MB / 0.8674 GB, free: 24.86 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.3571, allocations: 1.309 MB / 0.8686 GB, free: 24.21 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3572, allocations: 7.891 kB / 0.8686 GB, free: 24.21 MB / 490.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001761/0.3589, allocations: 1.871 MB / 0.8705 GB, free: 23.38 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.359, allocations: 92.48 kB / 0.8706 GB, free: 23.29 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.359, allocations: 1.781 kB / 0.8706 GB, free: 23.29 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.359, allocations: 5.062 kB / 0.8706 GB, free: 23.29 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.3592, allocations: 87.69 kB / 0.8706 GB, free: 23.27 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.3592, allocations: 5.906 kB / 0.8707 GB, free: 23.27 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.3595, allocations: 26.56 kB / 0.8707 GB, free: 23.27 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.509e-05/0.3596, allocations: 60.12 kB / 0.8707 GB, free: 23.26 MB / 490.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,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,CYP3A4.status,CYP2D6.status) * 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.0006636/0.3602, allocations: 0.5934 MB / 0.8713 GB, free: 22.89 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.3604, allocations: 167.3 kB / 0.8715 GB, free: 22.8 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.3606, allocations: 158.1 kB / 0.8716 GB, free: 22.73 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.3606, allocations: 3.719 kB / 0.8716 GB, free: 22.73 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.3606, allocations: 0.5312 kB / 0.8716 GB, free: 22.73 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3607, allocations: 1.828 kB / 0.8716 GB, free: 22.73 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.3623, allocations: 1.82 MB / 0.8734 GB, free: 21.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3623, allocations: 0.5156 kB / 0.8734 GB, free: 21.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.3625, allocations: 67.77 kB / 0.8735 GB, free: 21.85 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.3625, allocations: 2.062 kB / 0.8735 GB, free: 21.85 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.3625, allocations: 11.27 kB / 0.8735 GB, free: 21.85 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3626, allocations: 1.656 kB / 0.8735 GB, free: 21.85 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.3626, allocations: 2.484 kB / 0.8735 GB, free: 21.85 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.3638, allocations: 1.979 MB / 0.8754 GB, free: 20.89 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.364, allocations: 167.5 kB / 0.8756 GB, free: 20.79 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-05/0.3641, allocations: 15.38 kB / 0.8756 GB, free: 20.78 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.3642, allocations: 16.75 kB / 0.8756 GB, free: 20.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/0.3643, allocations: 32.14 kB / 0.8756 GB, free: 20.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.385e-05/0.3643, allocations: 58.39 kB / 0.8757 GB, free: 20.76 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001288/0.3656, allocations: 1.769 MB / 0.8774 GB, free: 20.04 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3656, allocations: 0.625 kB / 0.8774 GB, free: 20.04 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004117/0.366, allocations: 144 kB / 0.8776 GB, free: 20.02 MB / 490.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.0003199/0.3664, allocations: 240.4 kB / 0.8778 GB, free: 19.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.3674, allocations: 1.475 MB / 0.8792 GB, free: 19.16 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3674, allocations: 0.5938 kB / 0.8792 GB, free: 19.16 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.3678, allocations: 0.6079 MB / 0.8798 GB, free: 18.82 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.3682, allocations: 109.8 kB / 0.8799 GB, free: 18.77 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.371, allocations: 3.179 MB / 0.883 GB, free: 17.12 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.3716, allocations: 0.6425 MB / 0.8837 GB, free: 16.9 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.689e-05/0.3716, allocations: 36.05 kB / 0.8837 GB, free: 16.89 MB / 490.8 MB Notification: Performance of SimCode: time 5.11e-07/0.3716, allocations: 0 / 0.8837 GB, free: 16.89 MB / 490.8 MB Notification: Performance of Templates: time 0.01433/0.386, allocations: 13.72 MB / 0.8971 GB, free: 7.805 MB / 490.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 > Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.336931642144918]