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.001003/0.001003, 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.001016/0.001016, 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.9428/0.9428, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.691/1.691, 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.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.673e-06/1.673e-06, allocations: 0 / 0.5954 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.819e-05, allocations: 6.312 kB / 0.5954 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic): time 0.003276/0.003304, allocations: 2.091 MB / 0.5975 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.004307, allocations: 0.5506 MB / 0.598 GB, free: 68 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.228e-05/0.00439, allocations: 0 / 0.598 GB, free: 68 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.004508, allocations: 19.8 kB / 0.598 GB, free: 48 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.004665, allocations: 48 kB / 0.5981 GB, free: 16 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.004879, allocations: 47.95 kB / 0.5981 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.005126, allocations: 190.7 kB / 0.5983 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.005251, allocations: 34.55 kB / 0.5983 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.005422, allocations: 99.67 kB / 0.5984 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.005561, allocations: 58.39 kB / 0.5985 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.005595, allocations: 16 kB / 0.5985 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.626e-05/0.005621, allocations: 16 kB / 0.5985 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/0.005667, allocations: 34.62 kB / 0.5986 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.29e-05/0.005739, allocations: 55.84 kB / 0.5986 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.005939, allocations: 119.6 kB / 0.5987 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.005943, allocations: 0 / 0.5987 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005944, allocations: 0 / 0.5987 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.005948, allocations: 4 kB / 0.5987 GB, free: 15.42 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.0006187/0.006567, allocations: 407.7 kB / 0.5991 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.006604, allocations: 8.031 kB / 0.5991 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.006661, allocations: 24.92 kB / 0.5991 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.006843, allocations: 129.6 kB / 0.5993 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.006869, allocations: 16.36 kB / 0.5993 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.006898, allocations: 8.375 kB / 0.5993 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.007129, allocations: 140.6 kB / 0.5994 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.007144, allocations: 7.938 kB / 0.5994 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.007158, allocations: 4 kB / 0.5994 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.007166, allocations: 4 kB / 0.5994 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.007381, allocations: 70.25 kB / 0.5995 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.007852, allocations: 259.9 kB / 0.5998 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.007988, allocations: 111.7 kB / 0.5999 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.008032, allocations: 58.42 kB / 0.5999 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.008041, allocations: 4 kB / 0.5999 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.008229, allocations: 192.4 kB / 0.6001 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.00823, allocations: 0 / 0.6001 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.0012/0.00943, allocations: 0.4968 MB / 0.6006 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.009481, allocations: 132.5 kB / 0.6007 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.916e-05/0.00957, allocations: 148.7 kB / 0.6009 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.009588, allocations: 33.7 kB / 0.6009 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.009631, allocations: 104.5 kB / 0.601 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.009669, allocations: 75.41 kB / 0.6011 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.009722, allocations: 45.69 kB / 0.6011 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.682e-05/0.009799, allocations: 330.8 kB / 0.6014 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.313e-05/0.009862, allocations: 100.7 kB / 0.6015 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.618e-05/0.009948, allocations: 156.4 kB / 0.6017 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.01014, allocations: 296 kB / 0.6019 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01014, allocations: 4 kB / 0.602 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001843/0.01032, allocations: 244.8 kB / 0.6022 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.01036, allocations: 63.41 kB / 0.6022 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01037, allocations: 4 kB / 0.6023 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.01039, allocations: 0 / 0.6023 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.01056, allocations: 63.89 kB / 0.6023 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.01056, allocations: 192 / 0.6023 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.358e-05/0.01064, allocations: 16 kB / 0.6023 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.01065, allocations: 15.98 kB / 0.6023 GB, free: 11.29 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.0001669/0.01082, allocations: 181 kB / 0.6025 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.01084, allocations: 19.92 kB / 0.6025 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.01088, allocations: 21.28 kB / 0.6026 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01088, allocations: 3.938 kB / 0.6026 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.01088, allocations: 0 / 0.6026 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01089, allocations: 3.984 kB / 0.6026 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.01121, allocations: 350.4 kB / 0.6029 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.01122, allocations: 3.562 kB / 0.6029 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.01136, allocations: 45.38 kB / 0.6029 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01136, allocations: 4 kB / 0.6029 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.01138, allocations: 11.98 kB / 0.603 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01138, allocations: 0 / 0.603 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01138, allocations: 0 / 0.603 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.01163, allocations: 341.5 kB / 0.6033 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.01165, allocations: 11.91 kB / 0.6033 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.01167, allocations: 8 kB / 0.6033 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.01174, allocations: 11.98 kB / 0.6033 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.01179, allocations: 15.97 kB / 0.6033 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.0118, allocations: 11.98 kB / 0.6033 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.709e-05/0.01183, allocations: 34.89 kB / 0.6034 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01183, allocations: 0 / 0.6034 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000175/0.01201, allocations: 51.88 kB / 0.6034 GB, free: 10.09 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 9.904e-05/0.0121, allocations: 90.59 kB / 0.6035 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.01233, allocations: 303.5 kB / 0.6038 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.01233, allocations: 0 / 0.6038 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.069e-05/0.01242, allocations: 145.9 kB / 0.6039 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.01263, allocations: 40.34 kB / 0.604 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.01375, allocations: 0.4965 MB / 0.6045 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.404e-05/0.01381, allocations: 75.98 kB / 0.6045 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.992e-05/0.01387, allocations: 13.48 kB / 0.6045 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.014, allocations: 103.3 kB / 0.6046 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/0.014, allocations: 0 / 0.6046 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of Templates: time 0.005008/0.01901, allocations: 2.699 MB / 0.6073 GB, free: 6.172 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.820786850061268]