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.0009353/0.0009353, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009283/0.0009283, allocations: 177.3 kB / 23.5 MB, free: 1.055 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.9138/0.9138, allocations: 177.1 MB / 203.8 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.599/1.599, allocations: 273.5 MB / 0.5213 GB, free: 14.79 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.062e-06/1.062e-06, allocations: 0 / 0.647 GB, free: 38.62 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195e-05/1.302e-05, allocations: 3.906 kB / 0.647 GB, free: 38.62 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_2C): time 0.002349/0.002362, allocations: 2.712 MB / 0.6496 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0007562/0.003118, allocations: 0.6808 MB / 0.6503 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.003222, allocations: 2 kB / 0.6503 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.003366, allocations: 42.98 kB / 0.6504 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.003573, allocations: 108 kB / 0.6505 GB, free: 36.34 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.003786, allocations: 76.78 kB / 0.6505 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.004066, allocations: 365.5 kB / 0.6509 GB, free: 36.12 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.004198, allocations: 54.59 kB / 0.6509 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.004351, allocations: 191.9 kB / 0.6511 GB, free: 36.01 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.004539, allocations: 116.6 kB / 0.6512 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.004573, allocations: 23.5 kB / 0.6512 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.123e-05/0.004605, allocations: 27.72 kB / 0.6513 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.004639, allocations: 58.02 kB / 0.6513 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 8.725e-05/0.004726, allocations: 106.2 kB / 0.6514 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.004929, allocations: 209.9 kB / 0.6516 GB, free: 35.8 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004931, allocations: 0 / 0.6516 GB, free: 35.8 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004931, allocations: 3.562 kB / 0.6516 GB, free: 35.8 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.004936, allocations: 0 / 0.6516 GB, free: 35.8 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.0006112/0.005548, allocations: 0.675 MB / 0.6523 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.00558, allocations: 8.062 kB / 0.6523 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.121e-05/0.005651, allocations: 50 kB / 0.6523 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.005826, allocations: 202 kB / 0.6525 GB, free: 35 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.005842, allocations: 18.41 kB / 0.6526 GB, free: 34.99 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.005876, allocations: 24.92 kB / 0.6526 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.006136, allocations: 270.7 kB / 0.6528 GB, free: 34.81 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.00615, allocations: 0 / 0.6528 GB, free: 34.81 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.006166, allocations: 7.344 kB / 0.6528 GB, free: 34.8 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.006175, allocations: 4.031 kB / 0.6528 GB, free: 34.8 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.00633, allocations: 167.4 kB / 0.653 GB, free: 34.72 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006658/0.006996, allocations: 0.7443 MB / 0.6537 GB, free: 34.15 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.007169, allocations: 175.4 kB / 0.6539 GB, free: 34.03 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.007253, allocations: 113.2 kB / 0.654 GB, free: 33.95 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.007262, allocations: 3.812 kB / 0.654 GB, free: 33.95 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.007464, allocations: 333.4 kB / 0.6543 GB, free: 33.67 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.007465, allocations: 3.938 kB / 0.6543 GB, free: 33.67 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35): time 0.001022/0.008487, allocations: 0.9399 MB / 0.6553 GB, free: 33.02 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.008535, allocations: 220.4 kB / 0.6555 GB, free: 32.77 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.008674, allocations: 275.4 kB / 0.6557 GB, free: 32.57 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.008692, allocations: 43.83 kB / 0.6558 GB, free: 32.53 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.008751, allocations: 197.3 kB / 0.656 GB, free: 32.35 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.008799, allocations: 114.4 kB / 0.6561 GB, free: 32.26 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.008874, allocations: 75.47 kB / 0.6561 GB, free: 32.21 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.008932, allocations: 0.515 MB / 0.6566 GB, free: 31.71 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.009039, allocations: 164.5 kB / 0.6568 GB, free: 31.58 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.009165, allocations: 304.1 kB / 0.6571 GB, free: 31.27 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.009545, allocations: 0.52 MB / 0.6576 GB, free: 30.79 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.009547, allocations: 1.062 kB / 0.6576 GB, free: 30.79 MB / 0.5262 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004937/0.01004, allocations: 0.4921 MB / 0.6581 GB, free: 30.47 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.01008, allocations: 89.89 kB / 0.6582 GB, free: 30.38 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.01009, allocations: 6.578 kB / 0.6582 GB, free: 30.38 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.01011, allocations: 6.594 kB / 0.6582 GB, free: 30.38 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.01037, allocations: 84.14 kB / 0.6583 GB, free: 30.37 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.01038, allocations: 5.438 kB / 0.6583 GB, free: 30.37 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.01049, allocations: 24.34 kB / 0.6583 GB, free: 30.36 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.01051, allocations: 16.03 kB / 0.6583 GB, free: 30.36 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.0001561/0.01067, allocations: 302.3 kB / 0.6586 GB, free: 30.09 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.01071, allocations: 38.86 kB / 0.6586 GB, free: 30.07 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.01075, allocations: 32.52 kB / 0.6587 GB, free: 30.05 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01075, allocations: 2.781 kB / 0.6587 GB, free: 30.05 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01075, allocations: 0 / 0.6587 GB, free: 30.05 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01076, allocations: 3.844 kB / 0.6587 GB, free: 30.05 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.01129, allocations: 0.7541 MB / 0.6594 GB, free: 29.51 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01129, allocations: 5.312 kB / 0.6594 GB, free: 29.5 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.01145, allocations: 51.61 kB / 0.6595 GB, free: 29.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01146, allocations: 1.375 kB / 0.6595 GB, free: 29.5 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.01147, allocations: 14.98 kB / 0.6595 GB, free: 29.5 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01147, allocations: 3.531 kB / 0.6595 GB, free: 29.5 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01148, allocations: 0 / 0.6595 GB, free: 29.5 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.0119, allocations: 0.6741 MB / 0.6601 GB, free: 29.03 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.01193, allocations: 22.33 kB / 0.6602 GB, free: 29.02 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.01196, allocations: 13.62 kB / 0.6602 GB, free: 29.01 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/0.01205, allocations: 12.64 kB / 0.6602 GB, free: 29.01 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.01211, allocations: 35.91 kB / 0.6602 GB, free: 29 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.01213, allocations: 8.562 kB / 0.6602 GB, free: 29 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 8.011e-05/0.01221, allocations: 199.4 kB / 0.6604 GB, free: 28.86 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8e-08/0.01221, allocations: 0 / 0.6604 GB, free: 28.86 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002313/0.01244, allocations: 82.75 kB / 0.6605 GB, free: 28.85 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.798e-05/0.01252, allocations: 123.2 kB / 0.6606 GB, free: 28.75 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003187/0.01284, allocations: 0.5046 MB / 0.6611 GB, free: 28.36 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01284, allocations: 0 / 0.6611 GB, free: 28.36 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.01297, allocations: 270 kB / 0.6614 GB, free: 28.14 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.0133, allocations: 92.58 kB / 0.6614 GB, free: 28.12 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.01482, allocations: 0.8732 MB / 0.6623 GB, free: 27.56 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.414e-05/0.01486, allocations: 97.02 kB / 0.6624 GB, free: 27.48 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 7.571e-05/0.01494, allocations: 30.84 kB / 0.6624 GB, free: 27.48 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.01499, allocations: 26.69 kB / 0.6624 GB, free: 27.47 MB / 0.5262 GB Notification: Performance of SimCode: time 6.42e-07/0.01499, allocations: 0 / 0.6624 GB, free: 27.47 MB / 0.5262 GB Notification: Performance of Templates: time 0.005578/0.02057, allocations: 4.347 MB / 0.6667 GB, free: 27.09 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.7847903380170465]