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.0006468/0.0006468, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000886/0.001533, allocations: 435.8 kB / 10.31 MB, free: 384 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.00101/0.00101, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001155/0.002165, allocations: 463.6 kB / 11.65 MB, free: 2.516 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/1, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1038/1.104, 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.7312/0.7312, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03796/0.7691, 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 2.184e-06/2.184e-06, allocations: 3.938 kB / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.819e-05, allocations: 2.312 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.004174/0.004202, allocations: 3.38 MB / 0.5477 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.005961, allocations: 1.543 MB / 0.5492 GB, free: 25.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.006105, allocations: 7.938 kB / 0.5492 GB, free: 25.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004368/0.006541, allocations: 252.9 kB / 0.5495 GB, free: 25.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.006767, allocations: 198.8 kB / 0.5497 GB, free: 25.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.007224, allocations: 255 kB / 0.5499 GB, free: 24.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003278/0.007552, allocations: 0.4939 MB / 0.5504 GB, free: 24.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.007684, allocations: 85.27 kB / 0.5505 GB, free: 24.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.007927, allocations: 360.4 kB / 0.5508 GB, free: 24.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.008086, allocations: 135.5 kB / 0.5509 GB, free: 23.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.008137, allocations: 40 kB / 0.551 GB, free: 23.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.008504, allocations: 391.1 kB / 0.5514 GB, free: 23.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.008641, allocations: 326.9 kB / 0.5517 GB, free: 23.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.008764, allocations: 195.1 kB / 0.5519 GB, free: 22.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006421/0.009406, allocations: 1.019 MB / 0.5528 GB, free: 21.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-05/0.009425, allocations: 0 / 0.5528 GB, free: 21.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.009426, allocations: 0 / 0.5528 GB, free: 21.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.009442, allocations: 0 / 0.5528 GB, free: 21.95 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.001206/0.01065, allocations: 1.756 MB / 0.5546 GB, free: 20.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.01069, allocations: 19.89 kB / 0.5546 GB, free: 20.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005131/0.0112, allocations: 0.6798 MB / 0.5552 GB, free: 19.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.01153, allocations: 0.5912 MB / 0.5558 GB, free: 18.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.01156, allocations: 16.88 kB / 0.5558 GB, free: 18.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.01159, allocations: 36.31 kB / 0.5559 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.01185, allocations: 282.3 kB / 0.5561 GB, free: 18.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.01186, allocations: 192 / 0.5561 GB, free: 18.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.01188, allocations: 12.38 kB / 0.5562 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.01188, allocations: 7.938 kB / 0.5562 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.01202, allocations: 173.2 kB / 0.5563 GB, free: 18.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/0.0128, allocations: 0.8419 MB / 0.5572 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.01303, allocations: 241.8 kB / 0.5574 GB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.38e-05/0.01309, allocations: 112.2 kB / 0.5575 GB, free: 16.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.01311, allocations: 4 kB / 0.5575 GB, free: 16.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.01331, allocations: 357 kB / 0.5578 GB, free: 16.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 2.905e-06/0.01331, allocations: 0 / 0.5578 GB, free: 16.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=38): time 0.0009623/0.01427, allocations: 1.097 MB / 0.5589 GB, free: 15.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.01432, allocations: 221.6 kB / 0.5591 GB, free: 15.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2621/0.2765, allocations: 1.617 MB / 0.5607 GB, free: 81.79 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.778e-05/0.2765, allocations: 39.27 kB / 0.5607 GB, free: 81.76 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.2767, allocations: 320.8 kB / 0.561 GB, free: 81.67 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.668e-05/0.2768, allocations: 136.8 kB / 0.5612 GB, free: 81.67 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-05/0.2769, allocations: 87.23 kB / 0.5613 GB, free: 81.65 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.258e-05/0.2769, allocations: 327.9 kB / 0.5616 GB, free: 81.35 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.277, allocations: 160.9 kB / 0.5617 GB, free: 81.24 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.2772, allocations: 456.6 kB / 0.5622 GB, free: 80.78 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.2774, allocations: 374.3 kB / 0.5625 GB, free: 80.51 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2774, allocations: 2.125 kB / 0.5625 GB, free: 80.51 MB / 410.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005921/0.278, allocations: 0.7495 MB / 0.5632 GB, free: 80.25 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.2781, allocations: 92.59 kB / 0.5633 GB, free: 80.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2781, allocations: 3.375 kB / 0.5633 GB, free: 80.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2781, allocations: 4.625 kB / 0.5633 GB, free: 80.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.2784, allocations: 121.2 kB / 0.5635 GB, free: 80.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2784, allocations: 7.5 kB / 0.5635 GB, free: 80.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.2785, allocations: 22.09 kB / 0.5635 GB, free: 80.16 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.2786, allocations: 52.69 kB / 0.5635 GB, free: 80.16 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.0001954/0.2788, allocations: 224.4 kB / 0.5637 GB, free: 79.98 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.279, allocations: 236.6 kB / 0.564 GB, free: 79.97 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.2791, allocations: 137.4 kB / 0.5641 GB, free: 79.95 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2791, allocations: 3.312 kB / 0.5641 GB, free: 79.95 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.2791, allocations: 0.5 kB / 0.5641 GB, free: 79.95 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.2791, allocations: 4.281 kB / 0.5641 GB, free: 79.95 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007188/0.2798, allocations: 0.8529 MB / 0.5649 GB, free: 79.6 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2798, allocations: 0.5625 kB / 0.5649 GB, free: 79.6 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.28, allocations: 87.5 kB / 0.565 GB, free: 79.59 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.2802, allocations: 134.8 kB / 0.5652 GB, free: 79.53 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2802, allocations: 2.094 kB / 0.5652 GB, free: 79.53 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.2802, allocations: 14.16 kB / 0.5652 GB, free: 79.53 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2802, allocations: 2.031 kB / 0.5652 GB, free: 79.53 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2802, allocations: 3.844 kB / 0.5652 GB, free: 79.53 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.2807, allocations: 0.8227 MB / 0.566 GB, free: 79.14 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.2808, allocations: 17.58 kB / 0.566 GB, free: 79.14 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.2809, allocations: 16 kB / 0.566 GB, free: 79.14 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.281, allocations: 31.42 kB / 0.566 GB, free: 79.14 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.281, allocations: 46.31 kB / 0.5661 GB, free: 79.14 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0007032/0.2817, allocations: 0.8729 MB / 0.5669 GB, free: 79.09 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.2817, allocations: 0.9688 kB / 0.5669 GB, free: 79.09 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003352/0.2821, allocations: 139.5 kB / 0.5671 GB, free: 79.09 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.0002885/0.2824, allocations: 249.8 kB / 0.5673 GB, free: 79.02 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.2827, allocations: 0.5093 MB / 0.5678 GB, free: 78.66 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/0.2827, allocations: 16.53 kB / 0.5678 GB, free: 78.66 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.2829, allocations: 288.9 kB / 0.5681 GB, free: 78.47 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.2833, allocations: 176.6 kB / 0.5683 GB, free: 78.46 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007838/0.2911, allocations: 2.135 MB / 0.5704 GB, free: 77.45 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.2913, allocations: 275.5 kB / 0.5706 GB, free: 77.38 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.2915, allocations: 148.5 kB / 0.5708 GB, free: 77.37 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.2917, allocations: 156.2 kB / 0.5709 GB, free: 77.32 MB / 410.8 MB Notification: Performance of SimCode: time 3.2e-07/0.2917, allocations: 0.8125 kB / 0.5709 GB, free: 77.32 MB / 410.8 MB Notification: Performance of Templates: time 0.01205/0.3037, allocations: 9.401 MB / 0.5801 GB, free: 73.79 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.420479699037969]