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.0009832/0.0009832, allocations: 89.08 kB / 19.42 MB, free: 496 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.001058/0.001058, allocations: 169 kB / 22.73 MB, free: 1.824 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.9556/0.9556, allocations: 177.1 MB / 203.1 MB, free: 5.641 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.755/1.755, allocations: 273.5 MB / 0.5205 GB, free: 14.86 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.595e-06/2.595e-06, allocations: 1.469 kB / 0.6462 GB, free: 38.74 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.324e-05, allocations: 2.312 kB / 0.6462 GB, free: 38.74 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseDiffusion): time 0.006334/0.006357, allocations: 2.894 MB / 0.649 GB, free: 36.87 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.007416, allocations: 0.7428 MB / 0.6498 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.883e-05/0.007514, allocations: 3.156 kB / 0.6498 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.003092/0.01061, allocations: 41.58 kB / 0.6498 GB, free: 36.35 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.0109, allocations: 120.5 kB / 0.6499 GB, free: 36.3 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.01115, allocations: 90.86 kB / 0.65 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.0115, allocations: 418.8 kB / 0.6504 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.01182, allocations: 211.2 kB / 0.6506 GB, free: 35.92 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.01209, allocations: 243.9 kB / 0.6508 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.01233, allocations: 154.7 kB / 0.651 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 6.081e-05/0.01239, allocations: 34.62 kB / 0.651 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.96e-05/0.01245, allocations: 36.78 kB / 0.6511 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 6.35e-05/0.01251, allocations: 73.53 kB / 0.6511 GB, free: 35.72 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.01265, allocations: 136.2 kB / 0.6513 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.01298, allocations: 263 kB / 0.6515 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.01298, allocations: 0 / 0.6515 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.92e-07/0.01298, allocations: 1.219 kB / 0.6515 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.01299, allocations: 0 / 0.6515 GB, free: 35.54 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.003839/0.01683, allocations: 0.6615 MB / 0.6522 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.01687, allocations: 10.62 kB / 0.6522 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.01697, allocations: 61.19 kB / 0.6522 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.01721, allocations: 206.2 kB / 0.6524 GB, free: 34.77 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.01723, allocations: 19.78 kB / 0.6524 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.0173, allocations: 33.33 kB / 0.6525 GB, free: 34.74 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.01775, allocations: 357 kB / 0.6528 GB, free: 34.52 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.01777, allocations: 10.72 kB / 0.6528 GB, free: 34.52 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.0178, allocations: 10 kB / 0.6528 GB, free: 34.51 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.01781, allocations: 6.312 kB / 0.6528 GB, free: 34.51 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.01808, allocations: 170 kB / 0.653 GB, free: 34.46 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.01916, allocations: 0.82 MB / 0.6538 GB, free: 33.88 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.01959, allocations: 175.3 kB / 0.654 GB, free: 33.78 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.01973, allocations: 85.28 kB / 0.6541 GB, free: 33.73 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.01975, allocations: 5.812 kB / 0.6541 GB, free: 33.73 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/0.02001, allocations: 243.4 kB / 0.6543 GB, free: 33.55 MB / 0.5262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001453/0.02016, allocations: 49.55 kB / 0.6543 GB, free: 33.53 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=30): time 2.886e-06/0.02016, allocations: 1.062 kB / 0.6543 GB, free: 33.53 MB / 0.5262 GB Notification: Performance of matching and sorting (n=31): time 0.001195/0.02136, allocations: 0.7272 MB / 0.6551 GB, free: 33.07 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.02141, allocations: 135.1 kB / 0.6552 GB, free: 32.91 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.02159, allocations: 240.3 kB / 0.6554 GB, free: 32.72 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.02162, allocations: 32.52 kB / 0.6554 GB, free: 32.68 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/0.02171, allocations: 215.2 kB / 0.6556 GB, free: 32.49 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 8.139e-05/0.02179, allocations: 111 kB / 0.6558 GB, free: 32.4 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.02192, allocations: 77.95 kB / 0.6558 GB, free: 32.35 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.02201, allocations: 0.5047 MB / 0.6563 GB, free: 31.85 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.02217, allocations: 132.8 kB / 0.6564 GB, free: 31.76 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.02237, allocations: 269.6 kB / 0.6567 GB, free: 31.49 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.02277, allocations: 452.3 kB / 0.6571 GB, free: 31.12 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.02277, allocations: 1.375 kB / 0.6571 GB, free: 31.12 MB / 0.5262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004035/0.02317, allocations: 427.9 kB / 0.6575 GB, free: 30.87 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.02321, allocations: 59.81 kB / 0.6576 GB, free: 30.81 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.02322, allocations: 2.844 kB / 0.6576 GB, free: 30.81 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.02324, allocations: 5.594 kB / 0.6576 GB, free: 30.81 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.02346, allocations: 93.62 kB / 0.6577 GB, free: 30.8 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.02347, allocations: 7.781 kB / 0.6577 GB, free: 30.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.02357, allocations: 17.94 kB / 0.6577 GB, free: 30.79 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.0236, allocations: 19.31 kB / 0.6577 GB, free: 30.79 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.0001645/0.02376, allocations: 252.6 kB / 0.658 GB, free: 30.56 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.0238, allocations: 34.06 kB / 0.658 GB, free: 30.54 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.02416, allocations: 308.9 kB / 0.6583 GB, free: 30.38 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.02417, allocations: 2.812 kB / 0.6583 GB, free: 30.38 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.02417, allocations: 1.406 kB / 0.6583 GB, free: 30.38 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.02418, allocations: 7.031 kB / 0.6583 GB, free: 30.38 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.0247, allocations: 0.6325 MB / 0.6589 GB, free: 29.93 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.0247, allocations: 1.375 kB / 0.6589 GB, free: 29.93 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.02487, allocations: 47.8 kB / 0.659 GB, free: 29.93 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.02488, allocations: 1.5 kB / 0.659 GB, free: 29.93 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.0249, allocations: 11.69 kB / 0.659 GB, free: 29.93 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.0249, allocations: 5.344 kB / 0.659 GB, free: 29.92 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.0249, allocations: 0 / 0.659 GB, free: 29.92 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.02533, allocations: 0.541 MB / 0.6595 GB, free: 29.56 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.02535, allocations: 13.47 kB / 0.6595 GB, free: 29.55 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.02538, allocations: 11.45 kB / 0.6596 GB, free: 29.55 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.02548, allocations: 14.62 kB / 0.6596 GB, free: 29.54 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.02554, allocations: 25.42 kB / 0.6596 GB, free: 29.54 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.02556, allocations: 11 kB / 0.6596 GB, free: 29.54 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 6.8e-05/0.02563, allocations: 174.4 kB / 0.6598 GB, free: 29.41 MB / 0.5262 GB Notification: Performance of sort global known variables: time 9e-08/0.02563, allocations: 1.438 kB / 0.6598 GB, free: 29.41 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002329/0.02586, allocations: 83.34 kB / 0.6598 GB, free: 29.39 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.704e-05/0.02595, allocations: 115.4 kB / 0.66 GB, free: 29.3 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000357/0.0263, allocations: 396.9 kB / 0.6603 GB, free: 29.03 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.02631, allocations: 0 / 0.6603 GB, free: 29.03 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.02649, allocations: 182.5 kB / 0.6605 GB, free: 28.91 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.02682, allocations: 76.5 kB / 0.6606 GB, free: 28.89 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.02844, allocations: 0.8548 MB / 0.6614 GB, free: 28.34 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.999e-05/0.02849, allocations: 96.16 kB / 0.6615 GB, free: 28.26 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 8.725e-05/0.02857, allocations: 35.88 kB / 0.6615 GB, free: 28.25 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.02864, allocations: 32.7 kB / 0.6616 GB, free: 28.23 MB / 0.5262 GB Notification: Performance of SimCode: time 9.22e-07/0.02865, allocations: 1.375 kB / 0.6616 GB, free: 28.23 MB / 0.5262 GB Notification: Performance of Templates: time 0.006638/0.03528, allocations: 4.028 MB / 0.6655 GB, free: 27.89 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.912480711005628]