Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.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.001126/0.001126, allocations: 84.53 kB / 19.93 MB, free: 4.609 MB / 18.57 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.000991/0.000991, allocations: 173.9 kB / 23.21 MB, free: 1.328 MB / 18.57 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.9611/0.9611, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.612/1.612, allocations: 273.5 MB / 0.5209 GB, free: 14.96 MB / 458.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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.PK_1C_Digoxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin") translateModel(Pharmacolibrary.Examples.PK_1C_Digoxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.7558 GB, free: 10.71 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.252e-05, allocations: 6.281 kB / 0.7558 GB, free: 10.71 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_Digoxin): time 0.002298/0.00232, allocations: 1.982 MB / 0.7577 GB, free: 8.734 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0007185/0.003039, allocations: 0.5259 MB / 0.7582 GB, free: 8.211 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.25e-05/0.003111, allocations: 4 kB / 0.7582 GB, free: 8.207 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.003225, allocations: 17.11 kB / 0.7582 GB, free: 8.191 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.003369, allocations: 54.91 kB / 0.7583 GB, free: 8.152 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.003555, allocations: 45.19 kB / 0.7583 GB, free: 8.109 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.003794, allocations: 199.5 kB / 0.7585 GB, free: 7.945 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.003927, allocations: 21.91 kB / 0.7585 GB, free: 7.914 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.004054, allocations: 107.7 kB / 0.7586 GB, free: 7.809 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.659e-05/0.00415, allocations: 51.88 kB / 0.7587 GB, free: 7.758 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.004181, allocations: 16 kB / 0.7587 GB, free: 7.742 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.262e-05/0.004204, allocations: 20 kB / 0.7587 GB, free: 7.723 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 3.585e-05/0.00424, allocations: 35.83 kB / 0.7588 GB, free: 7.688 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 6.694e-05/0.004307, allocations: 55.84 kB / 0.7588 GB, free: 7.633 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.004496, allocations: 163.5 kB / 0.759 GB, free: 7.473 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004498, allocations: 0 / 0.759 GB, free: 7.473 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.322e-06/0.004499, allocations: 0 / 0.759 GB, free: 7.473 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.004504, allocations: 0 / 0.759 GB, free: 7.473 MB / 0.5887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005723/0.005076, allocations: 436.9 kB / 0.7594 GB, free: 7.004 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.005115, allocations: 8.031 kB / 0.7594 GB, free: 6.996 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.005158, allocations: 20.84 kB / 0.7594 GB, free: 6.977 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.005373, allocations: 173.5 kB / 0.7596 GB, free: 6.781 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.005388, allocations: 12.38 kB / 0.7596 GB, free: 6.77 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.005421, allocations: 12.38 kB / 0.7596 GB, free: 6.758 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.005626, allocations: 163.8 kB / 0.7598 GB, free: 6.59 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.00564, allocations: 7.891 kB / 0.7598 GB, free: 6.582 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.005653, allocations: 4 kB / 0.7598 GB, free: 6.578 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.005658, allocations: 0 / 0.7598 GB, free: 6.578 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.005838, allocations: 137.6 kB / 0.7599 GB, free: 6.438 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.006303, allocations: 356.1 kB / 0.7602 GB, free: 6.059 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.006533, allocations: 174.7 kB / 0.7604 GB, free: 5.875 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.647e-05/0.00663, allocations: 98.61 kB / 0.7605 GB, free: 5.77 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.00664, allocations: 4.141 kB / 0.7605 GB, free: 5.766 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.006868, allocations: 225.1 kB / 0.7607 GB, free: 5.52 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.006869, allocations: 0 / 0.7607 GB, free: 5.52 MB / 0.5887 GB Notification: Performance of matching and sorting (n=21): time 0.0009205/0.00779, allocations: 0.673 MB / 0.7614 GB, free: 4.781 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.007849, allocations: 136.5 kB / 0.7615 GB, free: 4.617 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.67e-05/0.007946, allocations: 156.4 kB / 0.7617 GB, free: 4.457 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.007963, allocations: 33.7 kB / 0.7617 GB, free: 4.418 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.008016, allocations: 104.5 kB / 0.7618 GB, free: 4.312 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.008055, allocations: 67.44 kB / 0.7619 GB, free: 4.246 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.008105, allocations: 45.7 kB / 0.7619 GB, free: 4.195 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 8.187e-05/0.008187, allocations: 334.8 kB / 0.7622 GB, free: 3.859 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.008314, allocations: 128.7 kB / 0.7623 GB, free: 3.719 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.008633, allocations: 208.4 kB / 0.7625 GB, free: 3.473 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005084/0.009142, allocations: 0.5078 MB / 0.763 GB, free: 2.902 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.009144, allocations: 0 / 0.763 GB, free: 2.902 MB / 0.5887 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003422/0.009486, allocations: 381 kB / 0.7634 GB, free: 2.504 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.009518, allocations: 55.41 kB / 0.7635 GB, free: 2.438 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.009523, allocations: 4 kB / 0.7635 GB, free: 2.434 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.009537, allocations: 4 kB / 0.7635 GB, free: 2.43 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.009662, allocations: 52.09 kB / 0.7635 GB, free: 2.379 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.00967, allocations: 7.938 kB / 0.7635 GB, free: 2.371 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.548e-05/0.009746, allocations: 15.98 kB / 0.7635 GB, free: 2.355 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.009759, allocations: 8 kB / 0.7635 GB, free: 2.348 MB / 0.5887 GB Warning: Assuming fixed start value for the following 6 variables: singleDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real singleDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central.rising,$PRE.singleDose.pulse.count,$PRE.singleDose.pulse.T_start,central.rising,singleDose.pulse.count,singleDose.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 (30): * Single equations (assignments): 28 * 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.0001523/0.009911, allocations: 191.6 kB / 0.7637 GB, free: 2.148 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.00993, allocations: 19.91 kB / 0.7637 GB, free: 2.129 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.009962, allocations: 17.28 kB / 0.7638 GB, free: 2.117 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.009965, allocations: 4 kB / 0.7638 GB, free: 2.113 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.00997, allocations: 3.938 kB / 0.7638 GB, free: 2.109 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.009975, allocations: 3.984 kB / 0.7638 GB, free: 2.105 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.01044, allocations: 0.5134 MB / 0.7643 GB, free: 1.539 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.01044, allocations: 0 / 0.7643 GB, free: 1.539 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.01054, allocations: 31.92 kB / 0.7643 GB, free: 1.508 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01055, allocations: 4 kB / 0.7643 GB, free: 1.504 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.01056, allocations: 7.984 kB / 0.7643 GB, free: 1.496 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.01056, allocations: 4 kB / 0.7643 GB, free: 1.492 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01056, allocations: 0 / 0.7643 GB, free: 1.492 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.01098, allocations: 487.9 kB / 0.7648 GB, free: 0.9844 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.01099, allocations: 15.91 kB / 0.7648 GB, free: 0.9688 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.01101, allocations: 8.062 kB / 0.7648 GB, free: 0.9609 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.01108, allocations: 11.98 kB / 0.7648 GB, free: 0.9492 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.01115, allocations: 19.97 kB / 0.7648 GB, free: 0.9297 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.01116, allocations: 11.98 kB / 0.7648 GB, free: 0.918 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 5.531e-05/0.01121, allocations: 114 kB / 0.765 GB, free: 0.8086 MB / 0.5887 GB Notification: Performance of sort global known variables: time 7e-08/0.01121, allocations: 0 / 0.765 GB, free: 0.8086 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0001841/0.0114, allocations: 44 kB / 0.765 GB, free: 0.7656 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (singleDose.TotalCumulativeMass,singleDose.variableDose.TotalCumulativeMass,central.C,central.AUC,elim.MExc) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,singleDose.pulse.T_start,singleDose.pulse.count,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 6 (singleDose.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 (18): * Single equations (assignments): 15 * 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 8.858e-05/0.01149, allocations: 117 kB / 0.7651 GB, free: 0.6445 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.01181, allocations: 375.7 kB / 0.7655 GB, free: 240 kB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01181, allocations: 0 / 0.7655 GB, free: 240 kB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.01194, allocations: 161 kB / 0.7656 GB, free: 60 kB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.01218, allocations: 44.28 kB / 0.7657 GB, free: 16 kB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007348/0.01292, allocations: 0.5663 MB / 0.7662 GB, free: 15.42 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.248e-05/0.01299, allocations: 107.5 kB / 0.7663 GB, free: 15.29 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.01303, allocations: 24.48 kB / 0.7663 GB, free: 15.27 MB / 0.6043 GB Notification: Performance of SimCode: time 6.31e-07/0.01304, allocations: 3.938 kB / 0.7663 GB, free: 15.27 MB / 0.6043 GB Notification: Performance of Templates: time 0.002804/0.01584, allocations: 2.274 MB / 0.7686 GB, free: 13.04 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Digoxin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.672385005978867]