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.0008377/0.0008377, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001459/0.001459, allocations: 173 kB / 23.5 MB, free: 1.051 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.9874/0.9874, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.657/1.657, allocations: 273.5 MB / 0.5213 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 2.024e-06/2.024e-06, allocations: 0 / 0.6462 GB, free: 38.98 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.19e-05, allocations: 3.875 kB / 0.6462 GB, free: 38.98 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseDiffusion): time 0.003438/0.00347, allocations: 2.911 MB / 0.649 GB, free: 37.09 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.00469, allocations: 0.7301 MB / 0.6497 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.004804, allocations: 4.312 kB / 0.6497 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 8.59e-05/0.00489, allocations: 42.42 kB / 0.6498 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.005223, allocations: 115 kB / 0.6499 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.005503, allocations: 92.84 kB / 0.65 GB, free: 36.49 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0003977/0.0059, allocations: 413.9 kB / 0.6504 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000369/0.006269, allocations: 221.8 kB / 0.6506 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.006536, allocations: 241.1 kB / 0.6508 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.00677, allocations: 152.7 kB / 0.651 GB, free: 36.01 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 5.467e-05/0.006825, allocations: 35.53 kB / 0.651 GB, free: 36.01 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.641e-05/0.006871, allocations: 36.38 kB / 0.651 GB, free: 36.01 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.006929, allocations: 82.17 kB / 0.6511 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.007064, allocations: 129.3 kB / 0.6512 GB, free: 35.9 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.007379, allocations: 271.6 kB / 0.6515 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.007385, allocations: 6.281 kB / 0.6515 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.863e-06/0.007387, allocations: 0 / 0.6515 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.007394, allocations: 0 / 0.6515 GB, free: 35.77 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.0008662/0.008261, allocations: 0.6634 MB / 0.6521 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.008307, allocations: 9.375 kB / 0.6522 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.008407, allocations: 57.42 kB / 0.6522 GB, free: 35.18 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.008727, allocations: 220.5 kB / 0.6524 GB, free: 35 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.008751, allocations: 21.25 kB / 0.6524 GB, free: 34.99 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.008804, allocations: 35.08 kB / 0.6525 GB, free: 34.97 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.009235, allocations: 356.8 kB / 0.6528 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.009252, allocations: 6.281 kB / 0.6528 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.009277, allocations: 11.22 kB / 0.6528 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.009288, allocations: 9.812 kB / 0.6528 GB, free: 34.74 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.009523, allocations: 162 kB / 0.653 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.01056, allocations: 0.8345 MB / 0.6538 GB, free: 34.1 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.01095, allocations: 173.2 kB / 0.654 GB, free: 34.01 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.01106, allocations: 87.81 kB / 0.6541 GB, free: 33.96 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.01108, allocations: 5.656 kB / 0.6541 GB, free: 33.96 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/0.01136, allocations: 243.3 kB / 0.6543 GB, free: 33.78 MB / 0.5262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000128/0.01149, allocations: 38.22 kB / 0.6543 GB, free: 33.77 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/0.01149, allocations: 0 / 0.6543 GB, free: 33.77 MB / 0.5262 GB Notification: Performance of matching and sorting (n=31): time 0.001151/0.01264, allocations: 0.7399 MB / 0.6551 GB, free: 33.3 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.0127, allocations: 142.3 kB / 0.6552 GB, free: 33.14 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.01285, allocations: 236.9 kB / 0.6554 GB, free: 32.95 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.01287, allocations: 33.64 kB / 0.6554 GB, free: 32.91 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/0.01297, allocations: 208.7 kB / 0.6556 GB, free: 32.72 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.01304, allocations: 107.3 kB / 0.6557 GB, free: 32.63 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.01317, allocations: 77.84 kB / 0.6558 GB, free: 32.58 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.01327, allocations: 0.5099 MB / 0.6563 GB, free: 32.08 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.0134, allocations: 132.7 kB / 0.6564 GB, free: 31.98 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.01358, allocations: 268.1 kB / 0.6567 GB, free: 31.72 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.014, allocations: 452.5 kB / 0.6571 GB, free: 31.34 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.01401, allocations: 1.312 kB / 0.6571 GB, free: 31.34 MB / 0.5262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000572/0.01458, allocations: 427.3 kB / 0.6575 GB, free: 31.1 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.01463, allocations: 56.44 kB / 0.6576 GB, free: 31.04 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.01464, allocations: 2.781 kB / 0.6576 GB, free: 31.04 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.01467, allocations: 8.609 kB / 0.6576 GB, free: 31.04 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.01499, allocations: 93.08 kB / 0.6577 GB, free: 31.02 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.01501, allocations: 4.438 kB / 0.6577 GB, free: 31.02 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.01513, allocations: 18.61 kB / 0.6577 GB, free: 31.02 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.01517, allocations: 17 kB / 0.6577 GB, free: 31.02 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.0002551/0.01542, allocations: 255 kB / 0.658 GB, free: 30.79 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.01549, allocations: 33.31 kB / 0.658 GB, free: 30.78 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/0.01602, allocations: 305.4 kB / 0.6583 GB, free: 30.62 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.01603, allocations: 8.438 kB / 0.6583 GB, free: 30.62 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.01603, allocations: 0 / 0.6583 GB, free: 30.62 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.01604, allocations: 3.844 kB / 0.6583 GB, free: 30.62 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006734/0.01671, allocations: 0.6418 MB / 0.6589 GB, free: 30.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.01672, allocations: 0 / 0.6589 GB, free: 30.16 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.01692, allocations: 52.7 kB / 0.659 GB, free: 30.16 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.01692, allocations: 1.438 kB / 0.659 GB, free: 30.16 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.01695, allocations: 6.781 kB / 0.659 GB, free: 30.15 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.01695, allocations: 1.5 kB / 0.659 GB, free: 30.15 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.01695, allocations: 1.406 kB / 0.659 GB, free: 30.15 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.01746, allocations: 0.5372 MB / 0.6595 GB, free: 29.79 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.01748, allocations: 21.41 kB / 0.6595 GB, free: 29.78 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.01752, allocations: 8.219 kB / 0.6596 GB, free: 29.78 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.833e-05/0.01762, allocations: 13 kB / 0.6596 GB, free: 29.77 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.0177, allocations: 26.5 kB / 0.6596 GB, free: 29.77 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.01771, allocations: 11.06 kB / 0.6596 GB, free: 29.77 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 8.537e-05/0.0178, allocations: 173.4 kB / 0.6598 GB, free: 29.64 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.0178, allocations: 4.688 kB / 0.6598 GB, free: 29.64 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002612/0.01806, allocations: 82.59 kB / 0.6598 GB, free: 29.62 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 0.0001269/0.01819, allocations: 106.9 kB / 0.66 GB, free: 29.53 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003898/0.01858, allocations: 395.2 kB / 0.6603 GB, free: 29.26 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01858, allocations: 0 / 0.6603 GB, free: 29.26 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.01872, allocations: 181.9 kB / 0.6605 GB, free: 29.14 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.0191, allocations: 87.88 kB / 0.6606 GB, free: 29.12 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.02094, allocations: 0.8808 MB / 0.6614 GB, free: 28.54 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.02108, allocations: 160.3 kB / 0.6616 GB, free: 28.45 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.581e-05/0.02117, allocations: 35.61 kB / 0.6616 GB, free: 28.44 MB / 0.5262 GB Notification: Performance of SimCode: time 1.092e-06/0.02118, allocations: 0 / 0.6616 GB, free: 28.44 MB / 0.5262 GB Notification: Performance of Templates: time 0.005538/0.02671, allocations: 3.756 MB / 0.6653 GB, free: 28.14 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 > Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseDiffusion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.898524713004008]