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.001173/0.001173, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002071/0.003244, allocations: 443.9 kB / 10.36 MB, free: 332 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.001261/0.001261, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001576/0.002836, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.9674/0.9674, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.113/1.08, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.7318/0.7318, allocations: 291.2 MB / 0.5226 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02889/0.7607, allocations: 21.04 MB / 0.5432 GB, free: 31.49 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.624e-06/1.624e-06, allocations: 0 / 0.5445 GB, free: 30.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.349e-05, allocations: 14.19 kB / 0.5445 GB, free: 30.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol): time 0.003239/0.003262, allocations: 3.397 MB / 0.5478 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.004801, allocations: 1.55 MB / 0.5493 GB, free: 25.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.004921, allocations: 8 kB / 0.5493 GB, free: 25.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.005302, allocations: 252.9 kB / 0.5496 GB, free: 24.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.005503, allocations: 194.8 kB / 0.5498 GB, free: 24.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.005899, allocations: 259 kB / 0.55 GB, free: 24.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.00621, allocations: 0.4978 MB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.006349, allocations: 89.25 kB / 0.5506 GB, free: 23.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.006611, allocations: 352.5 kB / 0.5509 GB, free: 23.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.00676, allocations: 139.5 kB / 0.5511 GB, free: 23.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.006806, allocations: 40 kB / 0.5511 GB, free: 23.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.007158, allocations: 391.1 kB / 0.5515 GB, free: 22.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.007294, allocations: 326.9 kB / 0.5518 GB, free: 22.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.007422, allocations: 195.1 kB / 0.552 GB, free: 22.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006285/0.008051, allocations: 1.012 MB / 0.553 GB, free: 21.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.008062, allocations: 0 / 0.553 GB, free: 21.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.008063, allocations: 4 kB / 0.553 GB, free: 21.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.008085, allocations: 0 / 0.553 GB, free: 21.46 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.001098/0.009183, allocations: 1.764 MB / 0.5547 GB, free: 19.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.009216, allocations: 11.89 kB / 0.5547 GB, free: 19.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004732/0.009689, allocations: 0.6837 MB / 0.5554 GB, free: 18.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.01001, allocations: 0.5872 MB / 0.5559 GB, free: 18.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.01004, allocations: 20.88 kB / 0.556 GB, free: 18.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.01007, allocations: 32.33 kB / 0.556 GB, free: 18.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.01032, allocations: 278.3 kB / 0.5562 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.01033, allocations: 8.172 kB / 0.5563 GB, free: 17.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.01035, allocations: 12.38 kB / 0.5563 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.01035, allocations: 11.94 kB / 0.5563 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.01048, allocations: 168.2 kB / 0.5564 GB, free: 17.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007452/0.01122, allocations: 0.8426 MB / 0.5573 GB, free: 16.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.01144, allocations: 233.8 kB / 0.5575 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.043e-05/0.0115, allocations: 125.9 kB / 0.5576 GB, free: 16.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.01152, allocations: 4 kB / 0.5576 GB, free: 16.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.0117, allocations: 349.9 kB / 0.5579 GB, free: 16.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 1.874e-06/0.0117, allocations: 0 / 0.5579 GB, free: 16.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=38): time 0.0009968/0.01269, allocations: 1.119 MB / 0.559 GB, free: 14.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2329/0.2456, allocations: 274.6 kB / 0.5593 GB, free: 83.41 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.2469, allocations: 1.626 MB / 0.5609 GB, free: 83.23 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.347e-05/0.247, allocations: 39.09 kB / 0.5609 GB, free: 83.2 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.2472, allocations: 318.7 kB / 0.5612 GB, free: 83.11 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.858e-05/0.2473, allocations: 129.8 kB / 0.5614 GB, free: 83.11 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.2474, allocations: 85.64 kB / 0.5614 GB, free: 83.1 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.234e-05/0.2474, allocations: 327.3 kB / 0.5617 GB, free: 82.79 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.2476, allocations: 161 kB / 0.5619 GB, free: 82.69 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.2477, allocations: 460.9 kB / 0.5623 GB, free: 82.22 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.248, allocations: 372.6 kB / 0.5627 GB, free: 81.95 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.248, allocations: 4.406 kB / 0.5627 GB, free: 81.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005976/0.2486, allocations: 0.7529 MB / 0.5634 GB, free: 81.7 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.2486, allocations: 92.3 kB / 0.5635 GB, free: 81.61 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2486, allocations: 5.828 kB / 0.5635 GB, free: 81.61 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2486, allocations: 4.188 kB / 0.5635 GB, free: 81.61 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.2489, allocations: 117.6 kB / 0.5636 GB, free: 81.61 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.249, allocations: 6.672 kB / 0.5637 GB, free: 81.61 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.2491, allocations: 21.22 kB / 0.5637 GB, free: 81.61 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/0.2492, allocations: 51.8 kB / 0.5637 GB, free: 81.61 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.0002125/0.2494, allocations: 218.7 kB / 0.5639 GB, free: 81.43 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.2496, allocations: 239.5 kB / 0.5642 GB, free: 81.42 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.2497, allocations: 138.5 kB / 0.5643 GB, free: 81.39 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2497, allocations: 4.359 kB / 0.5643 GB, free: 81.39 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2497, allocations: 2.578 kB / 0.5643 GB, free: 81.39 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.2499, allocations: 144.5 kB / 0.5644 GB, free: 81.33 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.2499, allocations: 11.06 kB / 0.5644 GB, free: 81.33 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.6e-05/0.2499, allocations: 15.28 kB / 0.5645 GB, free: 81.33 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.2501, allocations: 17.53 kB / 0.5645 GB, free: 81.33 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.2501, allocations: 30.62 kB / 0.5645 GB, free: 81.33 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003919/0.2505, allocations: 464.2 kB / 0.5649 GB, free: 81.06 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006053/0.2511, allocations: 0.9109 MB / 0.5658 GB, free: 80.58 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001262/0.2513, allocations: 154 kB / 0.566 GB, free: 80.51 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0005993/0.2519, allocations: 0.713 MB / 0.5667 GB, free: 80.46 MB / 410.8 MB Notification: Performance of Backend: time 3.91e-07/0.2519, allocations: 0 / 0.5667 GB, free: 80.46 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0007239/0.2526, allocations: 0.686 MB / 0.5673 GB, free: 80.12 MB / 410.8 MB Notification: Performance of SimCode: time 0.007705/0.2603, allocations: 2.71 MB / 0.57 GB, free: 78.5 MB / 410.8 MB Notification: Performance of Templates: time 0.01438/0.2747, allocations: 10.83 MB / 0.5806 GB, free: 74.5 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 -s=ida > Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Metoprolol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9685394410043955]