Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel.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.001751/0.001751, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001769/0.003521, 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.0009986/0.0009986, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.002333, 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.128/1.128, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1457/1.274, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.9382/0.9382, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07131/1.009, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.PKThreeCompartmentModel,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel") translateModel(Pharmacolibrary.Examples.PKThreeCompartmentModel,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.469e-05, allocations: 10.25 kB / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKThreeCompartmentModel): time 0.003637/0.003671, allocations: 2.816 MB / 0.5472 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.00512, allocations: 0.6933 MB / 0.5478 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.005296, allocations: 4 kB / 0.5478 GB, free: 27.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.327e-05/0.005379, allocations: 35.58 kB / 0.5479 GB, free: 27.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.005611, allocations: 123 kB / 0.548 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.005834, allocations: 75.78 kB / 0.5481 GB, free: 26.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004419/0.006276, allocations: 414 kB / 0.5485 GB, free: 26.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.00645, allocations: 58.86 kB / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003209/0.006771, allocations: 232.3 kB / 0.5487 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.006954, allocations: 123.6 kB / 0.5489 GB, free: 26.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.006999, allocations: 28 kB / 0.5489 GB, free: 26.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.15e-05/0.007041, allocations: 28 kB / 0.5489 GB, free: 26.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.007081, allocations: 43.88 kB / 0.5489 GB, free: 26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.007196, allocations: 103.8 kB / 0.549 GB, free: 25.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.007461, allocations: 219.2 kB / 0.5493 GB, free: 25.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-05/0.007482, allocations: 0 / 0.5493 GB, free: 25.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.007484, allocations: 0 / 0.5493 GB, free: 25.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.007505, allocations: 4 kB / 0.5493 GB, free: 25.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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008811/0.008386, allocations: 0.6346 MB / 0.5499 GB, free: 25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.008436, allocations: 19.89 kB / 0.5499 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.383e-05/0.00852, allocations: 40.91 kB / 0.5499 GB, free: 24.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.008778, allocations: 182.9 kB / 0.5501 GB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.008808, allocations: 20.88 kB / 0.5501 GB, free: 24.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.008846, allocations: 24.36 kB / 0.5502 GB, free: 24.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.009109, allocations: 253.7 kB / 0.5504 GB, free: 24.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.009127, allocations: 16.11 kB / 0.5504 GB, free: 24.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.009144, allocations: 12.38 kB / 0.5504 GB, free: 24.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.009152, allocations: 7.938 kB / 0.5504 GB, free: 24.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.009323, allocations: 190.5 kB / 0.5506 GB, free: 24.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000649/0.009972, allocations: 406.8 kB / 0.551 GB, free: 23.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.01028, allocations: 217.2 kB / 0.5512 GB, free: 23.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.08e-05/0.01035, allocations: 138.2 kB / 0.5513 GB, free: 23.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.01037, allocations: 4 kB / 0.5513 GB, free: 23.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002782/0.01065, allocations: 430.4 kB / 0.5518 GB, free: 22.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 2.605e-06/0.01065, allocations: 0 / 0.5518 GB, free: 22.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001091/0.01174, allocations: 1.089 MB / 0.5528 GB, free: 21.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.01182, allocations: 302.7 kB / 0.5531 GB, free: 21.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.01192, allocations: 171.4 kB / 0.5533 GB, free: 21.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.01195, allocations: 41.69 kB / 0.5533 GB, free: 21.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.01201, allocations: 136.8 kB / 0.5534 GB, free: 20.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/0.01208, allocations: 142.8 kB / 0.5536 GB, free: 20.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.263e-05/0.01216, allocations: 82.16 kB / 0.5537 GB, free: 20.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.874e-05/0.01222, allocations: 346.7 kB / 0.554 GB, free: 20.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.01232, allocations: 181.7 kB / 0.5542 GB, free: 20.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.01245, allocations: 297.5 kB / 0.5544 GB, free: 19.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.01266, allocations: 424.8 kB / 0.5548 GB, free: 19.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01266, allocations: 7.938 kB / 0.5549 GB, free: 19.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003107/0.01297, allocations: 481.8 kB / 0.5553 GB, free: 18.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.144e-05/0.01303, allocations: 118.8 kB / 0.5554 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.01304, allocations: 4 kB / 0.5554 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.01306, allocations: 4 kB / 0.5554 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.01335, allocations: 128.2 kB / 0.5556 GB, free: 18.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.01336, allocations: 18.62 kB / 0.5556 GB, free: 18.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.01347, allocations: 15.98 kB / 0.5556 GB, free: 18.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.01349, allocations: 16 kB / 0.5556 GB, free: 18.44 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.0001812/0.01367, allocations: 257.3 kB / 0.5559 GB, free: 18.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.01371, allocations: 39.97 kB / 0.5559 GB, free: 18.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.01375, allocations: 30.98 kB / 0.5559 GB, free: 18.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.01376, allocations: 4 kB / 0.5559 GB, free: 18.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.01376, allocations: 0 / 0.5559 GB, free: 18.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01377, allocations: 0 / 0.5559 GB, free: 18.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.0143, allocations: 0.6436 MB / 0.5566 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.0143, allocations: 0 / 0.5566 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.01454, allocations: 87.94 kB / 0.5566 GB, free: 17.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.01456, allocations: 27.83 kB / 0.5567 GB, free: 17.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.01457, allocations: 3.938 kB / 0.5567 GB, free: 17.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.01459, allocations: 11.94 kB / 0.5567 GB, free: 17.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.01459, allocations: 4 kB / 0.5567 GB, free: 17.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.0146, allocations: 0 / 0.5567 GB, free: 17.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.015, allocations: 0.6814 MB / 0.5573 GB, free: 16.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.01504, allocations: 23.56 kB / 0.5574 GB, free: 16.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.01515, allocations: 23.98 kB / 0.5574 GB, free: 16.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.01523, allocations: 31.94 kB / 0.5574 GB, free: 16.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.01524, allocations: 8 kB / 0.5574 GB, free: 16.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.976e-05/0.01529, allocations: 54.77 kB / 0.5575 GB, free: 16.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01529, allocations: 0 / 0.5575 GB, free: 16.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000222/0.01551, allocations: 100 kB / 0.5576 GB, free: 16.27 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 0.000111/0.01562, allocations: 105.1 kB / 0.5577 GB, free: 16.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003261/0.01595, allocations: 0.6286 MB / 0.5583 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/0.01596, allocations: 4 kB / 0.5583 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.01611, allocations: 380.7 kB / 0.5587 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.01642, allocations: 113.8 kB / 0.5588 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3568/0.3732, allocations: 0.7663 MB / 0.5595 GB, free: 83.96 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.956e-05/0.3733, allocations: 97.86 kB / 0.5596 GB, free: 83.89 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002282/0.3735, allocations: 35.88 kB / 0.5596 GB, free: 83.89 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.3738, allocations: 145.3 kB / 0.5598 GB, free: 83.86 MB / 410.8 MB Notification: Performance of SimCode: time 3.307e-06/0.3738, allocations: 1.062 kB / 0.5598 GB, free: 83.86 MB / 410.8 MB Notification: Performance of Templates: time 0.03843/0.4122, allocations: 5.276 MB / 0.5649 GB, free: 83.08 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.7679906738922]