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.0006781/0.0006781, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008955/0.001574, 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.0006488/0.0006488, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008987/0.001548, 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.94/0.94, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06871/1.009, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.9809/0.9809, allocations: 291.1 MB / 0.5227 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0298/1.011, allocations: 21.05 MB / 0.5433 GB, free: 31.48 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 9.82e-07/9.82e-07, allocations: 0 / 0.5446 GB, free: 30.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.765e-06/8.747e-06, allocations: 6.25 kB / 0.5446 GB, free: 30.17 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentModel): time 0.002673/0.002682, allocations: 2.171 MB / 0.5467 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005392/0.003221, allocations: 0.557 MB / 0.5472 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.003261, allocations: 4 kB / 0.5472 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.003295, allocations: 19.73 kB / 0.5473 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.305e-05/0.003358, allocations: 55.55 kB / 0.5473 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.216e-05/0.003431, allocations: 39.89 kB / 0.5474 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.003555, allocations: 211 kB / 0.5476 GB, free: 27.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.743e-05/0.003622, allocations: 22.56 kB / 0.5476 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.003727, allocations: 135.7 kB / 0.5477 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.003806, allocations: 63.8 kB / 0.5478 GB, free: 26.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.003823, allocations: 16 kB / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.638e-05/0.00384, allocations: 12 kB / 0.5478 GB, free: 26.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.00386, allocations: 19.94 kB / 0.5478 GB, free: 26.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.003899, allocations: 47.88 kB / 0.5479 GB, free: 26.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.004002, allocations: 99.67 kB / 0.548 GB, free: 26.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.004008, allocations: 0 / 0.548 GB, free: 26.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004009, allocations: 4 kB / 0.548 GB, free: 26.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.004014, allocations: 3.938 kB / 0.548 GB, free: 26.68 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.0003272/0.004341, allocations: 449.6 kB / 0.5484 GB, free: 26.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.876e-05/0.00436, allocations: 15.89 kB / 0.5484 GB, free: 26.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.004389, allocations: 20.92 kB / 0.5484 GB, free: 26.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.093e-05/0.00448, allocations: 136.2 kB / 0.5486 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.004492, allocations: 12.38 kB / 0.5486 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.004509, allocations: 12.38 kB / 0.5486 GB, free: 25.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.004621, allocations: 150.2 kB / 0.5487 GB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.004628, allocations: 3.938 kB / 0.5487 GB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.004637, allocations: 11.98 kB / 0.5487 GB, free: 25.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.00464, allocations: 4 kB / 0.5487 GB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.157e-05/0.004702, allocations: 73.66 kB / 0.5488 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.004939, allocations: 244 kB / 0.549 GB, free: 25.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.005067, allocations: 104.2 kB / 0.5491 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.005097, allocations: 58.55 kB / 0.5492 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.005103, allocations: 0 / 0.5492 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.816e-05/0.005202, allocations: 196.3 kB / 0.5494 GB, free: 25.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 8.42e-07/0.005202, allocations: 0 / 0.5494 GB, free: 25.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004391/0.005642, allocations: 0.4964 MB / 0.5499 GB, free: 24.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.005679, allocations: 166.2 kB / 0.55 GB, free: 24.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.278e-05/0.005732, allocations: 153.6 kB / 0.5502 GB, free: 24.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.005744, allocations: 33.7 kB / 0.5502 GB, free: 24.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.214e-05/0.005766, allocations: 104.5 kB / 0.5503 GB, free: 24.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.005791, allocations: 63.47 kB / 0.5504 GB, free: 23.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.005829, allocations: 61.89 kB / 0.5504 GB, free: 23.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.444e-05/0.005864, allocations: 326.8 kB / 0.5507 GB, free: 23.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.281e-05/0.005907, allocations: 93.7 kB / 0.5508 GB, free: 23.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-05/0.005961, allocations: 163.5 kB / 0.551 GB, free: 23.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.346e-05/0.006045, allocations: 192.5 kB / 0.5512 GB, free: 23.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.006046, allocations: 0 / 0.5512 GB, free: 23.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001343/0.00618, allocations: 252.2 kB / 0.5514 GB, free: 22.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.006206, allocations: 67.39 kB / 0.5515 GB, free: 22.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.00621, allocations: 6.938 kB / 0.5515 GB, free: 22.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.006219, allocations: 4 kB / 0.5515 GB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.006354, allocations: 55.91 kB / 0.5515 GB, free: 22.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.006357, allocations: 0 / 0.5515 GB, free: 22.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.006423, allocations: 15.98 kB / 0.5516 GB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.006432, allocations: 12.16 kB / 0.5516 GB, free: 22.58 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 8.219e-05/0.006514, allocations: 158.4 kB / 0.5517 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.006532, allocations: 19.98 kB / 0.5517 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.006555, allocations: 21.06 kB / 0.5518 GB, free: 22.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.006557, allocations: 4 kB / 0.5518 GB, free: 22.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.006558, allocations: 0 / 0.5518 GB, free: 22.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.006562, allocations: 3.984 kB / 0.5518 GB, free: 22.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.006773, allocations: 350 kB / 0.5521 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006774, allocations: 4 kB / 0.5521 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.006883, allocations: 43.91 kB / 0.5521 GB, free: 21.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.006896, allocations: 15.91 kB / 0.5522 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.006898, allocations: 0 / 0.5522 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.00691, allocations: 3.984 kB / 0.5522 GB, free: 21.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.006912, allocations: 4 kB / 0.5522 GB, free: 21.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.006913, allocations: 3.984 kB / 0.5522 GB, free: 21.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.00708, allocations: 354.9 kB / 0.5525 GB, free: 21.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.007101, allocations: 15.55 kB / 0.5525 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.44e-05/0.007166, allocations: 12 kB / 0.5525 GB, free: 21.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.007201, allocations: 15.97 kB / 0.5525 GB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.007209, allocations: 7.984 kB / 0.5526 GB, free: 21.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.398e-05/0.007233, allocations: 32.83 kB / 0.5526 GB, free: 21.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007233, allocations: 0 / 0.5526 GB, free: 21.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001376/0.00737, allocations: 44 kB / 0.5526 GB, free: 21.41 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 4.998e-05/0.00742, allocations: 92.36 kB / 0.5527 GB, free: 21.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.007571, allocations: 304.5 kB / 0.553 GB, free: 20.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.007576, allocations: 4 kB / 0.553 GB, free: 20.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.272e-05/0.007648, allocations: 149.8 kB / 0.5532 GB, free: 20.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.007849, allocations: 230 kB / 0.5534 GB, free: 20.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.01143, allocations: 456.1 kB / 0.5538 GB, free: 20.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.419e-05/0.01147, allocations: 75.98 kB / 0.5539 GB, free: 19.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.489e-05/0.01153, allocations: 17.48 kB / 0.5539 GB, free: 19.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.01165, allocations: 99.34 kB / 0.554 GB, free: 19.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01165, allocations: 3.938 kB / 0.554 GB, free: 19.84 MB / 410.7 MB Notification: Performance of Templates: time 0.004378/0.01603, allocations: 2.732 MB / 0.5567 GB, free: 17.22 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.3400360392406583]