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.0009857/0.0009857, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.001084/0.001084, allocations: 173 kB / 23.28 MB, free: 1.215 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.9363/0.9363, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.634/1.634, allocations: 273.5 MB / 0.5212 GB, free: 14.75 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.774e-06/1.774e-06, allocations: 0 / 0.6474 GB, free: 38.46 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.477e-05, allocations: 8.469 kB / 0.6474 GB, free: 38.46 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_2C): time 0.003598/0.003623, allocations: 2.696 MB / 0.6501 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.004897, allocations: 0.6754 MB / 0.6507 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.005057, allocations: 2.75 kB / 0.6507 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.005199, allocations: 35.78 kB / 0.6508 GB, free: 36.22 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.005482, allocations: 117.2 kB / 0.6509 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.005782, allocations: 70.91 kB / 0.6509 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.006217, allocations: 374 kB / 0.6513 GB, free: 35.95 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.006381, allocations: 53.84 kB / 0.6513 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000335/0.006717, allocations: 190.7 kB / 0.6515 GB, free: 35.85 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.006977, allocations: 113.8 kB / 0.6516 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 6.565e-05/0.007043, allocations: 25.69 kB / 0.6517 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.796e-05/0.007101, allocations: 23.88 kB / 0.6517 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.007146, allocations: 53.97 kB / 0.6517 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.007263, allocations: 110.6 kB / 0.6518 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.007565, allocations: 211.3 kB / 0.652 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.007568, allocations: 1.406 kB / 0.652 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.412e-06/0.007569, allocations: 0 / 0.652 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.007577, allocations: 0 / 0.652 GB, free: 35.64 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.000885/0.008462, allocations: 0.6813 MB / 0.6527 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.008507, allocations: 9.281 kB / 0.6527 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.854e-05/0.008605, allocations: 50 kB / 0.6528 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.008833, allocations: 199.1 kB / 0.6529 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.008866, allocations: 17.53 kB / 0.653 GB, free: 34.83 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.008912, allocations: 24.08 kB / 0.653 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.009245, allocations: 257.5 kB / 0.6532 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.009264, allocations: 3.156 kB / 0.6532 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.009284, allocations: 10.38 kB / 0.6532 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.009294, allocations: 5.75 kB / 0.6533 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.009469, allocations: 141.6 kB / 0.6534 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009138/0.01038, allocations: 0.7142 MB / 0.6541 GB, free: 34.03 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.01059, allocations: 169.5 kB / 0.6542 GB, free: 33.91 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.0107, allocations: 111.4 kB / 0.6544 GB, free: 33.83 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.01072, allocations: 5.625 kB / 0.6544 GB, free: 33.83 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002996/0.01102, allocations: 317.7 kB / 0.6547 GB, free: 33.57 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=33): time 2.285e-06/0.01103, allocations: 1.406 kB / 0.6547 GB, free: 33.57 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35): time 0.00113/0.01216, allocations: 0.8716 MB / 0.6555 GB, free: 32.96 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.01221, allocations: 216.7 kB / 0.6557 GB, free: 32.71 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.01242, allocations: 272.3 kB / 0.656 GB, free: 32.51 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.01244, allocations: 39.27 kB / 0.656 GB, free: 32.47 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/0.01253, allocations: 198.2 kB / 0.6562 GB, free: 32.29 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 8.719e-05/0.01261, allocations: 123.8 kB / 0.6563 GB, free: 32.19 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.01274, allocations: 80.2 kB / 0.6564 GB, free: 32.14 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 8.873e-05/0.01283, allocations: 0.5176 MB / 0.6569 GB, free: 31.63 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.01298, allocations: 143.1 kB / 0.657 GB, free: 31.52 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.01317, allocations: 295.8 kB / 0.6573 GB, free: 31.21 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.01358, allocations: 0.5051 MB / 0.6578 GB, free: 30.74 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.01359, allocations: 0.625 kB / 0.6578 GB, free: 30.74 MB / 0.5262 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004001/0.01399, allocations: 472.7 kB / 0.6583 GB, free: 30.43 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.01402, allocations: 92.92 kB / 0.6584 GB, free: 30.34 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.01403, allocations: 4.344 kB / 0.6584 GB, free: 30.34 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.01404, allocations: 5.719 kB / 0.6584 GB, free: 30.34 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.01423, allocations: 80.95 kB / 0.6584 GB, free: 30.33 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.01424, allocations: 9.438 kB / 0.6585 GB, free: 30.33 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.01434, allocations: 22.45 kB / 0.6585 GB, free: 30.32 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.01436, allocations: 15.34 kB / 0.6585 GB, free: 30.32 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.0001716/0.01453, allocations: 279.4 kB / 0.6588 GB, free: 30.06 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.01457, allocations: 46.75 kB / 0.6588 GB, free: 30.04 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.01461, allocations: 39.14 kB / 0.6588 GB, free: 30.02 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01461, allocations: 2.844 kB / 0.6588 GB, free: 30.02 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.01461, allocations: 0 / 0.6588 GB, free: 30.02 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01462, allocations: 5.344 kB / 0.6588 GB, free: 30.02 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.0151, allocations: 0.7023 MB / 0.6595 GB, free: 29.52 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.0151, allocations: 0 / 0.6595 GB, free: 29.52 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.01525, allocations: 55.3 kB / 0.6596 GB, free: 29.51 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01525, allocations: 1.344 kB / 0.6596 GB, free: 29.51 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.01527, allocations: 11.84 kB / 0.6596 GB, free: 29.51 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.01527, allocations: 4.344 kB / 0.6596 GB, free: 29.51 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01527, allocations: 0 / 0.6596 GB, free: 29.51 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.01564, allocations: 0.6521 MB / 0.6602 GB, free: 29.05 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.01566, allocations: 22.19 kB / 0.6603 GB, free: 29.04 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.01569, allocations: 13.56 kB / 0.6603 GB, free: 29.03 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.501e-05/0.01579, allocations: 16.28 kB / 0.6603 GB, free: 29.02 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.01584, allocations: 25.94 kB / 0.6603 GB, free: 29.02 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.01585, allocations: 12.97 kB / 0.6603 GB, free: 29.02 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 6.681e-05/0.01592, allocations: 186.9 kB / 0.6605 GB, free: 28.89 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.01592, allocations: 0 / 0.6605 GB, free: 28.89 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002295/0.01615, allocations: 86.22 kB / 0.6606 GB, free: 28.88 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 8.826e-05/0.01624, allocations: 122.3 kB / 0.6607 GB, free: 28.78 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.0165, allocations: 493.8 kB / 0.6612 GB, free: 28.39 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01651, allocations: 0 / 0.6612 GB, free: 28.39 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.01662, allocations: 264.4 kB / 0.6614 GB, free: 28.18 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.01695, allocations: 87.69 kB / 0.6615 GB, free: 28.16 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.01838, allocations: 0.8773 MB / 0.6624 GB, free: 27.59 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/0.01842, allocations: 88.83 kB / 0.6625 GB, free: 27.52 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 8.993e-05/0.01851, allocations: 34.72 kB / 0.6625 GB, free: 27.51 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.01869, allocations: 171.9 kB / 0.6626 GB, free: 27.44 MB / 0.5262 GB Notification: Performance of SimCode: time 8.01e-07/0.01869, allocations: 0 / 0.6626 GB, free: 27.44 MB / 0.5262 GB Notification: Performance of Templates: time 0.006959/0.02565, allocations: 4.782 MB / 0.6673 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.74419811507687]