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.001951/0.001951, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 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.001963/0.001963, allocations: 216.6 kB / 22.25 MB, free: 3.574 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.698/1.698, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 178] 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 1.439/1.439, allocations: 316.7 MB / 0.6144 GB, free: 93.04 MB / 410.7 MB " [Timeout remaining time 178] 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.004269/0.004269, allocations: 78.05 kB / 0.7749 GB, free: 14.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1776, allocations: 73.99 MB / 0.8472 GB, free: 4.973 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol): time 0.0056/0.1832, allocations: 3.156 MB / 0.8503 GB, free: 1.812 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.003169/0.1864, allocations: 1.49 MB / 0.8517 GB, free: 356 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.1867, allocations: 4.531 kB / 0.8517 GB, free: 352 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0008259/0.1875, allocations: 250.7 kB / 0.8519 GB, free: 112 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004373/0.1879, allocations: 190.3 kB / 0.8521 GB, free: 15.93 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007859/0.1887, allocations: 259.1 kB / 0.8524 GB, free: 15.68 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006254/0.1893, allocations: 486.1 kB / 0.8528 GB, free: 15.2 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.1896, allocations: 80.33 kB / 0.8529 GB, free: 15.12 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.1898, allocations: 184 kB / 0.8531 GB, free: 14.94 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.1902, allocations: 167.7 kB / 0.8533 GB, free: 14.78 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 9.517e-05/0.1903, allocations: 40.59 kB / 0.8533 GB, free: 14.74 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007/0.191, allocations: 371.2 kB / 0.8536 GB, free: 14.38 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003552/0.1914, allocations: 347.2 kB / 0.854 GB, free: 14.04 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003627/0.1917, allocations: 337.7 kB / 0.8543 GB, free: 13.7 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.3796/0.5713, allocations: 1.565 MB / 0.8558 GB, free: 23.77 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.5713, allocations: 0.5312 kB / 0.8558 GB, free: 23.77 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5713, allocations: 0.9375 kB / 0.8558 GB, free: 23.77 MB / 490.8 MB Notification: Performance of Transformations before backend: time 3.672e-05/0.5713, allocations: 1.266 kB / 0.8558 GB, free: 23.77 MB / 490.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.002007/0.5734, allocations: 1.605 MB / 0.8574 GB, free: 22.71 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5734, allocations: 10.03 kB / 0.8574 GB, free: 22.71 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000449/0.5738, allocations: 232.6 kB / 0.8576 GB, free: 22.62 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006411/0.5745, allocations: 0.624 MB / 0.8582 GB, free: 22.23 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.5745, allocations: 20.25 kB / 0.8583 GB, free: 22.23 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.899e-05/0.5746, allocations: 27.5 kB / 0.8583 GB, free: 22.23 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.5757, allocations: 0.9002 MB / 0.8592 GB, free: 22.07 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.5757, allocations: 8.891 kB / 0.8592 GB, free: 22.06 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.5757, allocations: 12.12 kB / 0.8592 GB, free: 22.06 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.5758, allocations: 4.75 kB / 0.8592 GB, free: 22.06 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.577, allocations: 1.101 MB / 0.8603 GB, free: 21.95 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.5793, allocations: 1.61 MB / 0.8618 GB, free: 21.52 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.5804, allocations: 0.5754 MB / 0.8624 GB, free: 21.41 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009131/0.5813, allocations: 0.7517 MB / 0.8631 GB, free: 21.31 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.5813, allocations: 11.69 kB / 0.8631 GB, free: 21.31 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008395/0.5821, allocations: 0.661 MB / 0.8638 GB, free: 21.05 MB / 490.8 MB Notification: Performance of pre-optimization done (n=36): time 2.355e-06/0.5821, allocations: 1.188 kB / 0.8638 GB, free: 21.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=38): time 0.004589/0.5867, allocations: 2.952 MB / 0.8667 GB, free: 20.22 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.615e-05/0.5868, allocations: 222.4 kB / 0.8669 GB, free: 19.97 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/0.5898, allocations: 2.357 MB / 0.8692 GB, free: 19.37 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.5899, allocations: 44.61 kB / 0.8692 GB, free: 19.33 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005912/0.5905, allocations: 0.6561 MB / 0.8699 GB, free: 18.81 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.5906, allocations: 134.1 kB / 0.87 GB, free: 18.71 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.5908, allocations: 84.91 kB / 0.8701 GB, free: 18.66 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5909, allocations: 330.1 kB / 0.8704 GB, free: 18.35 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008755/0.5918, allocations: 0.7887 MB / 0.8712 GB, free: 18 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.5935, allocations: 1.336 MB / 0.8725 GB, free: 17.2 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.5954, allocations: 1.317 MB / 0.8738 GB, free: 16.55 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.5954, allocations: 1.344 kB / 0.8738 GB, free: 16.55 MB / 490.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00294/0.5983, allocations: 1.867 MB / 0.8756 GB, free: 15.73 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.612e-05/0.5984, allocations: 89.36 kB / 0.8757 GB, free: 15.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.5984, allocations: 3.391 kB / 0.8757 GB, free: 15.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/0.5984, allocations: 5.875 kB / 0.8757 GB, free: 15.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.5988, allocations: 86.75 kB / 0.8758 GB, free: 15.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.5989, allocations: 7.797 kB / 0.8758 GB, free: 15.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.5993, allocations: 25.34 kB / 0.8758 GB, free: 15.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.5994, allocations: 55.67 kB / 0.8758 GB, free: 15.62 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.001219/0.6007, allocations: 0.5982 MB / 0.8764 GB, free: 15.25 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/0.6009, allocations: 163.4 kB / 0.8766 GB, free: 15.17 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.6012, allocations: 162.3 kB / 0.8767 GB, free: 15.1 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.6012, allocations: 5.156 kB / 0.8767 GB, free: 15.1 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.6012, allocations: 1.5 kB / 0.8767 GB, free: 15.1 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.6012, allocations: 2.172 kB / 0.8767 GB, free: 15.1 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.6038, allocations: 1.817 MB / 0.8785 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6038, allocations: 0 / 0.8785 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/0.6041, allocations: 67.28 kB / 0.8786 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.6041, allocations: 1.344 kB / 0.8786 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.6042, allocations: 18.38 kB / 0.8786 GB, free: 14.22 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6042, allocations: 1.844 kB / 0.8786 GB, free: 14.22 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6042, allocations: 5.312 kB / 0.8786 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/0.6065, allocations: 1.982 MB / 0.8805 GB, free: 13.25 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.6068, allocations: 162.6 kB / 0.8807 GB, free: 13.15 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.6069, allocations: 17.05 kB / 0.8807 GB, free: 13.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.6071, allocations: 16.7 kB / 0.8807 GB, free: 13.14 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.6073, allocations: 39.8 kB / 0.8808 GB, free: 13.12 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.546e-05/0.6074, allocations: 54.52 kB / 0.8808 GB, free: 13.12 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002612/0.61, allocations: 1.768 MB / 0.8825 GB, free: 12.39 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.61, allocations: 1.125 kB / 0.8825 GB, free: 12.39 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0007144/0.6107, allocations: 141.6 kB / 0.8827 GB, free: 12.38 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.0005127/0.6112, allocations: 249.2 kB / 0.8829 GB, free: 12.27 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.6132, allocations: 1.463 MB / 0.8843 GB, free: 11.54 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6132, allocations: 1.656 kB / 0.8844 GB, free: 11.54 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007983/0.614, allocations: 0.6107 MB / 0.8849 GB, free: 11.2 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.6147, allocations: 113.4 kB / 0.8851 GB, free: 11.15 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005243/0.62, allocations: 3.05 MB / 0.888 GB, free: 9.574 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009912/0.6209, allocations: 0.6427 MB / 0.8887 GB, free: 9.355 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0004/0.6213, allocations: 149.5 kB / 0.8888 GB, free: 9.348 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.6214, allocations: 32.81 kB / 0.8888 GB, free: 9.34 MB / 490.8 MB Notification: Performance of SimCode: time 6.11e-07/0.6214, allocations: 3.938 kB / 0.8888 GB, free: 9.336 MB / 490.8 MB Notification: Performance of Templates: time 0.02158/0.643, allocations: 9.025 MB / 0.8977 GB, free: 5.316 MB / 490.8 MB " [Timeout remaining time 659] 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: 9.91576208290644]