Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin.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.0007543/0.0007543, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009238/0.001678, 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.0007068/0.0007068, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009904/0.001697, 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 1.081/1.081, allocations: 177.1 MB / 189.6 MB, free: 5.34 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1241/1.205, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.8096/0.8096, allocations: 291.2 MB / 0.5226 GB, free: 52.96 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05062/0.8602, allocations: 21.05 MB / 0.5431 GB, free: 31.97 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_Gentamicin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin") translateModel(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.483e-05, allocations: 10.25 kB / 0.5444 GB, free: 30.65 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin): time 0.00394/0.003965, allocations: 2.867 MB / 0.5472 GB, free: 27.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.006119, allocations: 1.393 MB / 0.5486 GB, free: 26.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.006323, allocations: 4 kB / 0.5486 GB, free: 26.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005129/0.006836, allocations: 182.9 kB / 0.5488 GB, free: 26.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.007094, allocations: 111.2 kB / 0.5489 GB, free: 26.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006576/0.007751, allocations: 235 kB / 0.5491 GB, free: 25.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.008119, allocations: 346.5 kB / 0.5494 GB, free: 25.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.008249, allocations: 51.38 kB / 0.5495 GB, free: 25.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.008455, allocations: 244.6 kB / 0.5497 GB, free: 25.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.008569, allocations: 99.64 kB / 0.5498 GB, free: 25.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.008599, allocations: 24 kB / 0.5498 GB, free: 25.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003424/0.008941, allocations: 311 kB / 0.5501 GB, free: 24.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.1e-05/0.009022, allocations: 131.6 kB / 0.5502 GB, free: 24.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.263e-05/0.009095, allocations: 99.62 kB / 0.5503 GB, free: 24.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004494/0.009544, allocations: 0.5913 MB / 0.5509 GB, free: 23.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.421e-05/0.009558, allocations: 0 / 0.5509 GB, free: 23.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.009559, allocations: 0 / 0.5509 GB, free: 23.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.009573, allocations: 0 / 0.5509 GB, free: 23.96 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007312/0.0103, allocations: 0.9087 MB / 0.5518 GB, free: 23.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.01033, allocations: 19.89 kB / 0.5518 GB, free: 23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003211/0.01066, allocations: 358.5 kB / 0.5522 GB, free: 22.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.01087, allocations: 327.1 kB / 0.5525 GB, free: 22.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.01088, allocations: 12.38 kB / 0.5525 GB, free: 22.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.01091, allocations: 20.38 kB / 0.5525 GB, free: 22.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.01111, allocations: 197.7 kB / 0.5527 GB, free: 22.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.01112, allocations: 4.188 kB / 0.5527 GB, free: 22.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.01113, allocations: 8.125 kB / 0.5527 GB, free: 22.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.01114, allocations: 4 kB / 0.5527 GB, free: 22.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.521e-05/0.01123, allocations: 106.5 kB / 0.5528 GB, free: 21.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.01176, allocations: 0.5973 MB / 0.5534 GB, free: 21.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.01196, allocations: 176.1 kB / 0.5536 GB, free: 21.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.012, allocations: 70.53 kB / 0.5536 GB, free: 21.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.01201, allocations: 7.984 kB / 0.5536 GB, free: 21.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.01217, allocations: 211.5 kB / 0.5538 GB, free: 20.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 1.393e-06/0.01217, allocations: 0 / 0.5538 GB, free: 20.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006876/0.01286, allocations: 0.6574 MB / 0.5545 GB, free: 20.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.0129, allocations: 132.5 kB / 0.5546 GB, free: 19.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.01321, allocations: 0.6579 MB / 0.5553 GB, free: 19.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.01323, allocations: 33.7 kB / 0.5553 GB, free: 19.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.0133, allocations: 186.4 kB / 0.5555 GB, free: 18.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.01333, allocations: 87.25 kB / 0.5555 GB, free: 18.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.01339, allocations: 65.94 kB / 0.5556 GB, free: 18.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.879e-05/0.01342, allocations: 329.9 kB / 0.5559 GB, free: 18.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.08e-05/0.01348, allocations: 108 kB / 0.556 GB, free: 18.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.01359, allocations: 387.4 kB / 0.5564 GB, free: 17.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.01371, allocations: 247.1 kB / 0.5566 GB, free: 17.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.01371, allocations: 0 / 0.5566 GB, free: 17.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002701/0.01398, allocations: 436.8 kB / 0.557 GB, free: 17.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.01401, allocations: 59.41 kB / 0.5571 GB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.01402, allocations: 0 / 0.5571 GB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.01403, allocations: 7.984 kB / 0.5571 GB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.01419, allocations: 73.86 kB / 0.5572 GB, free: 17.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.0142, allocations: 4 kB / 0.5572 GB, free: 17.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.42e-05/0.01429, allocations: 23.47 kB / 0.5572 GB, free: 16.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.01433, allocations: 50.58 kB / 0.5573 GB, free: 16.95 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: dose.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: 8 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 2 * 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.0001271/0.01445, allocations: 166.3 kB / 0.5574 GB, free: 16.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.512e-05/0.01453, allocations: 93.19 kB / 0.5575 GB, free: 16.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.236e-05/0.01458, allocations: 65.8 kB / 0.5576 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.01458, allocations: 0 / 0.5576 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.01459, allocations: 4 kB / 0.5576 GB, free: 16.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01459, allocations: 0 / 0.5576 GB, free: 16.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.01492, allocations: 0.5332 MB / 0.5581 GB, free: 16.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01492, allocations: 4 kB / 0.5581 GB, free: 16.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.01506, allocations: 55.89 kB / 0.5582 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.01509, allocations: 47.58 kB / 0.5582 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.0151, allocations: 4 kB / 0.5582 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01511, allocations: 7.984 kB / 0.5582 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01511, allocations: 7.125 kB / 0.5582 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01511, allocations: 0 / 0.5582 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.01539, allocations: 0.5111 MB / 0.5587 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.01542, allocations: 4 kB / 0.5587 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-05/0.0155, allocations: 15.98 kB / 0.5587 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.01554, allocations: 23.91 kB / 0.5588 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.01557, allocations: 51.86 kB / 0.5588 GB, free: 15.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001743/0.01575, allocations: 331.3 kB / 0.5591 GB, free: 14.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01575, allocations: 0 / 0.5591 GB, free: 14.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00021/0.01596, allocations: 95.94 kB / 0.5592 GB, free: 14.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (dose.TotalCumulativeMass,central.C,central.AUC,elim.MExc) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,dose.pulse.T_start,dose.pulse.count,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 6 (dose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.2586/0.2745, allocations: 232.5 kB / 0.5594 GB, free: 83.76 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005092/0.275, allocations: 337.6 kB / 0.5598 GB, free: 83.54 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-05/0.2751, allocations: 10.16 kB / 0.5598 GB, free: 83.54 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.2752, allocations: 162.5 kB / 0.5599 GB, free: 83.43 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.2756, allocations: 96.23 kB / 0.56 GB, free: 83.43 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005227/0.2808, allocations: 1.007 MB / 0.561 GB, free: 82.94 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.281, allocations: 150.6 kB / 0.5611 GB, free: 82.87 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0003023/0.2813, allocations: 133 kB / 0.5613 GB, free: 82.87 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.2815, allocations: 118.5 kB / 0.5614 GB, free: 82.83 MB / 410.8 MB Notification: Performance of SimCode: time 1.673e-06/0.2815, allocations: 0 / 0.5614 GB, free: 82.83 MB / 410.8 MB Notification: Performance of Templates: time 0.01123/0.2927, allocations: 6.723 MB / 0.5679 GB, free: 81.48 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.Patient_PKPG_1C_Gentamicin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.186665651388466]