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.001043/0.001043, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001067/0.001067, allocations: 173 kB / 23.49 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.9527/0.9527, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.544/1.544, allocations: 273.5 MB / 0.5213 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_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.383e-06/1.383e-06, allocations: 0 / 0.6462 GB, free: 39.07 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.642e-05, allocations: 7.078 kB / 0.6462 GB, free: 39.07 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_2C): time 0.002392/0.002418, allocations: 2.708 MB / 0.6489 GB, free: 37.3 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.003277, allocations: 0.6817 MB / 0.6495 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.003378, allocations: 3 kB / 0.6495 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.003494, allocations: 35.91 kB / 0.6496 GB, free: 36.83 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.003683, allocations: 112.5 kB / 0.6497 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.003896, allocations: 73.64 kB / 0.6498 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.004181, allocations: 366.3 kB / 0.6501 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.004316, allocations: 59.22 kB / 0.6502 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.004502, allocations: 193.4 kB / 0.6503 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.004714, allocations: 115.8 kB / 0.6505 GB, free: 36.42 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.004751, allocations: 25.81 kB / 0.6505 GB, free: 36.42 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.268e-05/0.004783, allocations: 23.12 kB / 0.6505 GB, free: 36.42 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.342e-05/0.004817, allocations: 55.03 kB / 0.6506 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 9.442e-05/0.004911, allocations: 106.4 kB / 0.6507 GB, free: 36.34 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.005118, allocations: 212 kB / 0.6509 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.00512, allocations: 0 / 0.6509 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.005122, allocations: 0 / 0.6509 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.005127, allocations: 1.406 kB / 0.6509 GB, free: 36.25 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.000622/0.005749, allocations: 0.6799 MB / 0.6515 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.005784, allocations: 8.375 kB / 0.6515 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.419e-05/0.005858, allocations: 48.53 kB / 0.6516 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.00603, allocations: 194 kB / 0.6518 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.006046, allocations: 18.22 kB / 0.6518 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.006082, allocations: 27.64 kB / 0.6518 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.006351, allocations: 266.9 kB / 0.6521 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.006366, allocations: 5.469 kB / 0.6521 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.006383, allocations: 8.219 kB / 0.6521 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.006391, allocations: 3.938 kB / 0.6521 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.006552, allocations: 165.8 kB / 0.6522 GB, free: 35.17 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007221/0.007274, allocations: 0.7513 MB / 0.653 GB, free: 34.59 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.007456, allocations: 180.2 kB / 0.6531 GB, free: 34.47 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/0.007544, allocations: 116.1 kB / 0.6532 GB, free: 34.39 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.007556, allocations: 4.281 kB / 0.6533 GB, free: 34.39 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.007773, allocations: 328 kB / 0.6536 GB, free: 34.12 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=33): time 1.492e-06/0.007775, allocations: 0 / 0.6536 GB, free: 34.12 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35): time 0.0009661/0.008741, allocations: 0.9437 MB / 0.6545 GB, free: 33.46 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.008791, allocations: 214.7 kB / 0.6547 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.008938, allocations: 286.8 kB / 0.655 GB, free: 33.01 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.008956, allocations: 35.45 kB / 0.655 GB, free: 32.98 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.009017, allocations: 196.2 kB / 0.6552 GB, free: 32.8 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.009067, allocations: 117.3 kB / 0.6553 GB, free: 32.71 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.115e-05/0.009138, allocations: 74.34 kB / 0.6554 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.621e-05/0.009204, allocations: 0.5146 MB / 0.6559 GB, free: 32.15 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.009324, allocations: 158.3 kB / 0.656 GB, free: 32.03 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.009459, allocations: 301.3 kB / 0.6563 GB, free: 31.72 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.009814, allocations: 0.5269 MB / 0.6568 GB, free: 31.24 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.009817, allocations: 1.125 kB / 0.6568 GB, free: 31.24 MB / 0.5262 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003925/0.01021, allocations: 497.9 kB / 0.6573 GB, free: 30.92 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.01025, allocations: 92.64 kB / 0.6574 GB, free: 30.82 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.01025, allocations: 3.531 kB / 0.6574 GB, free: 30.82 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.01027, allocations: 10.88 kB / 0.6574 GB, free: 30.82 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.01048, allocations: 85.92 kB / 0.6575 GB, free: 30.81 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.0105, allocations: 5.531 kB / 0.6575 GB, free: 30.81 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.01061, allocations: 14.12 kB / 0.6575 GB, free: 30.81 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.01064, allocations: 22.02 kB / 0.6575 GB, free: 30.8 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.0002036/0.01084, allocations: 300.4 kB / 0.6578 GB, free: 30.54 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.0109, allocations: 43.67 kB / 0.6579 GB, free: 30.52 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.01094, allocations: 28.03 kB / 0.6579 GB, free: 30.5 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.01094, allocations: 3.375 kB / 0.6579 GB, free: 30.5 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.01095, allocations: 0.5625 kB / 0.6579 GB, free: 30.5 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.01096, allocations: 10.56 kB / 0.6579 GB, free: 30.49 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007218/0.01168, allocations: 0.748 MB / 0.6586 GB, free: 29.96 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.01168, allocations: 0.5625 kB / 0.6586 GB, free: 29.96 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.01186, allocations: 54.59 kB / 0.6587 GB, free: 29.95 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01186, allocations: 3.781 kB / 0.6587 GB, free: 29.95 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.01188, allocations: 6.5 kB / 0.6587 GB, free: 29.95 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.01189, allocations: 2.406 kB / 0.6587 GB, free: 29.95 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01189, allocations: 3.719 kB / 0.6587 GB, free: 29.95 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.01235, allocations: 0.6763 MB / 0.6594 GB, free: 29.48 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.01238, allocations: 25.41 kB / 0.6594 GB, free: 29.47 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.01241, allocations: 17.59 kB / 0.6594 GB, free: 29.46 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.446e-05/0.01251, allocations: 15.95 kB / 0.6594 GB, free: 29.45 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.01257, allocations: 28.62 kB / 0.6594 GB, free: 29.45 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.01259, allocations: 14.22 kB / 0.6594 GB, free: 29.44 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 8.845e-05/0.01268, allocations: 194.1 kB / 0.6596 GB, free: 29.31 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.01268, allocations: 0 / 0.6596 GB, free: 29.31 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002451/0.01292, allocations: 84.16 kB / 0.6597 GB, free: 29.3 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 8.852e-05/0.01301, allocations: 115.7 kB / 0.6598 GB, free: 29.21 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.00034/0.01335, allocations: 0.5055 MB / 0.6603 GB, free: 28.81 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01335, allocations: 0 / 0.6603 GB, free: 28.81 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.01451, allocations: 278.1 kB / 0.6606 GB, free: 28.59 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.01488, allocations: 91.98 kB / 0.6607 GB, free: 28.56 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.01658, allocations: 0.9061 MB / 0.6616 GB, free: 27.96 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.679e-05/0.01667, allocations: 154.4 kB / 0.6617 GB, free: 27.89 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.01674, allocations: 32 kB / 0.6617 GB, free: 27.88 MB / 0.5262 GB Notification: Performance of SimCode: time 1.613e-06/0.01674, allocations: 1.438 kB / 0.6617 GB, free: 27.88 MB / 0.5262 GB Notification: Performance of Templates: time 0.005139/0.02188, allocations: 3.86 MB / 0.6655 GB, free: 27.55 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 > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.327643295982853]