Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody.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.001125/0.001125, allocations: 100.4 kB / 19.7 MB, free: 440 kB / 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.001083/0.001083, allocations: 215.3 kB / 23 MB, free: 2.945 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.9864/0.9864, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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.749/1.749, allocations: 334.2 MB / 0.6323 GB, free: 7.922 MB / 442.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.DevModels.SingleDoseIntravenousWholeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody") translateModel(Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody") [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.001404/0.001404, allocations: 68.83 kB / 0.867 GB, free: 7.961 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1805, allocations: 112.8 MB / 0.9772 GB, free: 6.879 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody): time 0.004977/0.1855, allocations: 6.61 MB / 0.9837 GB, free: 244 kB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1873, allocations: 1.535 MB / 0.9852 GB, free: 14.7 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.1875, allocations: 12 kB / 0.9852 GB, free: 14.69 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.1878, allocations: 170.4 kB / 0.9853 GB, free: 14.52 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000472/0.1882, allocations: 408.5 kB / 0.9857 GB, free: 14.12 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.1887, allocations: 323.5 kB / 0.986 GB, free: 13.8 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.1898, allocations: 1.486 MB / 0.9875 GB, free: 12.31 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3523/0.5421, allocations: 1.723 MB / 0.9892 GB, free: 18.3 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.5432, allocations: 1.055 MB / 0.9902 GB, free: 18.3 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.5444, allocations: 1.198 MB / 0.9914 GB, free: 18.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.5447, allocations: 239.5 kB / 0.9916 GB, free: 18.18 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.5449, allocations: 246.6 kB / 0.9918 GB, free: 18.18 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.5452, allocations: 0.5217 MB / 0.9923 GB, free: 18.14 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005221/0.5457, allocations: 0.8036 MB / 0.9931 GB, free: 18.02 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.547, allocations: 1.957 MB / 0.995 GB, free: 17.81 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.547, allocations: 6.062 kB / 0.995 GB, free: 17.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.974e-06/0.547, allocations: 0.75 kB / 0.995 GB, free: 17.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.547, allocations: 0 / 0.995 GB, free: 17.8 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002401/0.5494, allocations: 1.464 MB / 0.9965 GB, free: 17.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.5494, allocations: 11.3 kB / 0.9965 GB, free: 17.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.5497, allocations: 118.9 kB / 0.9966 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007865/0.5504, allocations: 0.631 MB / 0.9972 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.5505, allocations: 83.75 kB / 0.9973 GB, free: 16.85 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.5507, allocations: 119.5 kB / 0.9974 GB, free: 16.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.553, allocations: 2.209 MB / 0.9996 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/0.553, allocations: 3.812 kB / 0.9996 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.5531, allocations: 45.53 kB / 0.9996 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.5532, allocations: 26 kB / 0.9996 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.5555, allocations: 1.969 MB / 1.002 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005249/0.5608, allocations: 3.801 MB / 1.005 GB, free: 14.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.5622, allocations: 0.9392 MB / 1.006 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008762/0.5631, allocations: 0.6191 MB / 1.007 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.5631, allocations: 17.58 kB / 1.007 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.5643, allocations: 0.9628 MB / 1.008 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002504/0.5668, allocations: 1.08 MB / 1.009 GB, free: 13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 3.697e-06/0.5668, allocations: 0 / 1.009 GB, free: 13 MB / 0.698 GB Notification: Performance of matching and sorting (n=99): time 0.003519/0.5703, allocations: 2.107 MB / 1.011 GB, free: 12.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.5704, allocations: 64.22 kB / 1.011 GB, free: 12.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.5707, allocations: 404 kB / 1.011 GB, free: 11.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.615e-05/0.5708, allocations: 46.48 kB / 1.011 GB, free: 11.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.571, allocations: 412.4 kB / 1.012 GB, free: 11.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/0.5712, allocations: 387.2 kB / 1.012 GB, free: 11.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004856/0.5717, allocations: 333.2 kB / 1.012 GB, free: 11.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5718, allocations: 385.4 kB / 1.013 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.5729, allocations: 0.7142 MB / 1.013 GB, free: 10.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.5741, allocations: 0.9488 MB / 1.014 GB, free: 9.891 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/0.5763, allocations: 1.65 MB / 1.016 GB, free: 8.977 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.5763, allocations: 2 kB / 1.016 GB, free: 8.977 MB / 0.698 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002637/0.5789, allocations: 1.931 MB / 1.018 GB, free: 8.211 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.579, allocations: 42.61 kB / 1.018 GB, free: 8.172 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.579, allocations: 7.375 kB / 1.018 GB, free: 8.172 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.579, allocations: 13.69 kB / 1.018 GB, free: 8.172 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.5801, allocations: 484.8 kB / 1.018 GB, free: 8.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.5801, allocations: 18.47 kB / 1.018 GB, free: 8.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.5807, allocations: 38.08 kB / 1.018 GB, free: 8.145 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.5808, allocations: 120 kB / 1.019 GB, free: 8.133 MB / 0.698 GB Warning: Assuming fixed start value for the following 15 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 venous.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real lungs.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real arterial.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real adipose.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real bone.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real brain.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real heart.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real muscle.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real skin.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real gut.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real spleen.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real liver.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real kidney.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (singleDose.pulse.count,$PRE.singleDose.pulse.count,singleDose.pulse.T_start,$PRE.singleDose.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 1 * 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.0004131/0.5812, allocations: 295.5 kB / 1.019 GB, free: 7.926 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.5814, allocations: 74.02 kB / 1.019 GB, free: 7.887 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.5836, allocations: 1.729 MB / 1.021 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.5837, allocations: 10.06 kB / 1.021 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5837, allocations: 0 / 1.021 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.5837, allocations: 6.406 kB / 1.021 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.5861, allocations: 2.024 MB / 1.023 GB, free: 6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5861, allocations: 8.859 kB / 1.023 GB, free: 5.996 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000888/0.587, allocations: 231.3 kB / 1.023 GB, free: 5.926 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.587, allocations: 4.188 kB / 1.023 GB, free: 5.926 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.052e-05/0.5871, allocations: 55.56 kB / 1.023 GB, free: 5.891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.5871, allocations: 4.156 kB / 1.023 GB, free: 5.891 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5871, allocations: 4.688 kB / 1.023 GB, free: 5.891 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003441/0.5905, allocations: 2.286 MB / 1.025 GB, free: 4.578 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.5906, allocations: 56.03 kB / 1.025 GB, free: 4.539 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.5907, allocations: 30.5 kB / 1.025 GB, free: 4.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006141/0.5914, allocations: 24.42 kB / 1.025 GB, free: 4.504 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.5915, allocations: 70.66 kB / 1.025 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.5916, allocations: 61.38 kB / 1.025 GB, free: 4.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002679/0.5919, allocations: 307.8 kB / 1.026 GB, free: 4.238 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5919, allocations: 4 kB / 1.026 GB, free: 4.234 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008546/0.5927, allocations: 404.3 kB / 1.026 GB, free: 4.156 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (singleDose.TotalCumulativeMass,singleDose.variableDose.TotalCumulativeMass,venous.M,venous.AUC,lungs.M,lungs.AUC,arterial.M,arterial.AUC,adipose.M,adipose.AUC,bone.M,bone.AUC,brain.M,brain.AUC,heart.M,heart.AUC,muscle.M,muscle.AUC,skin.M,skin.AUC,gut.M,gut.AUC,spleen.M,spleen.AUC,liver.M,liver.AUC,kidney.M,kidney.AUC,kidneyElim.MExc,liverElim.MExc) * Number of discrete variables: 3 ($whenCondition1,singleDose.pulse.T_start,singleDose.pulse.count) * Number of discrete states: 1 (singleDose.pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * 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.0001652/0.5929, allocations: 133.7 kB / 1.026 GB, free: 4.051 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002283/0.5952, allocations: 1.51 MB / 1.028 GB, free: 3.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5952, allocations: 0 / 1.028 GB, free: 3.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009795/0.5961, allocations: 0.6067 MB / 1.028 GB, free: 2.992 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.5972, allocations: 273.3 kB / 1.029 GB, free: 2.848 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.6017, allocations: 3.511 MB / 1.032 GB, free: 376 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.602, allocations: 428.6 kB / 1.032 GB, free: 132 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007269/0.6027, allocations: 220 kB / 1.033 GB, free: 20 kB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/0.6027, allocations: 4 kB / 1.033 GB, free: 16 kB / 0.698 GB Notification: Performance of Templates: time 0.01889/0.6216, allocations: 17.46 MB / 1.05 GB, free: 6.762 MB / 0.7137 GB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody > Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.167746369028464]