Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.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.001569/0.001569, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001698/0.001698, allocations: 169 kB / 23.02 MB, free: 1.547 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.9339/0.9339, allocations: 177.1 MB / 203.4 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.557/1.557, allocations: 273.5 MB / 0.5209 GB, free: 14.8 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.Pharmacokinetic.Models.PK_2C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_2C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.647 GB, free: 38.55 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.92e-05, allocations: 4.594 kB / 0.647 GB, free: 38.55 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_2C): time 0.002628/0.002648, allocations: 2.715 MB / 0.6496 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0007392/0.003387, allocations: 0.6854 MB / 0.6503 GB, free: 36.34 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.621e-05/0.003473, allocations: 2.281 kB / 0.6503 GB, free: 36.34 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.003592, allocations: 40.91 kB / 0.6503 GB, free: 36.31 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.003768, allocations: 104.4 kB / 0.6504 GB, free: 36.27 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.003974, allocations: 80.09 kB / 0.6505 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.004232, allocations: 364.5 kB / 0.6509 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.004358, allocations: 57.94 kB / 0.6509 GB, free: 36.02 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.0045, allocations: 187.3 kB / 0.6511 GB, free: 35.95 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.004683, allocations: 114.9 kB / 0.6512 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.004716, allocations: 23.78 kB / 0.6512 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.389e-05/0.00475, allocations: 23.47 kB / 0.6513 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.004785, allocations: 58.58 kB / 0.6513 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 8.356e-05/0.004868, allocations: 110.9 kB / 0.6514 GB, free: 35.83 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.005066, allocations: 208.9 kB / 0.6516 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.005068, allocations: 3.938 kB / 0.6516 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of FrontEnd: time 6.91e-07/0.005068, allocations: 0 / 0.6516 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.005073, allocations: 1.438 kB / 0.6516 GB, free: 35.73 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006322/0.005705, allocations: 0.674 MB / 0.6523 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.005742, allocations: 8.062 kB / 0.6523 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.777e-05/0.00582, allocations: 51.03 kB / 0.6523 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.006012, allocations: 201.7 kB / 0.6525 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.006038, allocations: 18.66 kB / 0.6526 GB, free: 34.93 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.006072, allocations: 25.98 kB / 0.6526 GB, free: 34.91 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.006344, allocations: 267.3 kB / 0.6528 GB, free: 34.74 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.006359, allocations: 5.594 kB / 0.6528 GB, free: 34.74 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.006375, allocations: 6.219 kB / 0.6528 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.006385, allocations: 6.969 kB / 0.6528 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.006536, allocations: 156.7 kB / 0.653 GB, free: 34.66 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006592/0.007195, allocations: 0.7486 MB / 0.6537 GB, free: 34.08 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.007365, allocations: 176 kB / 0.6539 GB, free: 33.96 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.711e-05/0.007442, allocations: 116.9 kB / 0.654 GB, free: 33.88 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.007453, allocations: 3.688 kB / 0.654 GB, free: 33.88 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.007681, allocations: 330.1 kB / 0.6543 GB, free: 33.61 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.007683, allocations: 1.094 kB / 0.6543 GB, free: 33.61 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35): time 0.0009682/0.008651, allocations: 0.9371 MB / 0.6552 GB, free: 32.95 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.008698, allocations: 220.4 kB / 0.6555 GB, free: 32.7 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.008874, allocations: 279.1 kB / 0.6557 GB, free: 32.5 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.008894, allocations: 38.08 kB / 0.6558 GB, free: 32.46 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.008958, allocations: 197.9 kB / 0.6559 GB, free: 32.29 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/0.009015, allocations: 116.5 kB / 0.6561 GB, free: 32.2 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.009098, allocations: 76.86 kB / 0.6561 GB, free: 32.15 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.686e-05/0.009155, allocations: 0.5132 MB / 0.6566 GB, free: 31.64 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.009288, allocations: 158.8 kB / 0.6568 GB, free: 31.52 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.009448, allocations: 302.6 kB / 0.6571 GB, free: 31.21 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/0.009814, allocations: 0.5284 MB / 0.6576 GB, free: 30.73 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.009816, allocations: 3.938 kB / 0.6576 GB, free: 30.72 MB / 0.5262 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003584/0.01017, allocations: 0.491 MB / 0.6581 GB, free: 30.4 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.01021, allocations: 85.58 kB / 0.6582 GB, free: 30.31 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.01021, allocations: 5.766 kB / 0.6582 GB, free: 30.31 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.01023, allocations: 7.094 kB / 0.6582 GB, free: 30.31 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.01043, allocations: 83.61 kB / 0.6582 GB, free: 30.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.01044, allocations: 13.12 kB / 0.6583 GB, free: 30.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.01055, allocations: 24.06 kB / 0.6583 GB, free: 30.29 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.01056, allocations: 16.75 kB / 0.6583 GB, free: 30.29 MB / 0.5262 GB Warning: Assuming fixed start value for the following 10 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 peripheral.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real peripheral.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) 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 peripheral.rising:DISCRETE(fixed = true protected = true ) type: Boolean central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.peripheral.Cmin,peripheral.Cmin,$PRE.peripheral.Cmax,peripheral.Cmax,$PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.peripheral.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.central.rising,peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 3 * 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.0001563/0.01072, allocations: 291.8 kB / 0.6586 GB, free: 30.02 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.01076, allocations: 40.66 kB / 0.6586 GB, free: 30.01 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.0108, allocations: 36.03 kB / 0.6586 GB, free: 29.98 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.0108, allocations: 2.844 kB / 0.6586 GB, free: 29.98 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.0108, allocations: 1.438 kB / 0.6586 GB, free: 29.98 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01081, allocations: 0 / 0.6586 GB, free: 29.98 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.01133, allocations: 0.7539 MB / 0.6594 GB, free: 29.44 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.01133, allocations: 3.281 kB / 0.6594 GB, free: 29.44 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.01149, allocations: 55.59 kB / 0.6594 GB, free: 29.44 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01149, allocations: 2 kB / 0.6594 GB, free: 29.44 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.01151, allocations: 8.25 kB / 0.6595 GB, free: 29.43 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01151, allocations: 3.031 kB / 0.6595 GB, free: 29.43 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01152, allocations: 0 / 0.6595 GB, free: 29.43 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.01193, allocations: 0.6771 MB / 0.6601 GB, free: 28.96 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.01196, allocations: 22.23 kB / 0.6601 GB, free: 28.95 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.01199, allocations: 14.44 kB / 0.6602 GB, free: 28.95 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.01208, allocations: 16.27 kB / 0.6602 GB, free: 28.94 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.01215, allocations: 30.92 kB / 0.6602 GB, free: 28.93 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.01216, allocations: 15.75 kB / 0.6602 GB, free: 28.93 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 7.966e-05/0.01224, allocations: 194.9 kB / 0.6604 GB, free: 28.8 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01224, allocations: 0.8438 kB / 0.6604 GB, free: 28.8 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002262/0.01247, allocations: 86.19 kB / 0.6605 GB, free: 28.79 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.variableDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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.341e-05/0.01254, allocations: 122.8 kB / 0.6606 GB, free: 28.69 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.01286, allocations: 0.5009 MB / 0.6611 GB, free: 28.29 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01287, allocations: 0 / 0.6611 GB, free: 28.29 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.013, allocations: 280.3 kB / 0.6614 GB, free: 28.07 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.01333, allocations: 92.83 kB / 0.6614 GB, free: 28.05 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.01484, allocations: 0.8764 MB / 0.6623 GB, free: 27.47 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.36e-05/0.01488, allocations: 92.05 kB / 0.6624 GB, free: 27.4 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 7.411e-05/0.01495, allocations: 30.28 kB / 0.6624 GB, free: 27.39 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.01501, allocations: 30.69 kB / 0.6624 GB, free: 27.38 MB / 0.5262 GB Notification: Performance of SimCode: time 6.91e-07/0.01501, allocations: 0 / 0.6624 GB, free: 27.38 MB / 0.5262 GB Notification: Performance of Templates: time 0.005756/0.02076, allocations: 4.607 MB / 0.6669 GB, free: 26.98 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.657365741208196]