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.001293/0.001293, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001184/0.001184, allocations: 169 kB / 23.27 MB, free: 1.223 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.9243/0.9243, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.637/1.637, 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_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 1.803e-06/1.803e-06, allocations: 0 / 0.6474 GB, free: 38.44 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.674e-05, allocations: 6.391 kB / 0.6474 GB, free: 38.43 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C): time 0.002104/0.002121, allocations: 2.254 MB / 0.6496 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0007467/0.002867, allocations: 0.6019 MB / 0.6502 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.546e-05/0.002963, allocations: 2.219 kB / 0.6502 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.003095, allocations: 24.2 kB / 0.6502 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.00327, allocations: 79.55 kB / 0.6503 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.003455, allocations: 55.41 kB / 0.6503 GB, free: 36.49 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.003681, allocations: 246.4 kB / 0.6506 GB, free: 36.39 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.003792, allocations: 40.67 kB / 0.6506 GB, free: 36.37 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.00392, allocations: 128.1 kB / 0.6507 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.004076, allocations: 82.3 kB / 0.6508 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.004103, allocations: 16.47 kB / 0.6508 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.42e-05/0.004127, allocations: 16.38 kB / 0.6508 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.004155, allocations: 42.73 kB / 0.6509 GB, free: 36.27 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.004213, allocations: 68.73 kB / 0.651 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.00437, allocations: 143.7 kB / 0.6511 GB, free: 36.17 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004372, allocations: 0 / 0.6511 GB, free: 36.17 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004373, allocations: 0 / 0.6511 GB, free: 36.17 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.004378, allocations: 1.312 kB / 0.6511 GB, free: 36.17 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.0005852/0.004963, allocations: 0.5727 MB / 0.6517 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.005008, allocations: 10.53 kB / 0.6517 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.005061, allocations: 33.55 kB / 0.6517 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.005215, allocations: 181.9 kB / 0.6519 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.005237, allocations: 8.344 kB / 0.6519 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.005264, allocations: 16.12 kB / 0.6519 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.005475, allocations: 183 kB / 0.6521 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.00549, allocations: 1.688 kB / 0.6521 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.005502, allocations: 2.344 kB / 0.6521 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.005511, allocations: 1.844 kB / 0.6521 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.55e-05/0.005597, allocations: 80.62 kB / 0.6521 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.006027, allocations: 0.533 MB / 0.6527 GB, free: 34.83 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.006146, allocations: 123.4 kB / 0.6528 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.156e-05/0.006188, allocations: 55.88 kB / 0.6528 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/0.006197, allocations: 3.781 kB / 0.6528 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.006352, allocations: 197.2 kB / 0.653 GB, free: 34.54 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=21): time 1.233e-06/0.006354, allocations: 0 / 0.653 GB, free: 34.54 MB / 0.5262 GB Notification: Performance of matching and sorting (n=22): time 0.0006025/0.006956, allocations: 0.5531 MB / 0.6536 GB, free: 34.14 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.006999, allocations: 137.1 kB / 0.6537 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.007152, allocations: 245.5 kB / 0.6539 GB, free: 33.79 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.007171, allocations: 33.48 kB / 0.654 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.007226, allocations: 168.7 kB / 0.6541 GB, free: 33.6 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.007264, allocations: 78.53 kB / 0.6542 GB, free: 33.54 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.007327, allocations: 59.94 kB / 0.6543 GB, free: 33.49 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.007401, allocations: 0.5049 MB / 0.6548 GB, free: 32.99 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.976e-05/0.007471, allocations: 102.1 kB / 0.6549 GB, free: 32.91 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.116e-05/0.007562, allocations: 204.2 kB / 0.655 GB, free: 32.69 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.007746, allocations: 339.3 kB / 0.6554 GB, free: 32.38 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.007747, allocations: 0 / 0.6554 GB, free: 32.38 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002816/0.008029, allocations: 320.5 kB / 0.6557 GB, free: 32.17 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.008069, allocations: 62.83 kB / 0.6557 GB, free: 32.11 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.008078, allocations: 2.219 kB / 0.6557 GB, free: 32.11 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.008097, allocations: 3.312 kB / 0.6557 GB, free: 32.11 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.008244, allocations: 62.61 kB / 0.6558 GB, free: 32.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.008249, allocations: 3.625 kB / 0.6558 GB, free: 32.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.117e-05/0.008331, allocations: 18.09 kB / 0.6558 GB, free: 32.09 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.008343, allocations: 6.094 kB / 0.6558 GB, free: 32.09 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.0001413/0.008485, allocations: 235 kB / 0.6561 GB, free: 31.88 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.008511, allocations: 27.66 kB / 0.6561 GB, free: 31.86 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.008542, allocations: 24.94 kB / 0.6561 GB, free: 31.85 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.008544, allocations: 3.562 kB / 0.6561 GB, free: 31.85 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.008545, allocations: 1.938 kB / 0.6561 GB, free: 31.85 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.00855, allocations: 7.5 kB / 0.6561 GB, free: 31.84 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.008891, allocations: 0.4986 MB / 0.6566 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.008893, allocations: 0.5938 kB / 0.6566 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.009002, allocations: 37.94 kB / 0.6566 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.009005, allocations: 1.875 kB / 0.6566 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.009017, allocations: 5.656 kB / 0.6566 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.009018, allocations: 4.25 kB / 0.6566 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.00902, allocations: 3.422 kB / 0.6567 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.009338, allocations: 457 kB / 0.6571 GB, free: 31.11 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.009361, allocations: 20.8 kB / 0.6571 GB, free: 31.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.009392, allocations: 8.5 kB / 0.6571 GB, free: 31.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.009471, allocations: 19.45 kB / 0.6571 GB, free: 31.09 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.00952, allocations: 19.53 kB / 0.6572 GB, free: 31.09 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.009532, allocations: 3.875 kB / 0.6572 GB, free: 31.09 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 7.5e-05/0.009607, allocations: 172.9 kB / 0.6573 GB, free: 30.96 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.009607, allocations: 0 / 0.6573 GB, free: 30.96 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002319/0.009839, allocations: 52.03 kB / 0.6574 GB, free: 30.96 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 9.018e-05/0.009929, allocations: 114 kB / 0.6575 GB, free: 30.86 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.01018, allocations: 321.1 kB / 0.6578 GB, free: 30.61 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 9.12e-07/0.01018, allocations: 1.312 kB / 0.6578 GB, free: 30.61 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.01028, allocations: 147.7 kB / 0.6579 GB, free: 30.49 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.01057, allocations: 67.34 kB / 0.658 GB, free: 30.48 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.01184, allocations: 0.6577 MB / 0.6586 GB, free: 30.06 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.01188, allocations: 84.47 kB / 0.6587 GB, free: 29.98 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 5.638e-05/0.01194, allocations: 21.89 kB / 0.6587 GB, free: 29.98 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.01206, allocations: 137.8 kB / 0.6589 GB, free: 29.91 MB / 0.5262 GB Notification: Performance of SimCode: time 6.01e-07/0.01206, allocations: 3.938 kB / 0.6589 GB, free: 29.91 MB / 0.5262 GB Notification: Performance of Templates: time 0.004675/0.01674, allocations: 3.495 MB / 0.6623 GB, free: 29.57 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.733436154201627]