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.001264/0.001264, allocations: 91.55 kB / 20.19 MB, free: 4.352 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.001447/0.001447, allocations: 169.3 kB / 23.5 MB, free: 1.047 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.95/0.95, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.655/1.655, allocations: 273.5 MB / 0.5213 GB, free: 14.89 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.DevModels.SingleDoseIntravenousWholeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody") translateModel(Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.647 GB, free: 38.66 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.502e-05, allocations: 2.312 kB / 0.647 GB, free: 38.66 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody): time 0.006117/0.006142, allocations: 7.501 MB / 0.6543 GB, free: 33.76 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.002618/0.008761, allocations: 1.563 MB / 0.6558 GB, free: 32.69 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/0.009141, allocations: 16.59 kB / 0.6559 GB, free: 32.68 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.009418, allocations: 162.3 kB / 0.656 GB, free: 32.6 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005951/0.01001, allocations: 444.2 kB / 0.6564 GB, free: 32.28 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.0106, allocations: 319.1 kB / 0.6567 GB, free: 32.1 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.001287/0.01188, allocations: 1.546 MB / 0.6582 GB, free: 31.27 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.01326, allocations: 1.871 MB / 0.6601 GB, free: 30.17 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.0148, allocations: 1.45 MB / 0.6615 GB, free: 29.58 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.01629, allocations: 1.13 MB / 0.6626 GB, free: 29.31 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004375/0.01673, allocations: 240.8 kB / 0.6628 GB, free: 29.31 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.01708, allocations: 240.8 kB / 0.6631 GB, free: 29.31 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.01733, allocations: 0.5323 MB / 0.6636 GB, free: 28.97 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008662/0.0182, allocations: 0.7343 MB / 0.6643 GB, free: 28.62 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.01942, allocations: 1.466 MB / 0.6657 GB, free: 27.91 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.01943, allocations: 1.344 kB / 0.6657 GB, free: 27.91 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.422e-06/0.01943, allocations: 0 / 0.6657 GB, free: 27.91 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.365e-05/0.01947, allocations: 0 / 0.6657 GB, free: 27.91 MB / 0.5262 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.002555/0.02203, allocations: 1.543 MB / 0.6672 GB, free: 26.98 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.02207, allocations: 9.438 kB / 0.6672 GB, free: 26.98 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004181/0.02249, allocations: 211.7 kB / 0.6674 GB, free: 26.88 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008139/0.0233, allocations: 0.6254 MB / 0.6681 GB, free: 26.46 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.02334, allocations: 84.77 kB / 0.6681 GB, free: 26.42 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.02352, allocations: 118.4 kB / 0.6682 GB, free: 26.38 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.02576, allocations: 1.808 MB / 0.67 GB, free: 25.7 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/0.0258, allocations: 16.09 kB / 0.67 GB, free: 25.69 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.02593, allocations: 45.81 kB / 0.6701 GB, free: 25.65 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.02595, allocations: 24.81 kB / 0.6701 GB, free: 25.65 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.02762, allocations: 1.112 MB / 0.6712 GB, free: 25.53 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005401/0.03303, allocations: 3.636 MB / 0.6747 GB, free: 23.54 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.03412, allocations: 0.6129 MB / 0.6753 GB, free: 23.41 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000638/0.03476, allocations: 381.3 kB / 0.6757 GB, free: 23.34 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.794e-05/0.03481, allocations: 20.56 kB / 0.6757 GB, free: 23.34 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008919/0.0357, allocations: 0.7012 MB / 0.6764 GB, free: 22.93 MB / 0.5262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00246/0.03816, allocations: 1.133 MB / 0.6775 GB, free: 22.54 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=99): time 6.803e-06/0.03817, allocations: 0 / 0.6775 GB, free: 22.54 MB / 0.5262 GB Notification: Performance of matching and sorting (n=99): time 0.002366/0.04053, allocations: 1.376 MB / 0.6788 GB, free: 21.99 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.04056, allocations: 66.34 kB / 0.6789 GB, free: 21.92 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.04085, allocations: 433.7 kB / 0.6793 GB, free: 21.61 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-05/0.04095, allocations: 41.52 kB / 0.6794 GB, free: 21.57 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.04111, allocations: 459.5 kB / 0.6798 GB, free: 21.16 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.04134, allocations: 384.2 kB / 0.6802 GB, free: 20.82 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003683/0.04171, allocations: 333.9 kB / 0.6805 GB, free: 20.61 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.0418, allocations: 0.5509 MB / 0.681 GB, free: 20.07 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006957/0.04249, allocations: 451.4 kB / 0.6815 GB, free: 19.86 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007518/0.04324, allocations: 0.734 MB / 0.6822 GB, free: 19.26 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.04475, allocations: 1.184 MB / 0.6833 GB, free: 18.52 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.04476, allocations: 6.281 kB / 0.6833 GB, free: 18.51 MB / 0.5262 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002088/0.04685, allocations: 1.425 MB / 0.6847 GB, free: 17.87 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.04689, allocations: 34.77 kB / 0.6848 GB, free: 17.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.0469, allocations: 7.375 kB / 0.6848 GB, free: 17.84 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.04693, allocations: 12 kB / 0.6848 GB, free: 17.84 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.04807, allocations: 480.5 kB / 0.6852 GB, free: 17.65 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.54e-05/0.04809, allocations: 20.64 kB / 0.6853 GB, free: 17.64 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006511/0.04874, allocations: 38.48 kB / 0.6853 GB, free: 17.62 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.04887, allocations: 115.2 kB / 0.6854 GB, free: 17.57 MB / 0.5262 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.0004442/0.04932, allocations: 277.7 kB / 0.6857 GB, free: 17.32 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.04954, allocations: 101.4 kB / 0.6858 GB, free: 17.27 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.05147, allocations: 1.328 MB / 0.6871 GB, free: 16.37 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.05148, allocations: 7.984 kB / 0.6871 GB, free: 16.36 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.05149, allocations: 3.328 kB / 0.6871 GB, free: 16.36 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.324e-05/0.05158, allocations: 63.5 kB / 0.6871 GB, free: 16.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.05171, allocations: 20 kB / 0.6872 GB, free: 16.28 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.05213, allocations: 27.98 kB / 0.6872 GB, free: 16.25 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.05223, allocations: 60.81 kB / 0.6872 GB, free: 16.19 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003034/0.05526, allocations: 1.149 MB / 0.6884 GB, free: 15.04 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001879/0.05714, allocations: 1.646 MB / 0.69 GB, free: 13.37 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000483/0.05763, allocations: 405.3 kB / 0.6904 GB, free: 12.97 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0001755/0.0578, allocations: 299 kB / 0.6906 GB, free: 12.68 MB / 0.5262 GB Notification: Performance of Backend: time 3.41e-07/0.0578, allocations: 4 kB / 0.6906 GB, free: 12.68 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.05908, allocations: 0.9233 MB / 0.6915 GB, free: 11.73 MB / 0.5262 GB Notification: Performance of SimCode: time 0.003049/0.06213, allocations: 3.242 MB / 0.6947 GB, free: 8.527 MB / 0.5262 GB Notification: Performance of Templates: time 0.0215/0.08363, allocations: 22.31 MB / 0.7165 GB, free: 2.406 MB / 0.5418 GB " [Timeout remaining time 660] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseIntravenousWholeBody.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.19536024495028]