Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.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.0008916/0.0008916, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0008803/0.0008803, allocations: 173 kB / 23.49 MB, free: 1.055 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.9288/0.9288, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.582/1.582, allocations: 273.5 MB / 0.5213 GB, free: 14.82 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.Examples.PKOneCompartmentModelPeriodic,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic") translateModel(Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.647 GB, free: 38.68 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.425e-05, allocations: 3.562 kB / 0.647 GB, free: 38.68 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic): time 0.002357/0.002381, allocations: 2.043 MB / 0.649 GB, free: 37.35 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0007684/0.00315, allocations: 0.5421 MB / 0.6495 GB, free: 36.99 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.365e-05/0.003233, allocations: 1.406 kB / 0.6495 GB, free: 36.99 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.003347, allocations: 17.05 kB / 0.6495 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.003478, allocations: 57.23 kB / 0.6496 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.003641, allocations: 42.19 kB / 0.6496 GB, free: 36.93 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.003883, allocations: 196.8 kB / 0.6498 GB, free: 36.88 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.004007, allocations: 30.72 kB / 0.6498 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.004141, allocations: 103.3 kB / 0.6499 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.004248, allocations: 60.47 kB / 0.65 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.00428, allocations: 13.81 kB / 0.65 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.214e-05/0.004302, allocations: 15.19 kB / 0.65 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.277e-05/0.004335, allocations: 32.05 kB / 0.65 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/0.004398, allocations: 53.97 kB / 0.6501 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.004567, allocations: 121.6 kB / 0.6502 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.00457, allocations: 6.219 kB / 0.6502 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.183e-06/0.004572, allocations: 1.312 kB / 0.6502 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.004577, allocations: 0 / 0.6502 GB, free: 36.68 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.0005485/0.005126, allocations: 0.5158 MB / 0.6507 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.005163, allocations: 10.16 kB / 0.6507 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.00523, allocations: 26.06 kB / 0.6507 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.005388, allocations: 160.4 kB / 0.6509 GB, free: 36.02 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.005401, allocations: 6.031 kB / 0.6509 GB, free: 36.02 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.005429, allocations: 13.72 kB / 0.6509 GB, free: 36.02 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.005631, allocations: 146.4 kB / 0.6511 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.005642, allocations: 11.28 kB / 0.6511 GB, free: 35.92 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.005656, allocations: 6.375 kB / 0.6511 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.005665, allocations: 1.5 kB / 0.6511 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.005769, allocations: 81.08 kB / 0.6512 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.006231, allocations: 402.4 kB / 0.6515 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.006388, allocations: 120.9 kB / 0.6517 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.006446, allocations: 62.84 kB / 0.6517 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.006456, allocations: 1.844 kB / 0.6517 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.006635, allocations: 203.7 kB / 0.6519 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=20): time 2.284e-06/0.006637, allocations: 0 / 0.6519 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of matching and sorting (n=21): time 0.0007379/0.007375, allocations: 0.5784 MB / 0.6525 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.007412, allocations: 136.4 kB / 0.6526 GB, free: 34.66 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.795e-05/0.00751, allocations: 199 kB / 0.6528 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.007526, allocations: 38.08 kB / 0.6528 GB, free: 34.45 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.00757, allocations: 155.8 kB / 0.653 GB, free: 34.3 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.007605, allocations: 69.75 kB / 0.653 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.007661, allocations: 53.03 kB / 0.6531 GB, free: 34.21 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.007708, allocations: 0.4967 MB / 0.6536 GB, free: 33.71 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.43e-05/0.007792, allocations: 103.9 kB / 0.6537 GB, free: 33.63 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.906e-05/0.007891, allocations: 200.6 kB / 0.6539 GB, free: 33.43 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.008104, allocations: 316.2 kB / 0.6542 GB, free: 33.15 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.008105, allocations: 0 / 0.6542 GB, free: 33.15 MB / 0.5262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002728/0.008378, allocations: 319.7 kB / 0.6545 GB, free: 32.93 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.008407, allocations: 63.42 kB / 0.6545 GB, free: 32.87 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.008413, allocations: 6.484 kB / 0.6545 GB, free: 32.87 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.00843, allocations: 4.094 kB / 0.6545 GB, free: 32.87 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.008578, allocations: 52.67 kB / 0.6546 GB, free: 32.86 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.008587, allocations: 6.219 kB / 0.6546 GB, free: 32.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.127e-05/0.008668, allocations: 18.06 kB / 0.6546 GB, free: 32.85 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.008681, allocations: 8.375 kB / 0.6546 GB, free: 32.85 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.000156/0.008837, allocations: 223.5 kB / 0.6548 GB, free: 32.64 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.008865, allocations: 29.05 kB / 0.6549 GB, free: 32.63 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.008897, allocations: 17.31 kB / 0.6549 GB, free: 32.62 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.0089, allocations: 1.531 kB / 0.6549 GB, free: 32.62 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.008905, allocations: 0 / 0.6549 GB, free: 32.62 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.008909, allocations: 5.906 kB / 0.6549 GB, free: 32.62 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.009293, allocations: 0.5259 MB / 0.6554 GB, free: 32.19 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.009295, allocations: 1 kB / 0.6554 GB, free: 32.19 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.009417, allocations: 32.36 kB / 0.6554 GB, free: 32.19 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.009421, allocations: 7 kB / 0.6554 GB, free: 32.18 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.009436, allocations: 6.641 kB / 0.6555 GB, free: 32.18 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.00944, allocations: 5.062 kB / 0.6555 GB, free: 32.18 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.009441, allocations: 0 / 0.6555 GB, free: 32.18 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.009751, allocations: 455.8 kB / 0.6559 GB, free: 31.85 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.009769, allocations: 19.73 kB / 0.6559 GB, free: 31.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.009795, allocations: 7.75 kB / 0.6559 GB, free: 31.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.009873, allocations: 17.33 kB / 0.6559 GB, free: 31.83 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.009935, allocations: 18.39 kB / 0.656 GB, free: 31.83 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.009946, allocations: 3.844 kB / 0.656 GB, free: 31.83 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 4.933e-05/0.009996, allocations: 159.3 kB / 0.6561 GB, free: 31.7 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.009996, allocations: 0 / 0.6561 GB, free: 31.7 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002123/0.01021, allocations: 43.56 kB / 0.6561 GB, free: 31.7 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.variableDose.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 (18): * Single equations (assignments): 15 * 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 8.969e-05/0.0103, allocations: 105.4 kB / 0.6562 GB, free: 31.61 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002941/0.01059, allocations: 318.7 kB / 0.6566 GB, free: 31.35 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01059, allocations: 0 / 0.6566 GB, free: 31.35 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 9.278e-05/0.01069, allocations: 156.6 kB / 0.6567 GB, free: 31.23 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.01097, allocations: 53.62 kB / 0.6568 GB, free: 31.21 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.01229, allocations: 0.5703 MB / 0.6573 GB, free: 30.87 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.148e-05/0.01233, allocations: 85.55 kB / 0.6574 GB, free: 30.79 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 6.784e-05/0.0124, allocations: 12.08 kB / 0.6574 GB, free: 30.79 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.01246, allocations: 18.28 kB / 0.6574 GB, free: 30.78 MB / 0.5262 GB Notification: Performance of SimCode: time 1.193e-06/0.01246, allocations: 0.5625 kB / 0.6574 GB, free: 30.78 MB / 0.5262 GB Notification: Performance of Templates: time 0.004727/0.01718, allocations: 2.502 MB / 0.6599 GB, free: 30.57 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.692367074079812]