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.001168/0.001168, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001998/0.003165, 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.001202/0.001202, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001561/0.002763, 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 0.9872/0.9872, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1035/1.091, 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.7439/0.7439, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03325/0.7771, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.503e-06/1.503e-06, allocations: 0 / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.378e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol): time 0.002868/0.002892, allocations: 3.404 MB / 0.5478 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.004399, allocations: 1.543 MB / 0.5493 GB, free: 25.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.00454, allocations: 4 kB / 0.5493 GB, free: 25.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004047/0.004945, allocations: 260.8 kB / 0.5495 GB, free: 25.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.005159, allocations: 194.8 kB / 0.5497 GB, free: 25.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.005596, allocations: 255 kB / 0.55 GB, free: 24.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.005928, allocations: 0.5017 MB / 0.5504 GB, free: 24.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.006068, allocations: 81.27 kB / 0.5505 GB, free: 24.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.006351, allocations: 360.4 kB / 0.5509 GB, free: 24.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.006502, allocations: 143.5 kB / 0.551 GB, free: 23.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.006552, allocations: 40 kB / 0.551 GB, free: 23.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.006949, allocations: 379.1 kB / 0.5514 GB, free: 23.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.007092, allocations: 326.9 kB / 0.5517 GB, free: 23.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.007225, allocations: 199.1 kB / 0.5519 GB, free: 22.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006726/0.007898, allocations: 1.016 MB / 0.5529 GB, free: 21.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.717e-05/0.007915, allocations: 0 / 0.5529 GB, free: 21.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.007916, allocations: 0 / 0.5529 GB, free: 21.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.255e-05/0.007948, allocations: 0 / 0.5529 GB, free: 21.93 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.001217/0.009165, allocations: 1.768 MB / 0.5546 GB, free: 20.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.009195, allocations: 11.89 kB / 0.5546 GB, free: 20.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004895/0.009685, allocations: 0.6837 MB / 0.5553 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.01002, allocations: 0.5834 MB / 0.5559 GB, free: 18.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.01004, allocations: 20.88 kB / 0.5559 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.01008, allocations: 32.33 kB / 0.5559 GB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.01032, allocations: 286.2 kB / 0.5562 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.01034, allocations: 4.188 kB / 0.5562 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.01035, allocations: 8.375 kB / 0.5562 GB, free: 18.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.01036, allocations: 11.94 kB / 0.5562 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.01049, allocations: 165.2 kB / 0.5564 GB, free: 18.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008236/0.01132, allocations: 0.8497 MB / 0.5572 GB, free: 17.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.01161, allocations: 241.1 kB / 0.5574 GB, free: 17.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.01168, allocations: 116.2 kB / 0.5575 GB, free: 16.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.01169, allocations: 4 kB / 0.5576 GB, free: 16.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.0119, allocations: 353.8 kB / 0.5579 GB, free: 16.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 3.366e-06/0.0119, allocations: 0 / 0.5579 GB, free: 16.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=38): time 0.001005/0.0129, allocations: 1.099 MB / 0.559 GB, free: 15.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.01295, allocations: 225.6 kB / 0.5592 GB, free: 15.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3477/0.3606, allocations: 1.618 MB / 0.5608 GB, free: 83.12 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.3607, allocations: 39.56 kB / 0.5608 GB, free: 83.09 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.361, allocations: 323.1 kB / 0.5611 GB, free: 83 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.3611, allocations: 130.2 kB / 0.5612 GB, free: 83 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.3612, allocations: 84.05 kB / 0.5613 GB, free: 82.99 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.298e-05/0.3613, allocations: 323.7 kB / 0.5616 GB, free: 82.68 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.3615, allocations: 163.9 kB / 0.5618 GB, free: 82.58 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.3617, allocations: 459.1 kB / 0.5622 GB, free: 82.11 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.362, allocations: 379.2 kB / 0.5626 GB, free: 81.84 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.362, allocations: 1.219 kB / 0.5626 GB, free: 81.84 MB / 410.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008321/0.3628, allocations: 0.7499 MB / 0.5633 GB, free: 81.59 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.605e-05/0.3629, allocations: 93.03 kB / 0.5634 GB, free: 81.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3629, allocations: 2.688 kB / 0.5634 GB, free: 81.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3629, allocations: 5 kB / 0.5634 GB, free: 81.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/0.3633, allocations: 118.9 kB / 0.5635 GB, free: 81.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3633, allocations: 6.484 kB / 0.5635 GB, free: 81.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.3636, allocations: 21.94 kB / 0.5635 GB, free: 81.5 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.385e-05/0.3636, allocations: 54.14 kB / 0.5636 GB, free: 81.5 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.0002618/0.3639, allocations: 224.9 kB / 0.5638 GB, free: 81.32 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.3641, allocations: 236 kB / 0.564 GB, free: 81.31 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.3643, allocations: 140 kB / 0.5642 GB, free: 81.29 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3643, allocations: 3.25 kB / 0.5642 GB, free: 81.29 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3643, allocations: 2.5 kB / 0.5642 GB, free: 81.29 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3643, allocations: 2.438 kB / 0.5642 GB, free: 81.29 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009695/0.3653, allocations: 0.8458 MB / 0.565 GB, free: 80.93 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3653, allocations: 2.125 kB / 0.565 GB, free: 80.93 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.3656, allocations: 91.41 kB / 0.5651 GB, free: 80.93 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.3658, allocations: 137 kB / 0.5652 GB, free: 80.87 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3658, allocations: 1.938 kB / 0.5652 GB, free: 80.87 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.3658, allocations: 13.06 kB / 0.5652 GB, free: 80.87 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.3658, allocations: 3.75 kB / 0.5652 GB, free: 80.87 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3658, allocations: 0.75 kB / 0.5652 GB, free: 80.87 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007564/0.3666, allocations: 0.8302 MB / 0.5661 GB, free: 80.48 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-05/0.3667, allocations: 15.56 kB / 0.5661 GB, free: 80.48 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.3669, allocations: 14.89 kB / 0.5661 GB, free: 80.48 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/0.3669, allocations: 28.88 kB / 0.5661 GB, free: 80.48 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.473e-05/0.367, allocations: 48.59 kB / 0.5662 GB, free: 80.48 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001101/0.3681, allocations: 0.8711 MB / 0.567 GB, free: 80.43 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3681, allocations: 0 / 0.567 GB, free: 80.43 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0004837/0.3686, allocations: 140.2 kB / 0.5671 GB, free: 80.43 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.0003422/0.3689, allocations: 247.3 kB / 0.5674 GB, free: 80.36 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000423/0.3694, allocations: 0.5144 MB / 0.5679 GB, free: 80 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.732e-05/0.3694, allocations: 17.16 kB / 0.5679 GB, free: 80 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.3696, allocations: 286.9 kB / 0.5682 GB, free: 79.8 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.3701, allocations: 180 kB / 0.5683 GB, free: 79.79 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.3808, allocations: 2.133 MB / 0.5704 GB, free: 78.79 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.381, allocations: 272.2 kB / 0.5707 GB, free: 78.71 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0003243/0.3814, allocations: 150.4 kB / 0.5708 GB, free: 78.71 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.3816, allocations: 154.1 kB / 0.571 GB, free: 78.66 MB / 410.8 MB Notification: Performance of SimCode: time 1.443e-06/0.3816, allocations: 1 kB / 0.571 GB, free: 78.66 MB / 410.8 MB Notification: Performance of Templates: time 0.01619/0.3978, allocations: 9.401 MB / 0.5802 GB, free: 75 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: 5.2536447905004025]