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.0009892/0.0009892, allocations: 80.88 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.0009925/0.0009925, 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 0.9984/0.9984, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.674/1.674, allocations: 273.5 MB / 0.5213 GB, free: 14.64 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.713e-06/1.713e-06, allocations: 0 / 0.5954 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.461e-05, allocations: 2.312 kB / 0.5954 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic): time 0.002098/0.002113, allocations: 2.098 MB / 0.5975 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007033/0.002816, allocations: 0.5393 MB / 0.598 GB, free: 60 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.208e-05/0.002878, allocations: 3.938 kB / 0.598 GB, free: 56 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.331e-05/0.002972, allocations: 19.84 kB / 0.598 GB, free: 36 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.003097, allocations: 55.77 kB / 0.5981 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.003247, allocations: 51.88 kB / 0.5981 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.003432, allocations: 186.6 kB / 0.5983 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.003524, allocations: 38.48 kB / 0.5983 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.003635, allocations: 99.78 kB / 0.5984 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.54e-05/0.00373, allocations: 57.61 kB / 0.5985 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.003754, allocations: 16 kB / 0.5985 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.817e-05/0.003773, allocations: 20 kB / 0.5985 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.003801, allocations: 26.11 kB / 0.5986 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.003854, allocations: 59.83 kB / 0.5986 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.003991, allocations: 119.6 kB / 0.5987 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003992, allocations: 0 / 0.5987 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003993, allocations: 0 / 0.5987 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.003996, allocations: 0 / 0.5987 GB, free: 15.4 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.0004121/0.004408, allocations: 399.7 kB / 0.5991 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.632e-05/0.004435, allocations: 8.031 kB / 0.5991 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.00447, allocations: 24.92 kB / 0.5991 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.00459, allocations: 137.6 kB / 0.5993 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.004605, allocations: 12.38 kB / 0.5993 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.004626, allocations: 16.31 kB / 0.5993 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.004768, allocations: 141.2 kB / 0.5994 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.004778, allocations: 7.938 kB / 0.5994 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.004786, allocations: 0 / 0.5994 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.004791, allocations: 4 kB / 0.5994 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.146e-05/0.004862, allocations: 74.52 kB / 0.5995 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.005167, allocations: 263.9 kB / 0.5998 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.00527, allocations: 108.2 kB / 0.5999 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.005312, allocations: 50.55 kB / 0.5999 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.00532, allocations: 4 kB / 0.5999 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.005463, allocations: 203.1 kB / 0.6001 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.005465, allocations: 0 / 0.6001 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.0005227/0.005987, allocations: 0.489 MB / 0.6006 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.006032, allocations: 140.5 kB / 0.6007 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.922e-05/0.006101, allocations: 140.9 kB / 0.6009 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.006117, allocations: 33.7 kB / 0.6009 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.006156, allocations: 104.5 kB / 0.601 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.00619, allocations: 75.39 kB / 0.6011 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.006238, allocations: 49.67 kB / 0.6011 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.006312, allocations: 326.8 kB / 0.6014 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.602e-05/0.006368, allocations: 96.52 kB / 0.6015 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/0.006445, allocations: 168.3 kB / 0.6017 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.006604, allocations: 292.7 kB / 0.602 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.006605, allocations: 0 / 0.602 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001681/0.006773, allocations: 254.3 kB / 0.6022 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.006803, allocations: 67.39 kB / 0.6023 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.006808, allocations: 4 kB / 0.6023 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.904e-06/0.006816, allocations: 0 / 0.6023 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.006967, allocations: 60.56 kB / 0.6023 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.006971, allocations: 4 kB / 0.6023 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.007035, allocations: 15.98 kB / 0.6023 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.007046, allocations: 8 kB / 0.6024 GB, free: 11.27 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.0001212/0.007167, allocations: 181 kB / 0.6025 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.007186, allocations: 19.98 kB / 0.6025 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.007215, allocations: 13.28 kB / 0.6026 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.007217, allocations: 4 kB / 0.6026 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.007219, allocations: 7.562 kB / 0.6026 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.007223, allocations: 0 / 0.6026 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.007476, allocations: 358.3 kB / 0.6029 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.007479, allocations: 4 kB / 0.6029 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.007593, allocations: 39.91 kB / 0.603 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.007594, allocations: 0 / 0.603 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.007607, allocations: 8 kB / 0.603 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.007609, allocations: 3.75 kB / 0.603 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.007611, allocations: 3.984 kB / 0.603 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.007815, allocations: 348.8 kB / 0.6033 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.007829, allocations: 11.91 kB / 0.6033 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.007849, allocations: 8 kB / 0.6033 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.344e-05/0.007912, allocations: 11.98 kB / 0.6033 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.007954, allocations: 19.97 kB / 0.6033 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.007962, allocations: 4 kB / 0.6034 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.526e-05/0.007987, allocations: 35.22 kB / 0.6034 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007987, allocations: 0 / 0.6034 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001529/0.00814, allocations: 51.94 kB / 0.6034 GB, free: 10.07 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.889e-05/0.008219, allocations: 103.3 kB / 0.6035 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001976/0.008417, allocations: 299.2 kB / 0.6038 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.00842, allocations: 0 / 0.6038 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.279e-05/0.008512, allocations: 143.9 kB / 0.604 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.008687, allocations: 40.34 kB / 0.604 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.009694, allocations: 0.4999 MB / 0.6045 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.845e-05/0.009743, allocations: 75.98 kB / 0.6046 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.609e-05/0.009799, allocations: 17.48 kB / 0.6046 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.009914, allocations: 99.34 kB / 0.6047 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/0.009914, allocations: 0 / 0.6047 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of Templates: time 0.003905/0.01382, allocations: 2.693 MB / 0.6073 GB, free: 6.145 MB / 0.5261 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.741250690072775]