Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel.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.001303/0.001303, 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.0009022/0.0009022, allocations: 169 kB / 23.5 MB, free: 1.043 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.8838/0.8838, allocations: 177.1 MB / 203.8 MB, free: 5.227 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.616/1.616, allocations: 273.5 MB / 0.5213 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.Examples.PKTwoCompartmentModel,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel") translateModel(Pharmacolibrary.Examples.PKTwoCompartmentModel,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.62e-07/9.62e-07, allocations: 0 / 0.647 GB, free: 38.62 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.179e-05, allocations: 2.312 kB / 0.647 GB, free: 38.61 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKTwoCompartmentModel): time 0.001899/0.001911, allocations: 2.364 MB / 0.6493 GB, free: 37.08 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0006281/0.002539, allocations: 0.6197 MB / 0.6499 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.221e-05/0.002611, allocations: 3.938 kB / 0.6499 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 9.928e-05/0.00271, allocations: 25.78 kB / 0.6499 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.002841, allocations: 74.47 kB / 0.65 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.00299, allocations: 69.36 kB / 0.6501 GB, free: 36.58 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.003204, allocations: 283.4 kB / 0.6503 GB, free: 36.47 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.003327, allocations: 41.81 kB / 0.6504 GB, free: 36.45 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.003456, allocations: 157 kB / 0.6505 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.003574, allocations: 82.55 kB / 0.6506 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.003606, allocations: 23.47 kB / 0.6506 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.586e-05/0.003631, allocations: 21.28 kB / 0.6506 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.003668, allocations: 44.77 kB / 0.6507 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 8.027e-05/0.003748, allocations: 87.72 kB / 0.6508 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.003933, allocations: 177.4 kB / 0.6509 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003934, allocations: 3.594 kB / 0.6509 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003935, allocations: 0 / 0.6509 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.003939, allocations: 0 / 0.6509 GB, free: 36.2 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005578/0.004497, allocations: 0.608 MB / 0.6515 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.00453, allocations: 11.28 kB / 0.6515 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.004591, allocations: 36.11 kB / 0.6516 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.004738, allocations: 176 kB / 0.6517 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.004752, allocations: 14.55 kB / 0.6518 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.004785, allocations: 23.2 kB / 0.6518 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.005001, allocations: 210.3 kB / 0.652 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.005014, allocations: 8.969 kB / 0.652 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.00503, allocations: 7.688 kB / 0.652 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.005037, allocations: 3.531 kB / 0.652 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.005174, allocations: 146.9 kB / 0.6521 GB, free: 35.23 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.005671, allocations: 490.4 kB / 0.6526 GB, free: 34.87 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.005839, allocations: 177.8 kB / 0.6528 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.796e-05/0.005917, allocations: 104.8 kB / 0.6529 GB, free: 34.66 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.005927, allocations: 4.406 kB / 0.6529 GB, free: 34.66 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.006123, allocations: 316.7 kB / 0.6532 GB, free: 34.4 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/0.006125, allocations: 0 / 0.6532 GB, free: 34.4 MB / 0.5262 GB Notification: Performance of matching and sorting (n=33): time 0.0008852/0.007011, allocations: 0.9149 MB / 0.6541 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.007044, allocations: 216.6 kB / 0.6543 GB, free: 33.5 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.352e-05/0.007138, allocations: 222.5 kB / 0.6545 GB, free: 33.32 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.007152, allocations: 37.11 kB / 0.6545 GB, free: 33.28 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.007201, allocations: 166.9 kB / 0.6547 GB, free: 33.13 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.007247, allocations: 110.9 kB / 0.6548 GB, free: 33.04 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.007308, allocations: 70.05 kB / 0.6549 GB, free: 33 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.859e-05/0.007357, allocations: 0.501 MB / 0.6553 GB, free: 32.5 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.563e-05/0.007453, allocations: 153.3 kB / 0.6555 GB, free: 32.38 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.007571, allocations: 280.3 kB / 0.6558 GB, free: 32.09 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.007857, allocations: 491.8 kB / 0.6562 GB, free: 31.66 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.00786, allocations: 5.375 kB / 0.6562 GB, free: 31.66 MB / 0.5262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003343/0.008194, allocations: 456.5 kB / 0.6567 GB, free: 31.36 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.008222, allocations: 97.81 kB / 0.6568 GB, free: 31.26 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.008227, allocations: 3.375 kB / 0.6568 GB, free: 31.26 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.008241, allocations: 4.875 kB / 0.6568 GB, free: 31.26 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.008419, allocations: 71.19 kB / 0.6568 GB, free: 31.25 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.008429, allocations: 8.484 kB / 0.6568 GB, free: 31.25 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.156e-05/0.008521, allocations: 16.78 kB / 0.6569 GB, free: 31.25 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.008542, allocations: 19.53 kB / 0.6569 GB, free: 31.24 MB / 0.5262 GB Warning: Assuming fixed start value for the following 10 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real peripheral.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real peripheral.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.rising:DISCRETE(fixed = true protected = true ) type: Boolean peripheral.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.peripheral.Cmin,peripheral.Cmin,$PRE.peripheral.Cmax,peripheral.Cmax,$PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central.rising,$PRE.peripheral.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,central.rising,peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 3 * 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.0001401/0.008682, allocations: 289 kB / 0.6572 GB, free: 30.98 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.008718, allocations: 33.84 kB / 0.6572 GB, free: 30.97 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.008751, allocations: 32.48 kB / 0.6572 GB, free: 30.94 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.008757, allocations: 3.938 kB / 0.6572 GB, free: 30.94 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.008758, allocations: 2.719 kB / 0.6572 GB, free: 30.94 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.008778, allocations: 17.39 kB / 0.6572 GB, free: 30.93 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.008812, allocations: 17.33 kB / 0.6573 GB, free: 30.92 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.551e-05/0.008878, allocations: 11.84 kB / 0.6573 GB, free: 30.92 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.008939, allocations: 27.88 kB / 0.6573 GB, free: 30.91 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004982/0.009437, allocations: 0.5023 MB / 0.6578 GB, free: 30.58 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005102/0.009947, allocations: 0.7582 MB / 0.6585 GB, free: 30.01 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001096/0.01006, allocations: 150.5 kB / 0.6587 GB, free: 29.91 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 4.756e-05/0.0101, allocations: 161.4 kB / 0.6588 GB, free: 29.79 MB / 0.5262 GB Notification: Performance of Backend: time 6.01e-07/0.01011, allocations: 0 / 0.6588 GB, free: 29.79 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.0105, allocations: 479.1 kB / 0.6593 GB, free: 29.39 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001236/0.01174, allocations: 1.47 MB / 0.6607 GB, free: 28.12 MB / 0.5262 GB Notification: Performance of Templates: time 0.004664/0.0164, allocations: 3.636 MB / 0.6643 GB, free: 27.86 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.556382996961474]