Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.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.001507/0.001507, allocations: 93.06 kB / 19.65 MB, free: 272 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.001783/0.001783, 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 1.026/1.026, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.601/1.601, allocations: 273.5 MB / 0.5209 GB, free: 14.84 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_1C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_1C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 0.647 GB, free: 38.51 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.286e-05, allocations: 2.312 kB / 0.647 GB, free: 38.5 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C): time 0.003386/0.003419, allocations: 2.265 MB / 0.6492 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.004516, allocations: 0.6158 MB / 0.6498 GB, free: 36.63 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.004622, allocations: 1.562 kB / 0.6498 GB, free: 36.63 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.00476, allocations: 25.19 kB / 0.6498 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.00499, allocations: 73.03 kB / 0.6499 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.005327, allocations: 58.34 kB / 0.6499 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0003944/0.005721, allocations: 249.4 kB / 0.6502 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.005917, allocations: 30.47 kB / 0.6502 GB, free: 36.44 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.00616, allocations: 129.3 kB / 0.6503 GB, free: 36.39 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.006475, allocations: 79.23 kB / 0.6504 GB, free: 36.37 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.006527, allocations: 16.19 kB / 0.6504 GB, free: 36.37 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.632e-05/0.006573, allocations: 18.53 kB / 0.6504 GB, free: 36.37 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.006624, allocations: 43 kB / 0.6505 GB, free: 36.34 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.006745, allocations: 73.17 kB / 0.6505 GB, free: 36.3 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.007031, allocations: 145.1 kB / 0.6507 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.007037, allocations: 5.656 kB / 0.6507 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.007039, allocations: 0.9688 kB / 0.6507 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.007047, allocations: 0 / 0.6507 GB, free: 36.23 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008662/0.007913, allocations: 0.5671 MB / 0.6512 GB, free: 35.71 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.007963, allocations: 7.906 kB / 0.6512 GB, free: 35.71 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.487e-05/0.008057, allocations: 34.33 kB / 0.6513 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.008306, allocations: 176.8 kB / 0.6514 GB, free: 35.53 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.008327, allocations: 10.12 kB / 0.6514 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.008378, allocations: 19.25 kB / 0.6515 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.008715, allocations: 184.3 kB / 0.6516 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.008735, allocations: 3.469 kB / 0.6516 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.008755, allocations: 7.312 kB / 0.6516 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.008766, allocations: 2.438 kB / 0.6517 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.00895, allocations: 89.03 kB / 0.6517 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007935/0.009743, allocations: 0.5549 MB / 0.6523 GB, free: 34.87 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.009967, allocations: 124.8 kB / 0.6524 GB, free: 34.79 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.01007, allocations: 69.73 kB / 0.6525 GB, free: 34.74 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.01008, allocations: 5 kB / 0.6525 GB, free: 34.74 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/0.01034, allocations: 202.7 kB / 0.6527 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=21): time 2.565e-06/0.01034, allocations: 0 / 0.6527 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of matching and sorting (n=22): time 0.001112/0.01146, allocations: 0.6047 MB / 0.6533 GB, free: 34.14 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.0115, allocations: 136.8 kB / 0.6534 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.01167, allocations: 241.5 kB / 0.6536 GB, free: 33.79 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.0117, allocations: 33.92 kB / 0.6536 GB, free: 33.76 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.01177, allocations: 178 kB / 0.6538 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.01182, allocations: 74.42 kB / 0.6539 GB, free: 33.54 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.148e-05/0.0119, allocations: 56.16 kB / 0.6539 GB, free: 33.5 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.375e-05/0.01196, allocations: 0.5069 MB / 0.6544 GB, free: 32.99 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.01209, allocations: 107.5 kB / 0.6545 GB, free: 32.91 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.01224, allocations: 219.7 kB / 0.6547 GB, free: 32.68 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.01258, allocations: 341 kB / 0.6551 GB, free: 32.37 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.01259, allocations: 2.344 kB / 0.6551 GB, free: 32.37 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005592/0.01314, allocations: 333.6 kB / 0.6554 GB, free: 32.15 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 7.113e-05/0.01322, allocations: 65.91 kB / 0.6555 GB, free: 32.09 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.01323, allocations: 1.5 kB / 0.6555 GB, free: 32.09 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.11e-05/0.01327, allocations: 9.344 kB / 0.6555 GB, free: 32.09 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.01358, allocations: 53.33 kB / 0.6555 GB, free: 32.08 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.616e-05/0.01361, allocations: 10.97 kB / 0.6555 GB, free: 32.08 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.01385, allocations: 18.06 kB / 0.6555 GB, free: 32.07 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/0.0139, allocations: 12.91 kB / 0.6556 GB, free: 32.07 MB / 0.5262 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: 9 * 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 (33): * Single equations (assignments): 31 * 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.0003826/0.01429, allocations: 239 kB / 0.6558 GB, free: 31.85 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.01434, allocations: 28.73 kB / 0.6558 GB, free: 31.84 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.253e-05/0.01439, allocations: 25.77 kB / 0.6558 GB, free: 31.82 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.0144, allocations: 4.844 kB / 0.6558 GB, free: 31.82 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.0144, allocations: 0 / 0.6558 GB, free: 31.82 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.01441, allocations: 3.188 kB / 0.6558 GB, free: 31.82 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007361/0.01515, allocations: 0.5371 MB / 0.6564 GB, free: 31.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.01515, allocations: 0 / 0.6564 GB, free: 31.4 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.01536, allocations: 30.45 kB / 0.6564 GB, free: 31.4 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.01537, allocations: 5.719 kB / 0.6564 GB, free: 31.39 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.01539, allocations: 8.969 kB / 0.6564 GB, free: 31.39 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.0154, allocations: 2.281 kB / 0.6564 GB, free: 31.39 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.0154, allocations: 0 / 0.6564 GB, free: 31.39 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000539/0.01594, allocations: 477.9 kB / 0.6569 GB, free: 31.05 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.01599, allocations: 18.88 kB / 0.6569 GB, free: 31.04 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.01604, allocations: 10.97 kB / 0.6569 GB, free: 31.03 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.0162, allocations: 17.72 kB / 0.6569 GB, free: 31.03 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/0.0163, allocations: 17.56 kB / 0.6569 GB, free: 31.02 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.01632, allocations: 8.312 kB / 0.6569 GB, free: 31.02 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0001516/0.01647, allocations: 176.5 kB / 0.6571 GB, free: 30.89 MB / 0.5262 GB Notification: Performance of sort global known variables: time 9e-08/0.01647, allocations: 0.5625 kB / 0.6571 GB, free: 30.89 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0004355/0.01691, allocations: 51.94 kB / 0.6572 GB, free: 30.89 MB / 0.5262 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 (19): * Single equations (assignments): 16 * 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 0.0001659/0.01707, allocations: 115.1 kB / 0.6573 GB, free: 30.79 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0005483/0.01762, allocations: 325.3 kB / 0.6576 GB, free: 30.54 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.01763, allocations: 8.406 kB / 0.6576 GB, free: 30.54 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.01783, allocations: 155.7 kB / 0.6577 GB, free: 30.41 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.01839, allocations: 60.2 kB / 0.6578 GB, free: 30.4 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.02088, allocations: 0.6485 MB / 0.6584 GB, free: 29.99 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.894e-05/0.02094, allocations: 85.45 kB / 0.6585 GB, free: 29.92 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.000119/0.02106, allocations: 20.48 kB / 0.6585 GB, free: 29.92 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.02113, allocations: 29.03 kB / 0.6586 GB, free: 29.9 MB / 0.5262 GB Notification: Performance of SimCode: time 1.432e-06/0.02113, allocations: 4 kB / 0.6586 GB, free: 29.9 MB / 0.5262 GB Notification: Performance of Templates: time 0.007437/0.02857, allocations: 3.198 MB / 0.6617 GB, free: 29.62 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9916229378432035]