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.001073/0.001073, allocations: 93.06 kB / 19.65 MB, free: 280 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.001224/0.001224, allocations: 173 kB / 23.02 MB, free: 1.551 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.9659/0.9659, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.622/1.622, allocations: 273.5 MB / 0.5209 GB, free: 14.82 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.453e-06/1.453e-06, allocations: 0 / 0.6469 GB, free: 38.62 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.254e-05, allocations: 10.58 kB / 0.647 GB, free: 38.61 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseDiffusion): time 0.002778/0.0028, allocations: 2.904 MB / 0.6498 GB, free: 36.74 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0008757/0.003676, allocations: 0.7422 MB / 0.6505 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.156e-05/0.003768, allocations: 5 kB / 0.6505 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 7.338e-05/0.003841, allocations: 38.62 kB / 0.6506 GB, free: 36.22 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.004083, allocations: 112.1 kB / 0.6507 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.004286, allocations: 91.95 kB / 0.6508 GB, free: 36.12 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.004562, allocations: 415.7 kB / 0.6511 GB, free: 35.92 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003086/0.004871, allocations: 221 kB / 0.6514 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.005091, allocations: 242.1 kB / 0.6516 GB, free: 35.69 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.005287, allocations: 155.1 kB / 0.6517 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.005335, allocations: 34.81 kB / 0.6518 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.254e-05/0.005378, allocations: 34.78 kB / 0.6518 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.005427, allocations: 77.31 kB / 0.6519 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 9.882e-05/0.005526, allocations: 129.7 kB / 0.652 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.005761, allocations: 263.5 kB / 0.6523 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005763, allocations: 0 / 0.6523 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005764, allocations: 0 / 0.6523 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.005768, allocations: 0 / 0.6523 GB, free: 35.41 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.0006843/0.006452, allocations: 0.6646 MB / 0.6529 GB, free: 34.85 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.00649, allocations: 9.375 kB / 0.6529 GB, free: 34.85 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.687e-05/0.006577, allocations: 52.34 kB / 0.653 GB, free: 34.83 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.00678, allocations: 212.5 kB / 0.6532 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.00681, allocations: 24.58 kB / 0.6532 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.006855, allocations: 35.42 kB / 0.6532 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.007217, allocations: 353.5 kB / 0.6536 GB, free: 34.4 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.007233, allocations: 7.219 kB / 0.6536 GB, free: 34.39 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.007258, allocations: 15.05 kB / 0.6536 GB, free: 34.39 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.007267, allocations: 7.25 kB / 0.6536 GB, free: 34.39 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.007473, allocations: 166 kB / 0.6537 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009391/0.008412, allocations: 0.8251 MB / 0.6545 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.008737, allocations: 170.6 kB / 0.6547 GB, free: 33.66 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.419e-05/0.008821, allocations: 87.45 kB / 0.6548 GB, free: 33.6 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.008842, allocations: 7.219 kB / 0.6548 GB, free: 33.6 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.009047, allocations: 237.5 kB / 0.655 GB, free: 33.43 MB / 0.5262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001111/0.009158, allocations: 46.5 kB / 0.6551 GB, free: 33.41 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=30): time 1.763e-06/0.00916, allocations: 0 / 0.6551 GB, free: 33.41 MB / 0.5262 GB Notification: Performance of matching and sorting (n=31): time 0.00115/0.01031, allocations: 0.7311 MB / 0.6558 GB, free: 32.94 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.01035, allocations: 146.9 kB / 0.6559 GB, free: 32.78 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.0105, allocations: 236.1 kB / 0.6562 GB, free: 32.59 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.01052, allocations: 32.48 kB / 0.6562 GB, free: 32.55 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.0106, allocations: 209.9 kB / 0.6564 GB, free: 32.36 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/0.01067, allocations: 111.8 kB / 0.6565 GB, free: 32.27 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.003e-05/0.01075, allocations: 79.69 kB / 0.6566 GB, free: 32.22 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.573e-05/0.01081, allocations: 0.5039 MB / 0.6571 GB, free: 31.72 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.01093, allocations: 130.9 kB / 0.6572 GB, free: 31.63 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.01108, allocations: 269.6 kB / 0.6574 GB, free: 31.36 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.01139, allocations: 456.1 kB / 0.6579 GB, free: 30.99 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.0114, allocations: 1.438 kB / 0.6579 GB, free: 30.99 MB / 0.5262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003746/0.01177, allocations: 424.2 kB / 0.6583 GB, free: 30.74 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/0.01181, allocations: 63.22 kB / 0.6583 GB, free: 30.68 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01181, allocations: 2.812 kB / 0.6583 GB, free: 30.68 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.01183, allocations: 5.625 kB / 0.6583 GB, free: 30.68 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.01204, allocations: 94.44 kB / 0.6584 GB, free: 30.67 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.01204, allocations: 5.656 kB / 0.6584 GB, free: 30.67 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.597e-05/0.01214, allocations: 17.84 kB / 0.6585 GB, free: 30.66 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.01216, allocations: 16.69 kB / 0.6585 GB, free: 30.66 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.0001468/0.01231, allocations: 243 kB / 0.6587 GB, free: 30.44 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.01234, allocations: 37.75 kB / 0.6587 GB, free: 30.43 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.01267, allocations: 315.6 kB / 0.659 GB, free: 30.26 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01267, allocations: 5.656 kB / 0.6591 GB, free: 30.26 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.01267, allocations: 0 / 0.6591 GB, free: 30.26 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.01268, allocations: 4.797 kB / 0.6591 GB, free: 30.26 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.01316, allocations: 0.6372 MB / 0.6597 GB, free: 29.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01317, allocations: 0 / 0.6597 GB, free: 29.8 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.01333, allocations: 48.67 kB / 0.6597 GB, free: 29.8 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01333, allocations: 6.969 kB / 0.6597 GB, free: 29.8 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.01335, allocations: 10.16 kB / 0.6597 GB, free: 29.79 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.01335, allocations: 1.406 kB / 0.6597 GB, free: 29.79 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01335, allocations: 3.312 kB / 0.6597 GB, free: 29.79 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.01375, allocations: 0.5417 MB / 0.6603 GB, free: 29.43 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.01377, allocations: 13.56 kB / 0.6603 GB, free: 29.42 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.0138, allocations: 13.22 kB / 0.6603 GB, free: 29.42 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.407e-05/0.01389, allocations: 9.625 kB / 0.6603 GB, free: 29.41 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.01394, allocations: 23.02 kB / 0.6603 GB, free: 29.41 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.01396, allocations: 10.47 kB / 0.6603 GB, free: 29.41 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 6.603e-05/0.01402, allocations: 175.6 kB / 0.6605 GB, free: 29.28 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.01402, allocations: 2.312 kB / 0.6605 GB, free: 29.28 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002193/0.01424, allocations: 79.34 kB / 0.6606 GB, free: 29.27 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (singleDose.TotalCumulativeMass,singleDose.variableDose.TotalCumulativeMass,artery.M,artery.AUC,tissueCompartment.M,tissueCompartment.AUC,RBC.C,RBC.AUC) * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,singleDose.pulse.T_start,singleDose.pulse.count,RBC.Cmax,RBC.Cmin,RBC.rising) * Number of discrete states: 6 (singleDose.pulse.count,RBC.Cmin,$whenCondition2,RBC.Cmax,$whenCondition1,RBC.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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.602e-05/0.01433, allocations: 118.2 kB / 0.6607 GB, free: 29.17 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003291/0.01466, allocations: 394.6 kB / 0.6611 GB, free: 28.9 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01466, allocations: 6.188 kB / 0.6611 GB, free: 28.89 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.01478, allocations: 178 kB / 0.6613 GB, free: 28.77 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.01509, allocations: 76.28 kB / 0.6613 GB, free: 28.75 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.01657, allocations: 0.8518 MB / 0.6622 GB, free: 28.21 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.42e-05/0.01662, allocations: 100.1 kB / 0.6623 GB, free: 28.13 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 8.533e-05/0.01671, allocations: 33.5 kB / 0.6623 GB, free: 28.12 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.01678, allocations: 33.86 kB / 0.6623 GB, free: 28.11 MB / 0.5262 GB Notification: Performance of SimCode: time 6.71e-07/0.01678, allocations: 0 / 0.6623 GB, free: 28.11 MB / 0.5262 GB Notification: Performance of Templates: time 0.006477/0.02325, allocations: 4.232 MB / 0.6664 GB, free: 27.74 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.458184250164777]