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.001378/0.001378, allocations: 89.08 kB / 19.42 MB, free: 492 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.004748/0.004748, allocations: 169 kB / 22.72 MB, free: 1.824 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.9934/0.9934, allocations: 177.1 MB / 203.1 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.683/1.683, allocations: 273.5 MB / 0.5205 GB, free: 14.9 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 2.584e-06/2.584e-06, allocations: 0 / 0.6462 GB, free: 38.6 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.75e-05, allocations: 2.312 kB / 0.6462 GB, free: 38.6 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C): time 0.002597/0.002625, allocations: 2.269 MB / 0.6484 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0009565/0.003581, allocations: 0.6054 MB / 0.649 GB, free: 36.73 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.003708, allocations: 3.812 kB / 0.649 GB, free: 36.73 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.003841, allocations: 27.47 kB / 0.6491 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.004059, allocations: 75.7 kB / 0.6491 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.004334, allocations: 49.39 kB / 0.6492 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.004605, allocations: 250 kB / 0.6494 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.004736, allocations: 36.91 kB / 0.6495 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.004906, allocations: 134.4 kB / 0.6496 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.00511, allocations: 78.81 kB / 0.6497 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.005146, allocations: 15.78 kB / 0.6497 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.308e-05/0.005179, allocations: 15.94 kB / 0.6497 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.005212, allocations: 40.81 kB / 0.6497 GB, free: 36.43 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 8.562e-05/0.005298, allocations: 74.5 kB / 0.6498 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.005504, allocations: 145.2 kB / 0.6499 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.005506, allocations: 0 / 0.6499 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.005508, allocations: 0 / 0.6499 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.005515, allocations: 1.312 kB / 0.6499 GB, free: 36.33 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.0006198/0.006135, allocations: 0.5654 MB / 0.6505 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.006174, allocations: 9.906 kB / 0.6505 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.882e-05/0.006242, allocations: 34.08 kB / 0.6505 GB, free: 35.8 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.00643, allocations: 180.1 kB / 0.6507 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.006453, allocations: 14.03 kB / 0.6507 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.00649, allocations: 13.84 kB / 0.6507 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.006717, allocations: 189.1 kB / 0.6509 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.006731, allocations: 5.625 kB / 0.6509 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.006745, allocations: 5.062 kB / 0.6509 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.006754, allocations: 2.344 kB / 0.6509 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.006867, allocations: 82.41 kB / 0.651 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.007406, allocations: 0.5584 MB / 0.6515 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.007563, allocations: 129.1 kB / 0.6517 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.007624, allocations: 66.84 kB / 0.6517 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.007637, allocations: 4.938 kB / 0.6517 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.007816, allocations: 197.5 kB / 0.6519 GB, free: 34.66 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=21): time 2.405e-06/0.007818, allocations: 1.344 kB / 0.6519 GB, free: 34.66 MB / 0.5262 GB Notification: Performance of matching and sorting (n=22): time 0.0007479/0.008566, allocations: 0.5983 MB / 0.6525 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.008603, allocations: 137.5 kB / 0.6526 GB, free: 34.07 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.00873, allocations: 243 kB / 0.6529 GB, free: 33.89 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.008744, allocations: 31.83 kB / 0.6529 GB, free: 33.85 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.008801, allocations: 179.9 kB / 0.6531 GB, free: 33.69 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.008838, allocations: 76.11 kB / 0.6531 GB, free: 33.63 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.008898, allocations: 54.55 kB / 0.6532 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.556e-05/0.008953, allocations: 0.5052 MB / 0.6537 GB, free: 33.09 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.274e-05/0.009036, allocations: 112.9 kB / 0.6538 GB, free: 33 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.009137, allocations: 210.6 kB / 0.654 GB, free: 32.78 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.009356, allocations: 348 kB / 0.6543 GB, free: 32.46 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.009359, allocations: 1.281 kB / 0.6543 GB, free: 32.46 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002748/0.009634, allocations: 337.7 kB / 0.6547 GB, free: 32.25 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.009666, allocations: 66.98 kB / 0.6547 GB, free: 32.18 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.009672, allocations: 2.969 kB / 0.6547 GB, free: 32.18 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.009692, allocations: 3.938 kB / 0.6547 GB, free: 32.18 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.009847, allocations: 53.5 kB / 0.6548 GB, free: 32.18 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.009855, allocations: 5.188 kB / 0.6548 GB, free: 32.18 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.833e-05/0.009943, allocations: 22.28 kB / 0.6548 GB, free: 32.17 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.009957, allocations: 13.47 kB / 0.6548 GB, free: 32.16 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.0001503/0.01011, allocations: 225.8 kB / 0.655 GB, free: 31.95 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.01014, allocations: 35.47 kB / 0.6551 GB, free: 31.94 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.01018, allocations: 20.94 kB / 0.6551 GB, free: 31.92 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01018, allocations: 7.875 kB / 0.6551 GB, free: 31.92 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.01019, allocations: 0 / 0.6551 GB, free: 31.92 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.01019, allocations: 3.281 kB / 0.6551 GB, free: 31.92 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.01058, allocations: 0.537 MB / 0.6556 GB, free: 31.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01058, allocations: 0 / 0.6556 GB, free: 31.5 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.0107, allocations: 38.28 kB / 0.6557 GB, free: 31.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01071, allocations: 5.062 kB / 0.6557 GB, free: 31.49 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.01072, allocations: 7.375 kB / 0.6557 GB, free: 31.49 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01073, allocations: 0.5625 kB / 0.6557 GB, free: 31.49 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01073, allocations: 0.5625 kB / 0.6557 GB, free: 31.49 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.0111, allocations: 473.4 kB / 0.6561 GB, free: 31.15 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.01112, allocations: 19.44 kB / 0.6561 GB, free: 31.14 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.01115, allocations: 7.875 kB / 0.6561 GB, free: 31.13 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.01123, allocations: 13.77 kB / 0.6562 GB, free: 31.13 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.01129, allocations: 21.36 kB / 0.6562 GB, free: 31.12 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.0113, allocations: 6.75 kB / 0.6562 GB, free: 31.12 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 7.477e-05/0.01138, allocations: 179.9 kB / 0.6564 GB, free: 31 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8e-08/0.01138, allocations: 1 kB / 0.6564 GB, free: 31 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.000209/0.01158, allocations: 51.56 kB / 0.6564 GB, free: 30.99 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 8.645e-05/0.01167, allocations: 114.5 kB / 0.6565 GB, free: 30.89 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002904/0.01196, allocations: 326.5 kB / 0.6568 GB, free: 30.64 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01196, allocations: 1.812 kB / 0.6568 GB, free: 30.64 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.0121, allocations: 158.3 kB / 0.657 GB, free: 30.52 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.01244, allocations: 73.02 kB / 0.6571 GB, free: 30.5 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.01413, allocations: 0.6572 MB / 0.6577 GB, free: 30.08 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.871e-05/0.01419, allocations: 80.62 kB / 0.6578 GB, free: 30 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 8.872e-05/0.01428, allocations: 20.39 kB / 0.6578 GB, free: 30 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.01434, allocations: 25.06 kB / 0.6578 GB, free: 29.99 MB / 0.5262 GB Notification: Performance of SimCode: time 7.61e-07/0.01434, allocations: 4 kB / 0.6578 GB, free: 29.98 MB / 0.5262 GB Notification: Performance of Templates: time 0.005488/0.01983, allocations: 3.183 MB / 0.6609 GB, free: 29.71 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: 5.013750826008618]