Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium.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.0008649/0.0008649, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001144/0.002009, allocations: 440 kB / 10.41 MB, free: 284 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.001045/0.001045, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001314/0.00236, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9889/0.9889, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08403/1.073, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7503/0.7503, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02758/0.7778, allocations: 21.04 MB / 0.5433 GB, free: 31.47 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_Lithium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium") translateModel(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5446 GB, free: 30.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002e-05/1.132e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium): time 0.002533/0.002545, allocations: 3.36 MB / 0.5479 GB, free: 26.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.003926, allocations: 1.509 MB / 0.5494 GB, free: 25.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.004049, allocations: 4 kB / 0.5494 GB, free: 25.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.004362, allocations: 190.8 kB / 0.5496 GB, free: 25.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.004541, allocations: 138.9 kB / 0.5497 GB, free: 24.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.004985, allocations: 267 kB / 0.55 GB, free: 24.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.005334, allocations: 0.4901 MB / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.005471, allocations: 85.27 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.005729, allocations: 332.5 kB / 0.5508 GB, free: 23.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.005866, allocations: 139.5 kB / 0.551 GB, free: 23.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.005906, allocations: 44 kB / 0.551 GB, free: 23.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.006234, allocations: 319 kB / 0.5513 GB, free: 23.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.09e-05/0.006325, allocations: 143.5 kB / 0.5514 GB, free: 23.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.731e-05/0.006422, allocations: 135.6 kB / 0.5516 GB, free: 22.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004629/0.006885, allocations: 0.6809 MB / 0.5522 GB, free: 22.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.006896, allocations: 0 / 0.5522 GB, free: 22.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.006896, allocations: 0 / 0.5522 GB, free: 22.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.006908, allocations: 0 / 0.5522 GB, free: 22.27 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.0007819/0.00769, allocations: 1.047 MB / 0.5533 GB, free: 21.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.007718, allocations: 11.89 kB / 0.5533 GB, free: 21.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/0.008063, allocations: 377.8 kB / 0.5536 GB, free: 20.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.00829, allocations: 347 kB / 0.554 GB, free: 20.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.008311, allocations: 20.88 kB / 0.554 GB, free: 20.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.008348, allocations: 28.38 kB / 0.554 GB, free: 20.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.008615, allocations: 278.3 kB / 0.5543 GB, free: 20.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.008631, allocations: 4.172 kB / 0.5543 GB, free: 20.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.008648, allocations: 12.38 kB / 0.5543 GB, free: 20.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.008656, allocations: 7.938 kB / 0.5543 GB, free: 20.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.008791, allocations: 169.3 kB / 0.5545 GB, free: 19.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007195/0.00951, allocations: 0.7209 MB / 0.5552 GB, free: 19.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.009748, allocations: 233.8 kB / 0.5554 GB, free: 18.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.009814, allocations: 112.2 kB / 0.5555 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.009827, allocations: 12 kB / 0.5555 GB, free: 18.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.01004, allocations: 341.9 kB / 0.5558 GB, free: 18.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 1.623e-06/0.01004, allocations: 0 / 0.5558 GB, free: 18.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=38): time 0.000913/0.01096, allocations: 0.9882 MB / 0.5568 GB, free: 17.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.011, allocations: 273 kB / 0.5571 GB, free: 16.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.01133, allocations: 0.6774 MB / 0.5577 GB, free: 16.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.01135, allocations: 37.7 kB / 0.5578 GB, free: 16.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.01142, allocations: 206.6 kB / 0.558 GB, free: 16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.01147, allocations: 130.9 kB / 0.5581 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.01154, allocations: 86.14 kB / 0.5582 GB, free: 15.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.054e-05/0.01157, allocations: 321.9 kB / 0.5585 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.01165, allocations: 166.6 kB / 0.5586 GB, free: 15.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.01178, allocations: 461 kB / 0.5591 GB, free: 14.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.295/0.3068, allocations: 368.8 kB / 0.5594 GB, free: 81.14 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3068, allocations: 0 / 0.5594 GB, free: 81.14 MB / 410.8 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007207/0.3075, allocations: 0.5449 MB / 0.56 GB, free: 80.9 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.747e-05/0.3075, allocations: 90.89 kB / 0.56 GB, free: 80.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3076, allocations: 2.031 kB / 0.56 GB, free: 80.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.3076, allocations: 12.31 kB / 0.5601 GB, free: 80.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.308, allocations: 109.7 kB / 0.5602 GB, free: 80.8 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.308, allocations: 8.797 kB / 0.5602 GB, free: 80.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.3082, allocations: 23.05 kB / 0.5602 GB, free: 80.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/0.3083, allocations: 56.94 kB / 0.5602 GB, free: 80.8 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,SLC22A2.status,CYP2C19.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.0003252/0.3086, allocations: 218.7 kB / 0.5604 GB, free: 80.62 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.3088, allocations: 105.4 kB / 0.5605 GB, free: 80.62 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.3089, allocations: 68.12 kB / 0.5606 GB, free: 80.61 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3089, allocations: 5.531 kB / 0.5606 GB, free: 80.61 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3089, allocations: 0.9375 kB / 0.5606 GB, free: 80.61 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.3089, allocations: 6.953 kB / 0.5606 GB, free: 80.61 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008908/0.3098, allocations: 0.7098 MB / 0.5613 GB, free: 80.26 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3098, allocations: 0 / 0.5613 GB, free: 80.26 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.3102, allocations: 85.38 kB / 0.5614 GB, free: 80.26 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.3103, allocations: 66.86 kB / 0.5615 GB, free: 80.26 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.3103, allocations: 6.688 kB / 0.5615 GB, free: 80.26 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.3103, allocations: 13.31 kB / 0.5615 GB, free: 80.26 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.3103, allocations: 2.75 kB / 0.5615 GB, free: 80.26 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3103, allocations: 1.688 kB / 0.5615 GB, free: 80.26 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006228/0.3109, allocations: 0.6944 MB / 0.5622 GB, free: 79.89 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.311, allocations: 15.75 kB / 0.5622 GB, free: 79.89 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.3111, allocations: 20.86 kB / 0.5622 GB, free: 79.88 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.3112, allocations: 28.62 kB / 0.5622 GB, free: 79.88 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/0.3113, allocations: 49.73 kB / 0.5623 GB, free: 79.88 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0003727/0.3117, allocations: 344.6 kB / 0.5626 GB, free: 79.85 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3117, allocations: 1.281 kB / 0.5626 GB, free: 79.85 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0004231/0.3121, allocations: 126.5 kB / 0.5627 GB, free: 79.85 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.0003689/0.3125, allocations: 243.2 kB / 0.563 GB, free: 79.78 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004343/0.3129, allocations: 0.5202 MB / 0.5635 GB, free: 79.41 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.772e-05/0.3129, allocations: 10.19 kB / 0.5635 GB, free: 79.41 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.3132, allocations: 381.1 kB / 0.5638 GB, free: 79.21 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.3138, allocations: 0.5148 MB / 0.5643 GB, free: 78.77 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009432/0.3232, allocations: 1.219 MB / 0.5655 GB, free: 78.18 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.3234, allocations: 158.9 kB / 0.5657 GB, free: 78.11 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002788/0.3236, allocations: 149.7 kB / 0.5658 GB, free: 78.11 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.3239, allocations: 154.3 kB / 0.566 GB, free: 78.06 MB / 410.8 MB Notification: Performance of SimCode: time 4.11e-07/0.3239, allocations: 0 / 0.566 GB, free: 78.06 MB / 410.8 MB Notification: Performance of Templates: time 0.01325/0.3372, allocations: 8.339 MB / 0.5741 GB, free: 75.51 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Lithium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6147502129897475]