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.001008/0.001008, allocations: 84.53 kB / 19.93 MB, free: 4.609 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.001434/0.001434, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.03/1.03, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.593/1.593, allocations: 273.5 MB / 0.5209 GB, free: 15.04 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 2.474e-06/2.474e-06, allocations: 4 kB / 0.7558 GB, free: 10.74 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.975e-05, allocations: 4.531 kB / 0.7558 GB, free: 10.74 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_2C): time 0.002756/0.002786, allocations: 2.518 MB / 0.7583 GB, free: 8.238 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0008782/0.003664, allocations: 0.6635 MB / 0.7589 GB, free: 7.582 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.877e-05/0.003763, allocations: 0 / 0.7589 GB, free: 7.582 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.003892, allocations: 43.58 kB / 0.7589 GB, free: 7.539 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.004096, allocations: 113 kB / 0.7591 GB, free: 7.461 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.004317, allocations: 71.84 kB / 0.7591 GB, free: 7.391 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.004613, allocations: 366 kB / 0.7595 GB, free: 7.031 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.004766, allocations: 57.84 kB / 0.7595 GB, free: 6.977 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.004937, allocations: 179.6 kB / 0.7597 GB, free: 6.801 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004891/0.005426, allocations: 111.7 kB / 0.7598 GB, free: 6.691 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.005465, allocations: 24 kB / 0.7598 GB, free: 6.668 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.475e-05/0.005499, allocations: 24 kB / 0.7599 GB, free: 6.645 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.005541, allocations: 55.77 kB / 0.7599 GB, free: 6.59 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 9.496e-05/0.005635, allocations: 111.7 kB / 0.76 GB, free: 6.48 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.005889, allocations: 279.2 kB / 0.7603 GB, free: 6.207 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.005893, allocations: 4 kB / 0.7603 GB, free: 6.203 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.332e-06/0.005894, allocations: 0 / 0.7603 GB, free: 6.203 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.005899, allocations: 0 / 0.7603 GB, free: 6.203 MB / 0.5887 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.0007704/0.00667, allocations: 0.5887 MB / 0.7609 GB, free: 5.566 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.006709, allocations: 8.031 kB / 0.7609 GB, free: 5.559 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.006767, allocations: 32.75 kB / 0.7609 GB, free: 5.527 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.006973, allocations: 201.2 kB / 0.7611 GB, free: 5.305 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.006992, allocations: 16.88 kB / 0.7611 GB, free: 5.289 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.00703, allocations: 24.36 kB / 0.7611 GB, free: 5.266 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.007369, allocations: 290 kB / 0.7614 GB, free: 4.957 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.00739, allocations: 3.984 kB / 0.7614 GB, free: 4.953 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.007409, allocations: 15.94 kB / 0.7614 GB, free: 4.938 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.007416, allocations: 4 kB / 0.7614 GB, free: 4.934 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.007691, allocations: 236.4 kB / 0.7617 GB, free: 4.691 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007944/0.008486, allocations: 0.6692 MB / 0.7623 GB, free: 3.98 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/0.008934, allocations: 249.8 kB / 0.7625 GB, free: 3.715 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.009075, allocations: 148.4 kB / 0.7627 GB, free: 3.555 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.009086, allocations: 7.938 kB / 0.7627 GB, free: 3.547 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.009393, allocations: 355.4 kB / 0.763 GB, free: 3.148 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=33): time 1.453e-06/0.009394, allocations: 0 / 0.763 GB, free: 3.148 MB / 0.5887 GB Notification: Performance of matching and sorting (n=35): time 0.001259/0.01065, allocations: 1.082 MB / 0.7641 GB, free: 1.973 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.01074, allocations: 217.6 kB / 0.7643 GB, free: 1.711 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.0109, allocations: 233.7 kB / 0.7645 GB, free: 1.48 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.01092, allocations: 37.7 kB / 0.7646 GB, free: 1.438 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.011, allocations: 148.9 kB / 0.7647 GB, free: 1.285 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.01106, allocations: 119 kB / 0.7648 GB, free: 1.168 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.01113, allocations: 69.69 kB / 0.7649 GB, free: 1.094 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.01122, allocations: 346.8 kB / 0.7652 GB, free: 0.7461 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.0114, allocations: 199 kB / 0.7654 GB, free: 0.5312 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.01161, allocations: 320.1 kB / 0.7657 GB, free: 160 kB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/0.01236, allocations: 0.7841 MB / 0.7665 GB, free: 15.27 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01236, allocations: 0 / 0.7665 GB, free: 15.27 MB / 0.6043 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007826/0.01314, allocations: 0.5631 MB / 0.767 GB, free: 14.66 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/0.01319, allocations: 89.09 kB / 0.7671 GB, free: 14.55 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.0132, allocations: 4 kB / 0.7671 GB, free: 14.55 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.01321, allocations: 4 kB / 0.7671 GB, free: 14.55 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.0134, allocations: 83.83 kB / 0.7672 GB, free: 14.46 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.01341, allocations: 8 kB / 0.7672 GB, free: 14.46 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.01352, allocations: 19.98 kB / 0.7672 GB, free: 14.44 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.01354, allocations: 20 kB / 0.7672 GB, free: 14.42 MB / 0.6043 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.0002127/0.01375, allocations: 258.9 kB / 0.7675 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.01378, allocations: 27.81 kB / 0.7675 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.01383, allocations: 34.95 kB / 0.7675 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01383, allocations: 3.938 kB / 0.7675 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.01383, allocations: 0 / 0.7675 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01384, allocations: 4 kB / 0.7675 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006972/0.01454, allocations: 0.7681 MB / 0.7683 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01454, allocations: 0 / 0.7683 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.01469, allocations: 63.91 kB / 0.7684 GB, free: 13.19 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.0147, allocations: 3.469 kB / 0.7684 GB, free: 13.19 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.01471, allocations: 11.98 kB / 0.7684 GB, free: 13.18 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01472, allocations: 4 kB / 0.7684 GB, free: 13.17 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01472, allocations: 0 / 0.7684 GB, free: 13.17 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000619/0.01534, allocations: 0.7249 MB / 0.7691 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.01537, allocations: 23.84 kB / 0.7691 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.0154, allocations: 8 kB / 0.7691 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.176e-05/0.01549, allocations: 19.98 kB / 0.7691 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.01556, allocations: 35.89 kB / 0.7692 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.01558, allocations: 11.98 kB / 0.7692 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 9.946e-05/0.01568, allocations: 165.2 kB / 0.7693 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01568, allocations: 0 / 0.7693 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002205/0.0159, allocations: 84 kB / 0.7694 GB, free: 12.05 MB / 0.6043 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 0.0001004/0.016, allocations: 121.4 kB / 0.7695 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0004727/0.01647, allocations: 0.5647 MB / 0.7701 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01647, allocations: 4 kB / 0.7701 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.01668, allocations: 302 kB / 0.7704 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.01701, allocations: 89.27 kB / 0.7705 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009941/0.01801, allocations: 0.8556 MB / 0.7713 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.448e-05/0.0181, allocations: 159.5 kB / 0.7715 GB, free: 9.82 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/0.01816, allocations: 36.48 kB / 0.7715 GB, free: 9.785 MB / 0.6043 GB Notification: Performance of SimCode: time 1.112e-06/0.01817, allocations: 0 / 0.7715 GB, free: 9.785 MB / 0.6043 GB Notification: Performance of Templates: time 0.004246/0.02241, allocations: 3.866 MB / 0.7753 GB, free: 6.004 MB / 0.6043 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 > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.04993344610557]