Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.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.001027/0.001027, allocations: 91.55 kB / 20.19 MB, free: 4.348 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.001207/0.001207, allocations: 173 kB / 23.5 MB, free: 1.039 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.9835/0.9835, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.57/1.57, 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.SingleDoseDiffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion") translateModel(Pharmacolibrary.DevModels.SingleDoseDiffusion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.647 GB, free: 38.79 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.246e-05, allocations: 7.094 kB / 0.647 GB, free: 38.79 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseDiffusion): time 0.003041/0.003074, allocations: 2.91 MB / 0.6498 GB, free: 36.9 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.004299, allocations: 0.7262 MB / 0.6505 GB, free: 36.41 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.975e-05/0.004399, allocations: 4.75 kB / 0.6505 GB, free: 36.41 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 6.847e-05/0.004467, allocations: 50.27 kB / 0.6506 GB, free: 36.39 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.004731, allocations: 114.4 kB / 0.6507 GB, free: 36.34 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.004976, allocations: 84.98 kB / 0.6508 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.00527, allocations: 419.1 kB / 0.6512 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000301/0.005571, allocations: 215.1 kB / 0.6514 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.005809, allocations: 251.3 kB / 0.6516 GB, free: 35.86 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.006003, allocations: 147.9 kB / 0.6518 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.006048, allocations: 38.03 kB / 0.6518 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.122e-05/0.00609, allocations: 37.09 kB / 0.6518 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.006144, allocations: 76.5 kB / 0.6519 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.00625, allocations: 133.2 kB / 0.652 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.006522, allocations: 268.1 kB / 0.6523 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.006525, allocations: 0 / 0.6523 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.82e-07/0.006526, allocations: 0 / 0.6523 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.006532, allocations: 1.531 kB / 0.6523 GB, free: 35.57 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0007543/0.007286, allocations: 0.6682 MB / 0.6529 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.007328, allocations: 7.531 kB / 0.6529 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.226e-05/0.00742, allocations: 57.16 kB / 0.653 GB, free: 34.99 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.007687, allocations: 227.4 kB / 0.6532 GB, free: 34.8 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.007706, allocations: 20.69 kB / 0.6532 GB, free: 34.79 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.007752, allocations: 32.2 kB / 0.6533 GB, free: 34.78 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.008131, allocations: 358.5 kB / 0.6536 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.008147, allocations: 7.938 kB / 0.6536 GB, free: 34.55 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.00817, allocations: 12.53 kB / 0.6536 GB, free: 34.55 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.00818, allocations: 5.781 kB / 0.6536 GB, free: 34.55 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.008403, allocations: 163.7 kB / 0.6538 GB, free: 34.5 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.009415, allocations: 0.8387 MB / 0.6546 GB, free: 33.9 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.009858, allocations: 172.1 kB / 0.6548 GB, free: 33.81 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.91e-05/0.009957, allocations: 84.42 kB / 0.6548 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.009986, allocations: 3.781 kB / 0.6549 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.01026, allocations: 242.8 kB / 0.6551 GB, free: 33.58 MB / 0.5262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001328/0.01039, allocations: 39.64 kB / 0.6551 GB, free: 33.57 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=30): time 3.517e-06/0.0104, allocations: 0 / 0.6551 GB, free: 33.57 MB / 0.5262 GB Notification: Performance of matching and sorting (n=31): time 0.001215/0.01161, allocations: 0.7343 MB / 0.6558 GB, free: 33.1 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.01165, allocations: 131.2 kB / 0.656 GB, free: 32.95 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.01182, allocations: 241.9 kB / 0.6562 GB, free: 32.75 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.01183, allocations: 33.58 kB / 0.6562 GB, free: 32.71 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 7.681e-05/0.01191, allocations: 209.4 kB / 0.6564 GB, free: 32.52 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.01197, allocations: 109.6 kB / 0.6565 GB, free: 32.44 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.01208, allocations: 79.98 kB / 0.6566 GB, free: 32.39 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.01215, allocations: 0.5003 MB / 0.6571 GB, free: 31.89 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.01232, allocations: 140.9 kB / 0.6572 GB, free: 31.79 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.01252, allocations: 265.9 kB / 0.6575 GB, free: 31.53 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.01288, allocations: 453.1 kB / 0.6579 GB, free: 31.15 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01288, allocations: 0 / 0.6579 GB, free: 31.15 MB / 0.5262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00039/0.01327, allocations: 423.8 kB / 0.6583 GB, free: 30.91 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.0133, allocations: 62.44 kB / 0.6584 GB, free: 30.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.01331, allocations: 2.844 kB / 0.6584 GB, free: 30.84 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.01333, allocations: 5.625 kB / 0.6584 GB, free: 30.84 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.01354, allocations: 92.06 kB / 0.6585 GB, free: 30.83 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.01355, allocations: 5.219 kB / 0.6585 GB, free: 30.83 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.01366, allocations: 21.88 kB / 0.6585 GB, free: 30.82 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.01368, allocations: 21.2 kB / 0.6585 GB, free: 30.82 MB / 0.5262 GB Warning: Assuming fixed start value for the following 8 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 artery.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real tissueCompartment.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real RBC.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real RBC.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real RBC.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real RBC.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.RBC.Cmin,RBC.Cmin,$PRE.RBC.Cmax,RBC.Cmax,$PRE.RBC.rising,$PRE.singleDose.pulse.count,$PRE.singleDose.pulse.T_start,RBC.rising,singleDose.pulse.count,singleDose.pulse.T_start,$whenCondition2,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * 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.0001869/0.01386, allocations: 246.3 kB / 0.6588 GB, free: 30.6 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.0139, allocations: 34.09 kB / 0.6588 GB, free: 30.58 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/0.01424, allocations: 308 kB / 0.6591 GB, free: 30.43 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01425, allocations: 1.812 kB / 0.6591 GB, free: 30.43 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01425, allocations: 0 / 0.6591 GB, free: 30.43 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.01427, allocations: 33.41 kB / 0.6591 GB, free: 30.41 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.01431, allocations: 8.188 kB / 0.6591 GB, free: 30.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.01439, allocations: 11 kB / 0.6591 GB, free: 30.4 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.01445, allocations: 25.8 kB / 0.6592 GB, free: 30.39 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004753/0.01493, allocations: 440 kB / 0.6596 GB, free: 30.13 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000448/0.01537, allocations: 0.6526 MB / 0.6602 GB, free: 29.66 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001145/0.01549, allocations: 117.7 kB / 0.6603 GB, free: 29.59 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 7.016e-05/0.01556, allocations: 168.4 kB / 0.6605 GB, free: 29.47 MB / 0.5262 GB Notification: Performance of Backend: time 4.41e-07/0.01556, allocations: 0 / 0.6605 GB, free: 29.47 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0004907/0.01605, allocations: 408.2 kB / 0.6609 GB, free: 29.16 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001674/0.01772, allocations: 1.537 MB / 0.6624 GB, free: 27.87 MB / 0.5262 GB Notification: Performance of Templates: time 0.006162/0.02388, allocations: 3.9 MB / 0.6662 GB, free: 27.58 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.809829335194081]