Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic.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.001202/0.001202, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001691/0.002893, 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.001081/0.001081, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.002412, 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.114/1.114, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1076/1.222, 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.8107/0.8107, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03371/0.8444, allocations: 21.04 MB / 0.5431 GB, free: 31.97 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.DevModels.PKOneCompartmentModelPeriodic,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic") translateModel(Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.5444 GB, free: 30.72 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.67e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic): time 0.002013/0.002029, allocations: 2.142 MB / 0.5465 GB, free: 28.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006232/0.002653, allocations: 0.5531 MB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.49e-05/0.002717, allocations: 0 / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.544e-05/0.002773, allocations: 19.78 kB / 0.547 GB, free: 27.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.992e-05/0.002873, allocations: 59.55 kB / 0.5471 GB, free: 27.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.002976, allocations: 47.83 kB / 0.5471 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.003143, allocations: 199.1 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.003241, allocations: 30.55 kB / 0.5474 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.003372, allocations: 135.6 kB / 0.5475 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.755e-05/0.003469, allocations: 59.88 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.003494, allocations: 12 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.751e-05/0.003511, allocations: 19.94 kB / 0.5476 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.003536, allocations: 23.92 kB / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.003581, allocations: 51.94 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.003716, allocations: 107.6 kB / 0.5477 GB, free: 27.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.003728, allocations: 0 / 0.5477 GB, free: 27.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003728, allocations: 0 / 0.5477 GB, free: 27.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.00374, allocations: 0 / 0.5477 GB, free: 27.25 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.0004968/0.004237, allocations: 441.7 kB / 0.5482 GB, free: 26.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.004273, allocations: 15.89 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.004313, allocations: 20.92 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.004459, allocations: 161.2 kB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.004476, allocations: 8.375 kB / 0.5484 GB, free: 26.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.004498, allocations: 12.38 kB / 0.5484 GB, free: 26.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.004631, allocations: 129.7 kB / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.00464, allocations: 3.938 kB / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.004651, allocations: 4 kB / 0.5485 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.004655, allocations: 0 / 0.5485 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.745e-05/0.004723, allocations: 73.59 kB / 0.5486 GB, free: 26.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.005018, allocations: 252 kB / 0.5488 GB, free: 26.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.005181, allocations: 108.2 kB / 0.5489 GB, free: 25.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.005216, allocations: 58.55 kB / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.365e-06/0.005224, allocations: 0 / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.005353, allocations: 191.8 kB / 0.5492 GB, free: 25.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.092e-06/0.005354, allocations: 0 / 0.5492 GB, free: 25.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.000486/0.00584, allocations: 0.5003 MB / 0.5496 GB, free: 25.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.005869, allocations: 140.5 kB / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.766e-05/0.005927, allocations: 150.6 kB / 0.5499 GB, free: 24.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.005939, allocations: 33.7 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.005965, allocations: 100.5 kB / 0.5501 GB, free: 24.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.005994, allocations: 71.41 kB / 0.5501 GB, free: 24.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.006034, allocations: 49.92 kB / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.291e-05/0.006067, allocations: 330.8 kB / 0.5505 GB, free: 24.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/0.006113, allocations: 89.72 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.389e-05/0.006167, allocations: 163 kB / 0.5507 GB, free: 23.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.522e-05/0.006252, allocations: 191.9 kB / 0.5509 GB, free: 23.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.006254, allocations: 7.922 kB / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001344/0.006388, allocations: 249.2 kB / 0.5512 GB, free: 23.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.006417, allocations: 63.41 kB / 0.5512 GB, free: 23.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.006422, allocations: 4.094 kB / 0.5512 GB, free: 23.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.006432, allocations: 8 kB / 0.5512 GB, free: 23.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.006567, allocations: 59.89 kB / 0.5513 GB, free: 23.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.00657, allocations: 0 / 0.5513 GB, free: 23.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/0.006635, allocations: 15.98 kB / 0.5513 GB, free: 23.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.006643, allocations: 8 kB / 0.5513 GB, free: 23.2 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: 6 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$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 9.451e-05/0.006738, allocations: 166.1 kB / 0.5515 GB, free: 23.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.006755, allocations: 23.98 kB / 0.5515 GB, free: 23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.006782, allocations: 17.06 kB / 0.5515 GB, free: 22.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.006785, allocations: 7.984 kB / 0.5515 GB, free: 22.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.006788, allocations: 0 / 0.5515 GB, free: 22.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.006792, allocations: 0 / 0.5515 GB, free: 22.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.007016, allocations: 352.9 kB / 0.5518 GB, free: 22.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007018, allocations: 0 / 0.5518 GB, free: 22.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.007127, allocations: 47.84 kB / 0.5519 GB, free: 22.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.007141, allocations: 11.91 kB / 0.5519 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007143, allocations: 2.75 kB / 0.5519 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.007153, allocations: 15.92 kB / 0.5519 GB, free: 22.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007155, allocations: 0 / 0.5519 GB, free: 22.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007156, allocations: 0 / 0.5519 GB, free: 22.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.007332, allocations: 344.4 kB / 0.5522 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.007353, allocations: 11.98 kB / 0.5523 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.007415, allocations: 8 kB / 0.5523 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.007459, allocations: 19.95 kB / 0.5523 GB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.007466, allocations: 11.98 kB / 0.5523 GB, free: 22.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.249e-05/0.007489, allocations: 32.22 kB / 0.5523 GB, free: 22.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007489, allocations: 4 kB / 0.5523 GB, free: 22.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001511/0.00764, allocations: 44 kB / 0.5524 GB, free: 22.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.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 5.981e-05/0.0077, allocations: 88.41 kB / 0.5525 GB, free: 21.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.007847, allocations: 296.6 kB / 0.5527 GB, free: 21.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.007853, allocations: 7.984 kB / 0.5527 GB, free: 21.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.943e-05/0.007913, allocations: 141.9 kB / 0.5529 GB, free: 21.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.008093, allocations: 66.73 kB / 0.5529 GB, free: 21.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.01186, allocations: 475.3 kB / 0.5534 GB, free: 20.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.199e-05/0.0119, allocations: 75.98 kB / 0.5535 GB, free: 20.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.564e-05/0.01195, allocations: 13.48 kB / 0.5535 GB, free: 20.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.995e-05/0.01205, allocations: 95.36 kB / 0.5536 GB, free: 20.67 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01205, allocations: 0 / 0.5536 GB, free: 20.67 MB / 410.7 MB Notification: Performance of Templates: time 0.003882/0.01593, allocations: 2.805 MB / 0.5563 GB, free: 17.94 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.51779414806515]