Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.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.0005887/0.0005887, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008691/0.001458, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000664/0.000664, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008415/0.001506, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8929/0.8929, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08786/0.9807, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.724/0.724, allocations: 291.1 MB / 0.5227 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03845/0.7625, allocations: 21.04 MB / 0.5433 GB, free: 31.49 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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.PK_3C_FentanylIV,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV") translateModel(Pharmacolibrary.Examples.PK_3C_FentanylIV,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5446 GB, free: 30.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.776e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.17 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_3C_FentanylIV): time 0.002882/0.0029, allocations: 2.836 MB / 0.5474 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00506/0.00796, allocations: 0.7009 MB / 0.548 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.008066, allocations: 4 kB / 0.548 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.061e-05/0.008147, allocations: 35.64 kB / 0.5481 GB, free: 26.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.008331, allocations: 115 kB / 0.5482 GB, free: 26.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.008495, allocations: 87.83 kB / 0.5483 GB, free: 26.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.008806, allocations: 410 kB / 0.5487 GB, free: 25.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.008931, allocations: 56.83 kB / 0.5487 GB, free: 25.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.009169, allocations: 244.1 kB / 0.549 GB, free: 25.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.009319, allocations: 115.7 kB / 0.5491 GB, free: 25.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.009357, allocations: 28 kB / 0.5491 GB, free: 25.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.297e-05/0.0094, allocations: 28 kB / 0.5491 GB, free: 25.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.009441, allocations: 43.81 kB / 0.5492 GB, free: 25.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.065e-05/0.009532, allocations: 103.8 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.009754, allocations: 215.3 kB / 0.5495 GB, free: 25.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.009764, allocations: 4 kB / 0.5495 GB, free: 25.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.009765, allocations: 0 / 0.5495 GB, free: 25.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.009774, allocations: 0 / 0.5495 GB, free: 25.16 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.003675/0.01345, allocations: 0.6463 MB / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.01348, allocations: 11.89 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.929e-05/0.01355, allocations: 40.22 kB / 0.5501 GB, free: 24.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.01373, allocations: 178.9 kB / 0.5503 GB, free: 24.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.01376, allocations: 24.81 kB / 0.5503 GB, free: 24.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.0138, allocations: 28.36 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.01404, allocations: 261.6 kB / 0.5506 GB, free: 23.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.01405, allocations: 4.141 kB / 0.5506 GB, free: 23.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.01407, allocations: 12.38 kB / 0.5506 GB, free: 23.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.01408, allocations: 7.938 kB / 0.5506 GB, free: 23.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.01423, allocations: 198.5 kB / 0.5508 GB, free: 23.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.0148, allocations: 398.8 kB / 0.5512 GB, free: 23.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.01504, allocations: 214.4 kB / 0.5514 GB, free: 23.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.01512, allocations: 142.2 kB / 0.5516 GB, free: 22.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.01514, allocations: 4 kB / 0.5516 GB, free: 22.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.01537, allocations: 442.3 kB / 0.552 GB, free: 22.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 1.503e-06/0.01537, allocations: 0 / 0.552 GB, free: 22.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.004025/0.0194, allocations: 1.092 MB / 0.553 GB, free: 21.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/0.01947, allocations: 383.8 kB / 0.5534 GB, free: 20.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.01957, allocations: 183.4 kB / 0.5536 GB, free: 20.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.0196, allocations: 41.69 kB / 0.5536 GB, free: 20.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.01963, allocations: 128.8 kB / 0.5537 GB, free: 20.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.075e-05/0.01971, allocations: 146.8 kB / 0.5539 GB, free: 20.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-05/0.01979, allocations: 82.17 kB / 0.554 GB, free: 20.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.598e-05/0.01984, allocations: 350.7 kB / 0.5543 GB, free: 19.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.01995, allocations: 181.7 kB / 0.5545 GB, free: 19.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.02008, allocations: 293.5 kB / 0.5548 GB, free: 19.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.02032, allocations: 425.4 kB / 0.5552 GB, free: 18.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.02033, allocations: 3.938 kB / 0.5552 GB, free: 18.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003156/0.02064, allocations: 481.9 kB / 0.5556 GB, free: 18.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.02069, allocations: 114.8 kB / 0.5557 GB, free: 17.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.0207, allocations: 4 kB / 0.5557 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.02071, allocations: 4 kB / 0.5557 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.02103, allocations: 132.1 kB / 0.5559 GB, free: 17.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.02103, allocations: 4 kB / 0.5559 GB, free: 17.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.02117, allocations: 23.98 kB / 0.5559 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.02119, allocations: 16 kB / 0.5559 GB, free: 17.81 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 29 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral2.rising,$PRE.peripheral2.rising,central.rising,$PRE.central.rising,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,$whenCondition7,$whenCondition6,$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 (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 4 * 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.0001595/0.02135, allocations: 260.5 kB / 0.5562 GB, free: 17.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.0214, allocations: 39.97 kB / 0.5562 GB, free: 17.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.02144, allocations: 34.98 kB / 0.5562 GB, free: 17.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.02144, allocations: 4 kB / 0.5562 GB, free: 17.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.02145, allocations: 3.938 kB / 0.5562 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.02145, allocations: 0 / 0.5562 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.02198, allocations: 0.6397 MB / 0.5569 GB, free: 16.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.02198, allocations: 0 / 0.5569 GB, free: 16.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003287/0.02527, allocations: 92.53 kB / 0.5569 GB, free: 16.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.0253, allocations: 23.84 kB / 0.557 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.0253, allocations: 4 kB / 0.557 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.02532, allocations: 11.94 kB / 0.557 GB, free: 16.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.02533, allocations: 0 / 0.557 GB, free: 16.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02533, allocations: 4 kB / 0.557 GB, free: 16.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.02574, allocations: 0.6814 MB / 0.5577 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.02578, allocations: 19.94 kB / 0.5577 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.02591, allocations: 19.98 kB / 0.5577 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.02598, allocations: 31.94 kB / 0.5577 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.026, allocations: 12 kB / 0.5577 GB, free: 15.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.728e-05/0.02605, allocations: 62.69 kB / 0.5578 GB, free: 15.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02605, allocations: 0 / 0.5578 GB, free: 15.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003111/0.02636, allocations: 100 kB / 0.5579 GB, free: 15.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC,central.C,central.AUC,elim.MExc,peripheral2.C,peripheral2.AUC) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising,central.Cmax,central.Cmin,central.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising) * Number of discrete states: 16 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition7,peripheral.Cmax,$whenCondition6,peripheral.rising,peripheral2.Cmin,$whenCondition3,peripheral2.Cmax,$whenCondition2,peripheral2.rising,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 3 * 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 9.976e-05/0.02646, allocations: 100.4 kB / 0.558 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003528/0.02681, allocations: 0.641 MB / 0.5586 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.02682, allocations: 3.984 kB / 0.5586 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.02701, allocations: 388 kB / 0.559 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2255/0.2526, allocations: 442.5 kB / 0.5594 GB, free: 83.59 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00724/0.2598, allocations: 0.7497 MB / 0.5601 GB, free: 83.19 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.774e-05/0.2598, allocations: 100.7 kB / 0.5602 GB, free: 83.12 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.26, allocations: 33.7 kB / 0.5603 GB, free: 83.11 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.2602, allocations: 152.3 kB / 0.5604 GB, free: 83.07 MB / 410.8 MB Notification: Performance of SimCode: time 1.092e-06/0.2602, allocations: 0.75 kB / 0.5604 GB, free: 83.07 MB / 410.8 MB Notification: Performance of Templates: time 0.007076/0.2673, allocations: 5.338 MB / 0.5656 GB, free: 82.23 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2796012526378036]