Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.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.0009545/0.0009545, allocations: 91.55 kB / 20.19 MB, free: 4.199 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.000992/0.000992, allocations: 169 kB / 23.5 MB, free: 0.8945 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.9777/0.9777, 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.606/1.606, allocations: 273.5 MB / 0.5213 GB, free: 14.8 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.SingleDoseLumen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen") translateModel(Pharmacolibrary.DevModels.SingleDoseLumen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.647 GB, free: 38.64 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.157e-05, allocations: 2.312 kB / 0.647 GB, free: 38.64 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseLumen): time 0.002539/0.002561, allocations: 2.947 MB / 0.6499 GB, free: 36.73 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0008851/0.003446, allocations: 0.7371 MB / 0.6506 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.361e-05/0.00354, allocations: 3.5 kB / 0.6506 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 6.599e-05/0.003606, allocations: 45.16 kB / 0.6506 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.003834, allocations: 119.2 kB / 0.6507 GB, free: 36.17 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.004036, allocations: 95.2 kB / 0.6508 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.004296, allocations: 418.5 kB / 0.6512 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000274/0.00457, allocations: 219.2 kB / 0.6514 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.004774, allocations: 247 kB / 0.6517 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.004953, allocations: 155.1 kB / 0.6518 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.004997, allocations: 37.84 kB / 0.6519 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.679e-05/0.005034, allocations: 36.66 kB / 0.6519 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.005077, allocations: 79.56 kB / 0.652 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 9.689e-05/0.005174, allocations: 142.3 kB / 0.6521 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.005407, allocations: 266.7 kB / 0.6524 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005409, allocations: 0 / 0.6524 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of FrontEnd: time 6.21e-07/0.00541, allocations: 1.875 kB / 0.6524 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.005415, allocations: 0 / 0.6524 GB, free: 35.39 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.0006926/0.006108, allocations: 0.6778 MB / 0.653 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.006145, allocations: 11.06 kB / 0.653 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.92e-05/0.006234, allocations: 52.75 kB / 0.6531 GB, free: 34.8 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.006496, allocations: 218.3 kB / 0.6533 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.006524, allocations: 22.81 kB / 0.6533 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/0.006567, allocations: 40.97 kB / 0.6533 GB, free: 34.59 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.006918, allocations: 362.2 kB / 0.6537 GB, free: 34.37 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.006933, allocations: 3.938 kB / 0.6537 GB, free: 34.36 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.006954, allocations: 9.875 kB / 0.6537 GB, free: 34.36 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.006963, allocations: 7.812 kB / 0.6537 GB, free: 34.36 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.007164, allocations: 162.4 kB / 0.6539 GB, free: 34.31 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008862/0.00805, allocations: 0.8291 MB / 0.6547 GB, free: 33.72 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.008379, allocations: 190.5 kB / 0.6549 GB, free: 33.62 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.008498, allocations: 85.39 kB / 0.6549 GB, free: 33.57 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.008524, allocations: 5.969 kB / 0.6549 GB, free: 33.57 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.008732, allocations: 234.8 kB / 0.6552 GB, free: 33.39 MB / 0.5262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001432/0.008875, allocations: 42.53 kB / 0.6552 GB, free: 33.38 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=30): time 1.874e-06/0.008877, allocations: 0 / 0.6552 GB, free: 33.38 MB / 0.5262 GB Notification: Performance of matching and sorting (n=31): time 0.0009517/0.009829, allocations: 0.7385 MB / 0.6559 GB, free: 32.91 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.009864, allocations: 142.7 kB / 0.6561 GB, free: 32.75 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.01002, allocations: 238.5 kB / 0.6563 GB, free: 32.56 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.01004, allocations: 39.77 kB / 0.6563 GB, free: 32.52 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/0.01011, allocations: 208.5 kB / 0.6565 GB, free: 32.33 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/0.01018, allocations: 111.4 kB / 0.6566 GB, free: 32.24 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.098e-05/0.01027, allocations: 77.89 kB / 0.6567 GB, free: 32.19 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.01032, allocations: 0.5085 MB / 0.6572 GB, free: 31.68 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.01046, allocations: 130.6 kB / 0.6573 GB, free: 31.6 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.01067, allocations: 266.3 kB / 0.6576 GB, free: 31.33 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.01105, allocations: 455.8 kB / 0.658 GB, free: 30.95 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01105, allocations: 4 kB / 0.658 GB, free: 30.95 MB / 0.5262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000399/0.01145, allocations: 430.1 kB / 0.6584 GB, free: 30.7 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.01148, allocations: 63.81 kB / 0.6585 GB, free: 30.64 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.01149, allocations: 2.75 kB / 0.6585 GB, free: 30.64 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.0115, allocations: 4.281 kB / 0.6585 GB, free: 30.64 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.01173, allocations: 95.64 kB / 0.6586 GB, free: 30.63 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.01174, allocations: 8.219 kB / 0.6586 GB, free: 30.62 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.01185, allocations: 16.89 kB / 0.6586 GB, free: 30.62 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.01186, allocations: 16.75 kB / 0.6586 GB, free: 30.62 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 GILumen.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real GIT.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real artery.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real GILumen.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real GILumen.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real GILumen.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.GILumen.Cmin,GILumen.Cmin,$PRE.GILumen.Cmax,GILumen.Cmax,$PRE.GILumen.rising,$PRE.singleDose.pulse.count,$PRE.singleDose.pulse.T_start,GILumen.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.0001568/0.01202, allocations: 241.9 kB / 0.6589 GB, free: 30.4 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.01206, allocations: 35.97 kB / 0.6589 GB, free: 30.38 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.0124, allocations: 318.3 kB / 0.6592 GB, free: 30.22 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01241, allocations: 0 / 0.6592 GB, free: 30.22 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01241, allocations: 0 / 0.6592 GB, free: 30.22 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.01243, allocations: 22.98 kB / 0.6592 GB, free: 30.21 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.01247, allocations: 9.594 kB / 0.6592 GB, free: 30.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.01255, allocations: 14.31 kB / 0.6592 GB, free: 30.2 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.01261, allocations: 21.66 kB / 0.6593 GB, free: 30.2 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004701/0.01308, allocations: 437.9 kB / 0.6597 GB, free: 29.93 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004445/0.01353, allocations: 0.6546 MB / 0.6603 GB, free: 29.46 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001166/0.01365, allocations: 116.9 kB / 0.6604 GB, free: 29.39 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 6.958e-05/0.01372, allocations: 175 kB / 0.6606 GB, free: 29.27 MB / 0.5262 GB Notification: Performance of Backend: time 4.81e-07/0.01372, allocations: 1.438 kB / 0.6606 GB, free: 29.27 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000455/0.01417, allocations: 403.4 kB / 0.661 GB, free: 28.96 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001656/0.01583, allocations: 1.554 MB / 0.6625 GB, free: 27.69 MB / 0.5262 GB Notification: Performance of Templates: time 0.006029/0.02186, allocations: 4.074 MB / 0.6665 GB, free: 27.38 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.987650495953858]