Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.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.0009474/0.0009474, allocations: 91.55 kB / 20.19 MB, free: 4.344 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.001636/0.001636, allocations: 173 kB / 23.5 MB, free: 1.039 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 1.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.604/1.604, allocations: 273.5 MB / 0.5213 GB, free: 14.92 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.PK_1C_Gentamicin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin") translateModel(Pharmacolibrary.Examples.PK_1C_Gentamicin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 3.938 kB / 0.647 GB, free: 38.65 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.298e-05, allocations: 2.312 kB / 0.647 GB, free: 38.64 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_Gentamicin): time 0.002171/0.002184, allocations: 2.116 MB / 0.6491 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0007893/0.002974, allocations: 0.5507 MB / 0.6496 GB, free: 36.91 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.533e-05/0.003049, allocations: 3.062 kB / 0.6496 GB, free: 36.91 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.003163, allocations: 20.62 kB / 0.6496 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.003304, allocations: 58.08 kB / 0.6497 GB, free: 36.87 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.003472, allocations: 44.78 kB / 0.6497 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.003724, allocations: 204.2 kB / 0.6499 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.003856, allocations: 30.53 kB / 0.6499 GB, free: 36.76 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.003987, allocations: 106.5 kB / 0.65 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.004105, allocations: 65.88 kB / 0.6501 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.004137, allocations: 15.81 kB / 0.6501 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.394e-05/0.004161, allocations: 14.12 kB / 0.6501 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.323e-05/0.004194, allocations: 34.36 kB / 0.6502 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.004264, allocations: 54.22 kB / 0.6502 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.004428, allocations: 124.8 kB / 0.6503 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00443, allocations: 0 / 0.6503 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.12e-07/0.004431, allocations: 0 / 0.6503 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004435, allocations: 1 kB / 0.6503 GB, free: 36.59 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005288/0.004963, allocations: 0.5292 MB / 0.6508 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.005002, allocations: 9.125 kB / 0.6509 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.005058, allocations: 26.28 kB / 0.6509 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.005246, allocations: 189 kB / 0.6511 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.005258, allocations: 6.125 kB / 0.6511 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.005286, allocations: 12.5 kB / 0.6511 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.005457, allocations: 144.5 kB / 0.6512 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.005467, allocations: 0 / 0.6512 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.005481, allocations: 10.81 kB / 0.6512 GB, free: 35.8 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.005488, allocations: 1.812 kB / 0.6512 GB, free: 35.8 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.799e-05/0.005586, allocations: 82.67 kB / 0.6513 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.005999, allocations: 399.9 kB / 0.6517 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.006139, allocations: 121.6 kB / 0.6518 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.006191, allocations: 61.09 kB / 0.6519 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.0062, allocations: 6.25 kB / 0.6519 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.006354, allocations: 204.3 kB / 0.6521 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.006356, allocations: 2.438 kB / 0.6521 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of matching and sorting (n=21): time 0.0006695/0.007025, allocations: 0.5728 MB / 0.6526 GB, free: 34.72 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.007051, allocations: 135.9 kB / 0.6528 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/0.007137, allocations: 207.6 kB / 0.653 GB, free: 34.38 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.00715, allocations: 32.52 kB / 0.653 GB, free: 34.35 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.007194, allocations: 162 kB / 0.6531 GB, free: 34.2 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.007227, allocations: 76.16 kB / 0.6532 GB, free: 34.14 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.007277, allocations: 49.84 kB / 0.6533 GB, free: 34.1 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.007326, allocations: 0.4987 MB / 0.6537 GB, free: 33.6 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.198e-05/0.007398, allocations: 103.6 kB / 0.6538 GB, free: 33.51 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.945e-05/0.007488, allocations: 195.1 kB / 0.654 GB, free: 33.31 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.007685, allocations: 324.5 kB / 0.6543 GB, free: 33.03 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.007687, allocations: 0 / 0.6543 GB, free: 33.03 MB / 0.5262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002307/0.007918, allocations: 317.2 kB / 0.6546 GB, free: 32.81 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.007946, allocations: 63.17 kB / 0.6547 GB, free: 32.75 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.007951, allocations: 1.719 kB / 0.6547 GB, free: 32.75 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.007965, allocations: 5.312 kB / 0.6547 GB, free: 32.75 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.008105, allocations: 58.97 kB / 0.6548 GB, free: 32.74 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.008112, allocations: 2.375 kB / 0.6548 GB, free: 32.74 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.209e-05/0.008184, allocations: 16.66 kB / 0.6548 GB, free: 32.73 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.008197, allocations: 8.062 kB / 0.6548 GB, free: 32.73 MB / 0.5262 GB Warning: Assuming fixed start value for the following 6 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 central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central.rising,$PRE.singleDose.pulse.count,$PRE.singleDose.pulse.T_start,central.rising,singleDose.pulse.count,singleDose.pulse.T_start,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001315/0.008329, allocations: 225.2 kB / 0.655 GB, free: 32.53 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.008353, allocations: 25.81 kB / 0.655 GB, free: 32.52 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.00838, allocations: 16.69 kB / 0.655 GB, free: 32.5 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.008384, allocations: 0.5312 kB / 0.655 GB, free: 32.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.008385, allocations: 3.938 kB / 0.6551 GB, free: 32.5 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.008402, allocations: 30.84 kB / 0.6551 GB, free: 32.48 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.008425, allocations: 8.188 kB / 0.6551 GB, free: 32.48 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.008473, allocations: 10.81 kB / 0.6551 GB, free: 32.48 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.008525, allocations: 15.5 kB / 0.6551 GB, free: 32.48 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002834/0.008809, allocations: 363.4 kB / 0.6555 GB, free: 32.23 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002922/0.009101, allocations: 0.5681 MB / 0.656 GB, free: 31.77 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.498e-05/0.009176, allocations: 86.56 kB / 0.6561 GB, free: 31.72 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 4.636e-05/0.009222, allocations: 155.6 kB / 0.6562 GB, free: 31.59 MB / 0.5262 GB Notification: Performance of Backend: time 2.21e-07/0.009223, allocations: 0 / 0.6562 GB, free: 31.59 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.009568, allocations: 341.4 kB / 0.6566 GB, free: 31.3 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001228/0.0108, allocations: 1.263 MB / 0.6578 GB, free: 30.21 MB / 0.5262 GB Notification: Performance of Templates: time 0.004384/0.01518, allocations: 2.751 MB / 0.6605 GB, free: 30 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Gentamicin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.889105984941125]