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.001086/0.001086, allocations: 91.55 kB / 20.19 MB, free: 4.352 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.001187/0.001187, allocations: 169 kB / 23.5 MB, free: 1.047 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 0.9662/0.9662, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.623/1.623, allocations: 273.5 MB / 0.5213 GB, free: 14.84 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.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.473e-06/1.473e-06, allocations: 0 / 0.647 GB, free: 38.7 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.403e-05, allocations: 5.406 kB / 0.647 GB, free: 38.7 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic): time 0.001966/0.00198, allocations: 2.037 MB / 0.649 GB, free: 37.37 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0006778/0.002658, allocations: 0.5423 MB / 0.6495 GB, free: 37.01 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.002734, allocations: 5.625 kB / 0.6495 GB, free: 37.01 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.002844, allocations: 16.66 kB / 0.6495 GB, free: 37 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.002981, allocations: 53.69 kB / 0.6496 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.003143, allocations: 43.69 kB / 0.6496 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.003355, allocations: 189.6 kB / 0.6498 GB, free: 36.9 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.00347, allocations: 32.47 kB / 0.6498 GB, free: 36.88 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.003592, allocations: 107 kB / 0.6499 GB, free: 36.83 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.003693, allocations: 58.62 kB / 0.65 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.00372, allocations: 12.91 kB / 0.65 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.972e-05/0.00374, allocations: 17.38 kB / 0.65 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.096e-05/0.003771, allocations: 32.34 kB / 0.65 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.003832, allocations: 60.66 kB / 0.6501 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.003984, allocations: 115.7 kB / 0.6502 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003986, allocations: 0 / 0.6502 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003987, allocations: 0 / 0.6502 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.003991, allocations: 0 / 0.6502 GB, free: 36.71 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.0005079/0.004499, allocations: 0.5209 MB / 0.6507 GB, free: 36.22 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.004534, allocations: 8.094 kB / 0.6507 GB, free: 36.22 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.004592, allocations: 33.91 kB / 0.6507 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.004727, allocations: 154 kB / 0.6509 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.00474, allocations: 10.25 kB / 0.6509 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.00477, allocations: 22.02 kB / 0.6509 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.004949, allocations: 144.3 kB / 0.6511 GB, free: 35.94 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.004961, allocations: 3.938 kB / 0.6511 GB, free: 35.94 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.004974, allocations: 2.969 kB / 0.6511 GB, free: 35.94 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.004983, allocations: 3.25 kB / 0.6511 GB, free: 35.94 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.795e-05/0.005081, allocations: 86.38 kB / 0.6512 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.005506, allocations: 399.7 kB / 0.6515 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.005649, allocations: 114.4 kB / 0.6516 GB, free: 35.49 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.833e-05/0.005707, allocations: 67.11 kB / 0.6517 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.005716, allocations: 5.312 kB / 0.6517 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.005872, allocations: 204.8 kB / 0.6519 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.005874, allocations: 0 / 0.6519 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of matching and sorting (n=21): time 0.0006722/0.006546, allocations: 0.5736 MB / 0.6525 GB, free: 34.85 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.006574, allocations: 136.5 kB / 0.6526 GB, free: 34.69 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.006664, allocations: 207.9 kB / 0.6528 GB, free: 34.51 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.006676, allocations: 27.98 kB / 0.6528 GB, free: 34.48 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.006719, allocations: 161.7 kB / 0.653 GB, free: 34.33 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.006752, allocations: 71.09 kB / 0.653 GB, free: 34.27 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.006802, allocations: 48.42 kB / 0.6531 GB, free: 34.24 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.056e-05/0.006853, allocations: 0.4994 MB / 0.6536 GB, free: 33.74 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.325e-05/0.006926, allocations: 103.3 kB / 0.6537 GB, free: 33.66 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.025e-05/0.007016, allocations: 198.1 kB / 0.6539 GB, free: 33.45 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.007217, allocations: 322 kB / 0.6542 GB, free: 33.17 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.007218, allocations: 0 / 0.6542 GB, free: 33.17 MB / 0.5262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002405/0.007459, allocations: 317.1 kB / 0.6545 GB, free: 32.95 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.007483, allocations: 64.62 kB / 0.6545 GB, free: 32.89 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.007488, allocations: 2.812 kB / 0.6545 GB, free: 32.89 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.007504, allocations: 3.219 kB / 0.6545 GB, free: 32.89 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.007644, allocations: 50.77 kB / 0.6546 GB, free: 32.88 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.007653, allocations: 5.719 kB / 0.6546 GB, free: 32.88 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.343e-05/0.007727, allocations: 18.56 kB / 0.6546 GB, free: 32.88 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.007739, allocations: 11.59 kB / 0.6546 GB, free: 32.87 MB / 0.5262 GB Warning: Assuming fixed start value for the following 6 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" 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.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.central.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,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 (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.0001234/0.007863, allocations: 229 kB / 0.6548 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.007886, allocations: 25.81 kB / 0.6549 GB, free: 32.65 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.007912, allocations: 16.09 kB / 0.6549 GB, free: 32.64 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.007918, allocations: 5.625 kB / 0.6549 GB, free: 32.64 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.007918, allocations: 0 / 0.6549 GB, free: 32.64 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.007933, allocations: 11.58 kB / 0.6549 GB, free: 32.63 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.007957, allocations: 9.125 kB / 0.6549 GB, free: 32.63 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.761e-05/0.008004, allocations: 13.48 kB / 0.6549 GB, free: 32.62 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.008064, allocations: 19.53 kB / 0.6549 GB, free: 32.62 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002846/0.008349, allocations: 376.3 kB / 0.6553 GB, free: 32.36 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002911/0.00864, allocations: 0.5555 MB / 0.6558 GB, free: 31.92 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.689e-05/0.008717, allocations: 90.56 kB / 0.6559 GB, free: 31.86 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.008756, allocations: 146.1 kB / 0.6561 GB, free: 31.74 MB / 0.5262 GB Notification: Performance of Backend: time 1.4e-07/0.008756, allocations: 0 / 0.6561 GB, free: 31.74 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000393/0.009149, allocations: 350.6 kB / 0.6564 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001221/0.01037, allocations: 1.258 MB / 0.6576 GB, free: 30.34 MB / 0.5262 GB Notification: Performance of Templates: time 0.004077/0.01445, allocations: 2.659 MB / 0.6602 GB, free: 30.14 MB / 0.5262 GB " [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: 4.784683012869209]