Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.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.0009752/0.0009752, 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.0009814/0.0009814, 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.917/0.917, 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.576/1.576, allocations: 273.5 MB / 0.5213 GB, free: 14.88 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.Pharmacokinetic.Models.PK_2C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_2C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 3.422 kB / 0.647 GB, free: 38.79 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178e-05/1.346e-05, allocations: 3.125 kB / 0.647 GB, free: 38.79 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_2C): time 0.002063/0.002076, allocations: 2.709 MB / 0.6497 GB, free: 37.02 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0007767/0.002853, allocations: 0.6706 MB / 0.6503 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.161e-05/0.002945, allocations: 3.656 kB / 0.6503 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.003056, allocations: 39.94 kB / 0.6504 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.003224, allocations: 113.7 kB / 0.6505 GB, free: 36.51 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.003419, allocations: 77.17 kB / 0.6505 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.003669, allocations: 367.9 kB / 0.6509 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.003789, allocations: 56.95 kB / 0.6509 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.003941, allocations: 184 kB / 0.6511 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.004118, allocations: 124.2 kB / 0.6512 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.004151, allocations: 22.97 kB / 0.6513 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.013e-05/0.004181, allocations: 23.84 kB / 0.6513 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.299e-05/0.004214, allocations: 52.03 kB / 0.6513 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 8.918e-05/0.004303, allocations: 105.1 kB / 0.6514 GB, free: 36.07 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.004496, allocations: 219.1 kB / 0.6516 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004498, allocations: 2.312 kB / 0.6516 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004499, allocations: 1.156 kB / 0.6516 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.004504, allocations: 0 / 0.6516 GB, free: 35.96 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005861/0.00509, allocations: 0.6726 MB / 0.6523 GB, free: 35.37 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.005125, allocations: 7.906 kB / 0.6523 GB, free: 35.37 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/0.005193, allocations: 49.72 kB / 0.6524 GB, free: 35.35 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.005359, allocations: 200.1 kB / 0.6525 GB, free: 35.17 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.005374, allocations: 19.2 kB / 0.6526 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.005407, allocations: 27.61 kB / 0.6526 GB, free: 35.15 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.005662, allocations: 262.2 kB / 0.6528 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.005675, allocations: 5.344 kB / 0.6528 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.005691, allocations: 15.34 kB / 0.6529 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.0057, allocations: 6.5 kB / 0.6529 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.005848, allocations: 156 kB / 0.653 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006459/0.006494, allocations: 0.7439 MB / 0.6537 GB, free: 34.32 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.006665, allocations: 184.6 kB / 0.6539 GB, free: 34.2 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.817e-05/0.006743, allocations: 116.3 kB / 0.654 GB, free: 34.11 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.006755, allocations: 4.281 kB / 0.654 GB, free: 34.11 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.006948, allocations: 322.3 kB / 0.6543 GB, free: 33.84 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.00695, allocations: 1.219 kB / 0.6543 GB, free: 33.84 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35): time 0.0009173/0.007867, allocations: 0.9366 MB / 0.6553 GB, free: 33.19 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.007903, allocations: 222.5 kB / 0.6555 GB, free: 32.93 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.008036, allocations: 285.5 kB / 0.6557 GB, free: 32.73 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.008052, allocations: 32.48 kB / 0.6558 GB, free: 32.7 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.008114, allocations: 201.2 kB / 0.656 GB, free: 32.52 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/0.008161, allocations: 117.8 kB / 0.6561 GB, free: 32.43 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.527e-05/0.008226, allocations: 76.41 kB / 0.6562 GB, free: 32.38 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.008276, allocations: 0.5129 MB / 0.6567 GB, free: 31.87 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.00839, allocations: 154.7 kB / 0.6568 GB, free: 31.75 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.008541, allocations: 300.9 kB / 0.6571 GB, free: 31.44 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.008915, allocations: 0.531 MB / 0.6576 GB, free: 30.96 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.008918, allocations: 2.094 kB / 0.6576 GB, free: 30.96 MB / 0.5262 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004532/0.009372, allocations: 496.9 kB / 0.6581 GB, free: 30.64 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.009399, allocations: 90.17 kB / 0.6582 GB, free: 30.55 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.009405, allocations: 2.188 kB / 0.6582 GB, free: 30.55 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.009419, allocations: 6.281 kB / 0.6582 GB, free: 30.55 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.009616, allocations: 89.41 kB / 0.6583 GB, free: 30.54 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.009628, allocations: 6.5 kB / 0.6583 GB, free: 30.54 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.009733, allocations: 22.83 kB / 0.6583 GB, free: 30.53 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.009751, allocations: 15.59 kB / 0.6583 GB, free: 30.53 MB / 0.5262 GB Warning: Assuming fixed start value for the following 10 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real 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 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 peripheral.rising:DISCRETE(fixed = true protected = true ) type: Boolean central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.peripheral.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.central.rising,peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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.0001491/0.0099, allocations: 297.6 kB / 0.6586 GB, free: 30.26 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.009936, allocations: 39.8 kB / 0.6586 GB, free: 30.24 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.00997, allocations: 33.72 kB / 0.6587 GB, free: 30.22 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.009974, allocations: 0 / 0.6587 GB, free: 30.22 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.009975, allocations: 0 / 0.6587 GB, free: 30.22 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.01, allocations: 29.92 kB / 0.6587 GB, free: 30.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.01003, allocations: 9.656 kB / 0.6587 GB, free: 30.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.0101, allocations: 23.33 kB / 0.6587 GB, free: 30.19 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.01016, allocations: 26.47 kB / 0.6587 GB, free: 30.18 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004009/0.01056, allocations: 0.5075 MB / 0.6592 GB, free: 29.84 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004258/0.01099, allocations: 0.7719 MB / 0.66 GB, free: 29.27 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001099/0.0111, allocations: 153.2 kB / 0.6601 GB, free: 29.17 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 7.801e-05/0.01117, allocations: 205.2 kB / 0.6603 GB, free: 29.04 MB / 0.5262 GB Notification: Performance of Backend: time 2.41e-07/0.01117, allocations: 0 / 0.6603 GB, free: 29.04 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0004477/0.01162, allocations: 489.1 kB / 0.6608 GB, free: 28.63 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001508/0.01313, allocations: 1.573 MB / 0.6623 GB, free: 27.32 MB / 0.5262 GB Notification: Performance of Templates: time 0.005567/0.0187, allocations: 4.522 MB / 0.6668 GB, free: 26.95 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.808596409857273]