Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.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.001867/0.001867, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.002094/0.002094, allocations: 214.8 kB / 22.25 MB, free: 3.566 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.82/1.82, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 178] 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 3.835/3.835, allocations: 335.3 MB / 0.6325 GB, free: 7.258 MB / 442.7 MB " [Timeout remaining time 176] 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.Pharmacokinetic.Models.PK_2C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_2C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C") [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.003614/0.003614, allocations: 75.89 kB / 0.8681 GB, free: 5.688 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2585, allocations: 112.8 MB / 0.9782 GB, free: 4.609 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_2C): time 0.005625/0.2642, allocations: 2.515 MB / 0.9807 GB, free: 2.082 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.2659, allocations: 0.6586 MB / 0.9813 GB, free: 1.422 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.266, allocations: 3.938 kB / 0.9813 GB, free: 1.418 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.2662, allocations: 39.62 kB / 0.9814 GB, free: 1.379 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.2666, allocations: 107.1 kB / 0.9815 GB, free: 1.273 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.2669, allocations: 63.91 kB / 0.9815 GB, free: 1.211 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0005951/0.2675, allocations: 350.2 kB / 0.9819 GB, free: 0.8672 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.2677, allocations: 52.89 kB / 0.9819 GB, free: 0.8125 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.2679, allocations: 131.5 kB / 0.982 GB, free: 0.6836 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.2683, allocations: 131.3 kB / 0.9822 GB, free: 0.5547 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.2685, allocations: 24 kB / 0.9822 GB, free: 0.5312 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 8.704e-05/0.2685, allocations: 24 kB / 0.9822 GB, free: 0.5078 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.2686, allocations: 55.78 kB / 0.9823 GB, free: 464 kB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.2688, allocations: 131.4 kB / 0.9824 GB, free: 332 kB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0004774/0.2693, allocations: 274.8 kB / 0.9826 GB, free: 56 kB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2693, allocations: 0 / 0.9826 GB, free: 56 kB / 0.6824 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2693, allocations: 0 / 0.9826 GB, free: 56 kB / 0.6824 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.2693, allocations: 0 / 0.9826 GB, free: 56 kB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001466/0.2708, allocations: 0.5926 MB / 0.9832 GB, free: 15.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.2708, allocations: 14.11 kB / 0.9832 GB, free: 15.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.751e-05/0.2709, allocations: 32.75 kB / 0.9833 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.2714, allocations: 205.8 kB / 0.9835 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.2714, allocations: 20.81 kB / 0.9835 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.571e-05/0.2715, allocations: 27.94 kB / 0.9835 GB, free: 15.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/0.2722, allocations: 285.1 kB / 0.9838 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.2723, allocations: 4 kB / 0.9838 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.2723, allocations: 4 kB / 0.9838 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.2723, allocations: 4 kB / 0.9838 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006952/0.273, allocations: 236.4 kB / 0.984 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.2747, allocations: 0.6766 MB / 0.9847 GB, free: 13.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006969/0.2754, allocations: 234.1 kB / 0.9849 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.2758, allocations: 152.4 kB / 0.985 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.2759, allocations: 0 / 0.985 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007206/0.2766, allocations: 367 kB / 0.9854 GB, free: 13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.2766, allocations: 3.938 kB / 0.9854 GB, free: 12.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.002986/0.2796, allocations: 1.078 MB / 0.9865 GB, free: 11.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/0.2797, allocations: 221.6 kB / 0.9867 GB, free: 11.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.28, allocations: 228.9 kB / 0.9869 GB, free: 11.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.2801, allocations: 41.69 kB / 0.9869 GB, free: 11.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.2802, allocations: 152.8 kB / 0.9871 GB, free: 11.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.2804, allocations: 111.1 kB / 0.9872 GB, free: 11.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.2805, allocations: 77.41 kB / 0.9873 GB, free: 10.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002109/0.2807, allocations: 350.7 kB / 0.9876 GB, free: 10.58 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.2811, allocations: 203 kB / 0.9878 GB, free: 10.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.2815, allocations: 310.1 kB / 0.9881 GB, free: 9.992 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.2832, allocations: 0.783 MB / 0.9888 GB, free: 9.102 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2832, allocations: 0 / 0.9888 GB, free: 9.102 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001014/0.2842, allocations: 0.5619 MB / 0.9894 GB, free: 8.496 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.2843, allocations: 89.09 kB / 0.9895 GB, free: 8.391 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.2843, allocations: 4 kB / 0.9895 GB, free: 8.387 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.2843, allocations: 4 kB / 0.9895 GB, free: 8.383 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.2847, allocations: 83.83 kB / 0.9896 GB, free: 8.301 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.2847, allocations: 4 kB / 0.9896 GB, free: 8.297 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.2849, allocations: 27.92 kB / 0.9896 GB, free: 8.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.285, allocations: 12 kB / 0.9896 GB, free: 8.258 MB / 0.698 GB Warning: Assuming fixed start value for the following 10 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real peripheral.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real peripheral.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) 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 peripheral.rising:DISCRETE(fixed = true protected = true ) type: Boolean central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.peripheral.Cmin,peripheral.Cmin,$PRE.peripheral.Cmax,peripheral.Cmax,$PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.peripheral.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.central.rising,peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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.0004088/0.2854, allocations: 255.5 kB / 0.9898 GB, free: 7.988 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.4991/0.7845, allocations: 33.53 kB / 0.9899 GB, free: 26.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.7846, allocations: 29.16 kB / 0.9899 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.7846, allocations: 7 kB / 0.9899 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.7846, allocations: 0.8906 kB / 0.9899 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.7846, allocations: 4.359 kB / 0.9899 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.7858, allocations: 0.7635 MB / 0.9907 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.7858, allocations: 0 / 0.9907 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.7861, allocations: 58.14 kB / 0.9907 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.7862, allocations: 4.547 kB / 0.9907 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.7862, allocations: 12.22 kB / 0.9907 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.7862, allocations: 0.5625 kB / 0.9907 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7862, allocations: 3.75 kB / 0.9907 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000895/0.7871, allocations: 0.7202 MB / 0.9914 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.7871, allocations: 28.39 kB / 0.9915 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.7872, allocations: 9.625 kB / 0.9915 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.7874, allocations: 19.06 kB / 0.9915 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.7875, allocations: 33.91 kB / 0.9915 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.7875, allocations: 11.86 kB / 0.9915 GB, free: 25.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001288/0.7876, allocations: 165 kB / 0.9917 GB, free: 25.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.7876, allocations: 0 / 0.9917 GB, free: 25.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004001/0.788, allocations: 86.77 kB / 0.9918 GB, free: 25.75 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.variableDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * 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.0001107/0.7881, allocations: 124.3 kB / 0.9919 GB, free: 25.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006539/0.7888, allocations: 0.5719 MB / 0.9925 GB, free: 25.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7888, allocations: 0 / 0.9925 GB, free: 25.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.7891, allocations: 306 kB / 0.9927 GB, free: 25.13 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.7896, allocations: 82.78 kB / 0.9928 GB, free: 25.13 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.7911, allocations: 0.9933 MB / 0.9938 GB, free: 24.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.7912, allocations: 158.6 kB / 0.9939 GB, free: 24.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.7914, allocations: 32.77 kB / 0.994 GB, free: 24.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.62e-05/0.7914, allocations: 28.78 kB / 0.994 GB, free: 24.48 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/0.7914, allocations: 4 kB / 0.994 GB, free: 24.48 MB / 0.698 GB Notification: Performance of Templates: time 0.009967/0.8014, allocations: 4.741 MB / 0.9986 GB, free: 24.06 MB / 0.698 GB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.446483738021925]