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.001021/0.001021, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001069/0.001069, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.017/1.017, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.556/1.556, allocations: 273.5 MB / 0.5213 GB, free: 14.65 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.523e-06/1.523e-06, allocations: 1.312 kB / 0.5954 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.342e-05, allocations: 2.312 kB / 0.5954 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic): time 0.002358/0.002381, allocations: 2.054 MB / 0.5974 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006839/0.003065, allocations: 0.5453 MB / 0.5979 GB, free: 168 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.551e-05/0.003131, allocations: 5.312 kB / 0.5979 GB, free: 164 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.894e-05/0.00323, allocations: 19.78 kB / 0.5979 GB, free: 144 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.003352, allocations: 43.3 kB / 0.598 GB, free: 116 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.003488, allocations: 49.19 kB / 0.598 GB, free: 68 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.003684, allocations: 190.3 kB / 0.5982 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.003786, allocations: 34.48 kB / 0.5982 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.003903, allocations: 98.38 kB / 0.5983 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.733e-05/0.004, allocations: 66.48 kB / 0.5984 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.004023, allocations: 12 kB / 0.5984 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.00404, allocations: 16 kB / 0.5984 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.004074, allocations: 31.95 kB / 0.5985 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.004126, allocations: 55.89 kB / 0.5985 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.004259, allocations: 123.5 kB / 0.5986 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.004261, allocations: 0 / 0.5986 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.563e-06/0.004262, allocations: 4 kB / 0.5986 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.004265, allocations: 0 / 0.5986 GB, free: 15.51 MB / 0.5261 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.0004351/0.0047, allocations: 403.7 kB / 0.599 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.004731, allocations: 12.03 kB / 0.599 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.004768, allocations: 16.92 kB / 0.599 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.00489, allocations: 142.2 kB / 0.5992 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.004905, allocations: 4.375 kB / 0.5992 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.004929, allocations: 16.36 kB / 0.5992 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.005074, allocations: 142.1 kB / 0.5993 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.005084, allocations: 3.938 kB / 0.5993 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.005093, allocations: 4 kB / 0.5993 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.005098, allocations: 8 kB / 0.5994 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.475e-05/0.005173, allocations: 73.53 kB / 0.5994 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.005787, allocations: 259.6 kB / 0.5997 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.005891, allocations: 104.2 kB / 0.5998 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.005928, allocations: 54.55 kB / 0.5998 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.005937, allocations: 7.938 kB / 0.5998 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/0.006073, allocations: 190.8 kB / 0.6 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.006074, allocations: 4 kB / 0.6 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.0005367/0.006611, allocations: 0.4937 MB / 0.6005 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.006656, allocations: 136.5 kB / 0.6006 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.219e-05/0.006729, allocations: 144.7 kB / 0.6008 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.006746, allocations: 33.7 kB / 0.6008 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.006781, allocations: 104.5 kB / 0.6009 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.006818, allocations: 75.39 kB / 0.601 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.006863, allocations: 41.69 kB / 0.601 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.006934, allocations: 334.8 kB / 0.6013 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.733e-05/0.006992, allocations: 104.6 kB / 0.6014 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.442e-05/0.007066, allocations: 156.4 kB / 0.6016 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.007224, allocations: 295.2 kB / 0.6019 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.007225, allocations: 0 / 0.6019 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001605/0.007386, allocations: 252.2 kB / 0.6021 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.007414, allocations: 63.39 kB / 0.6022 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007418, allocations: 4 kB / 0.6022 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.007429, allocations: 4 kB / 0.6022 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.007546, allocations: 51.84 kB / 0.6022 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.00755, allocations: 4 kB / 0.6022 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.007615, allocations: 12 kB / 0.6022 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.007628, allocations: 20.17 kB / 0.6023 GB, free: 11.39 MB / 0.5261 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.0001175/0.007746, allocations: 175.5 kB / 0.6024 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.007764, allocations: 15.98 kB / 0.6024 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.007788, allocations: 21.28 kB / 0.6025 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.00779, allocations: 4 kB / 0.6025 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.007791, allocations: 0 / 0.6025 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.007796, allocations: 3.984 kB / 0.6025 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.00804, allocations: 354.2 kB / 0.6028 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008041, allocations: 0 / 0.6028 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.189e-05/0.008133, allocations: 35.97 kB / 0.6028 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.008137, allocations: 7.875 kB / 0.6028 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.008146, allocations: 4 kB / 0.6028 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.008147, allocations: 4 kB / 0.6029 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.008148, allocations: 4 kB / 0.6029 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.008344, allocations: 341.4 kB / 0.6032 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.008359, allocations: 19.88 kB / 0.6032 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.008378, allocations: 4 kB / 0.6032 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.008441, allocations: 8 kB / 0.6032 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.008483, allocations: 23.95 kB / 0.6032 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.00849, allocations: 4 kB / 0.6032 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.451e-05/0.008515, allocations: 30.91 kB / 0.6033 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.008515, allocations: 0 / 0.6033 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001495/0.008664, allocations: 44 kB / 0.6033 GB, free: 10.21 MB / 0.5261 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 7.283e-05/0.008737, allocations: 104 kB / 0.6034 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.008917, allocations: 311.4 kB / 0.6037 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.008919, allocations: 0 / 0.6037 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.648e-05/0.008996, allocations: 141.9 kB / 0.6038 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.009167, allocations: 44.28 kB / 0.6039 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009438/0.01011, allocations: 0.4969 MB / 0.6044 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.701e-05/0.01015, allocations: 72 kB / 0.6044 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.521e-05/0.01019, allocations: 17.48 kB / 0.6045 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.839e-05/0.01029, allocations: 91.34 kB / 0.6045 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of SimCode: time 4.01e-07/0.01029, allocations: 0 / 0.6045 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of Templates: time 0.00396/0.01425, allocations: 2.654 MB / 0.6071 GB, free: 6.324 MB / 0.5261 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.704640929121524]