Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.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.001426/0.001426, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002116/0.003543, allocations: 435.8 kB / 10.33 MB, free: 368 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.00125/0.00125, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001846/0.003096, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.101/1.101, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1286/1.23, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.8747/0.8747, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03541/0.9101, allocations: 21.04 MB / 0.5432 GB, free: 31.96 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.PKOneCompartmentModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel") translateModel(Pharmacolibrary.Examples.PKOneCompartmentModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 3.938 kB / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.585e-06/9.429e-06, allocations: 10.25 kB / 0.5444 GB, free: 30.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentModel): time 0.001842/0.001851, allocations: 2.173 MB / 0.5465 GB, free: 28.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005901/0.002441, allocations: 0.5492 MB / 0.5471 GB, free: 27.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.002498, allocations: 4 kB / 0.5471 GB, free: 27.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.577e-05/0.002554, allocations: 19.8 kB / 0.5471 GB, free: 27.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.621e-05/0.00265, allocations: 59.48 kB / 0.5472 GB, free: 27.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.501e-05/0.002745, allocations: 47.81 kB / 0.5472 GB, free: 27.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.002917, allocations: 203.1 kB / 0.5474 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.003025, allocations: 30.55 kB / 0.5474 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.00317, allocations: 131.7 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.529e-05/0.003265, allocations: 63.8 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.003296, allocations: 16 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.778e-05/0.003314, allocations: 12 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.003341, allocations: 19.94 kB / 0.5477 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.003388, allocations: 47.88 kB / 0.5477 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.003548, allocations: 103.6 kB / 0.5478 GB, free: 27.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.982e-05/0.003567, allocations: 4 kB / 0.5478 GB, free: 27.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003568, allocations: 0 / 0.5478 GB, free: 27.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.003586, allocations: 0 / 0.5478 GB, free: 27.18 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000563/0.004149, allocations: 445.7 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.004183, allocations: 11.89 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.004225, allocations: 20.92 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.004363, allocations: 142.1 kB / 0.5484 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.00438, allocations: 12.38 kB / 0.5484 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.004404, allocations: 12.38 kB / 0.5484 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.004561, allocations: 138.3 kB / 0.5485 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.004572, allocations: 3.938 kB / 0.5486 GB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.004582, allocations: 12 kB / 0.5486 GB, free: 26.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.004587, allocations: 0 / 0.5486 GB, free: 26.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.712e-05/0.004654, allocations: 69.66 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.004963, allocations: 255.9 kB / 0.5489 GB, free: 25.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.005139, allocations: 108.2 kB / 0.549 GB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.005175, allocations: 58.55 kB / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.005183, allocations: 0 / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.005337, allocations: 192.4 kB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.005338, allocations: 0 / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005134/0.005852, allocations: 0.4888 MB / 0.5497 GB, free: 25.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.005888, allocations: 144.4 kB / 0.5498 GB, free: 24.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.55e-05/0.005953, allocations: 146.6 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.005968, allocations: 33.7 kB / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.945e-05/0.005998, allocations: 104.5 kB / 0.5501 GB, free: 24.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.00603, allocations: 71.44 kB / 0.5502 GB, free: 24.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.00607, allocations: 49.92 kB / 0.5502 GB, free: 24.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.772e-05/0.006108, allocations: 326.8 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.952e-05/0.006158, allocations: 97.69 kB / 0.5506 GB, free: 24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-05/0.006222, allocations: 155.5 kB / 0.5508 GB, free: 23.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.121e-05/0.006314, allocations: 191.9 kB / 0.551 GB, free: 23.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006315, allocations: 4.031 kB / 0.551 GB, free: 23.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001387/0.006454, allocations: 251.9 kB / 0.5512 GB, free: 23.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.006491, allocations: 63.39 kB / 0.5513 GB, free: 23.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.006499, allocations: 7.938 kB / 0.5513 GB, free: 23.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.006512, allocations: 7.062 kB / 0.5513 GB, free: 23.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.00666, allocations: 51.97 kB / 0.5513 GB, free: 23.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.006665, allocations: 3.938 kB / 0.5513 GB, free: 23.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.006726, allocations: 20.14 kB / 0.5513 GB, free: 23.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.006736, allocations: 8 kB / 0.5514 GB, free: 23.14 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: singleDose.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: 6 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,central.rising,$PRE.central.rising,singleDose.pulse.count,$PRE.singleDose.pulse.count,singleDose.pulse.T_start,$PRE.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 (28): * Single equations (assignments): 26 * 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.0001036/0.00684, allocations: 163.4 kB / 0.5515 GB, free: 22.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.006855, allocations: 23.91 kB / 0.5515 GB, free: 22.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.006883, allocations: 21.06 kB / 0.5516 GB, free: 22.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006885, allocations: 4 kB / 0.5516 GB, free: 22.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.006889, allocations: 3.984 kB / 0.5516 GB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.006893, allocations: 0 / 0.5516 GB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.007117, allocations: 352.9 kB / 0.5519 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007119, allocations: 0 / 0.5519 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.007238, allocations: 47.84 kB / 0.5519 GB, free: 22.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.508e-05/0.007253, allocations: 15.89 kB / 0.552 GB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.007255, allocations: 4 kB / 0.552 GB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.007265, allocations: 0 / 0.552 GB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.007267, allocations: 4 kB / 0.552 GB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.007268, allocations: 0 / 0.552 GB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.007437, allocations: 344.4 kB / 0.5523 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.007457, allocations: 15.98 kB / 0.5523 GB, free: 22.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.007517, allocations: 7.312 kB / 0.5523 GB, free: 22.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.007564, allocations: 23.91 kB / 0.5523 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.007573, allocations: 7.984 kB / 0.5523 GB, free: 22.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.392e-05/0.007597, allocations: 32.83 kB / 0.5524 GB, free: 22.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007597, allocations: 0 / 0.5524 GB, free: 22.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.007744, allocations: 44 kB / 0.5524 GB, free: 21.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (singleDose.TotalCumulativeMass,central.C,central.AUC,elim.MExc) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,singleDose.pulse.T_start,singleDose.pulse.count,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 6 (singleDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * 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 6.439e-05/0.007808, allocations: 91.39 kB / 0.5525 GB, free: 21.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.007959, allocations: 304.3 kB / 0.5528 GB, free: 21.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.007965, allocations: 0 / 0.5528 GB, free: 21.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.25e-05/0.008027, allocations: 148.5 kB / 0.5529 GB, free: 21.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.008212, allocations: 55.89 kB / 0.553 GB, free: 21.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/0.01178, allocations: 480 kB / 0.5535 GB, free: 20.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.065e-05/0.01181, allocations: 79.92 kB / 0.5535 GB, free: 20.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.917e-05/0.01186, allocations: 17.48 kB / 0.5535 GB, free: 20.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.002e-05/0.01195, allocations: 103.3 kB / 0.5536 GB, free: 20.59 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01195, allocations: 0 / 0.5536 GB, free: 20.59 MB / 410.7 MB Notification: Performance of Templates: time 0.02916/0.04111, allocations: 2.708 MB / 0.5563 GB, free: 17.98 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9061812376603484]