Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral.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.001069/0.001069, allocations: 91.55 kB / 20.19 MB, free: 4.344 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.001553/0.001553, allocations: 169 kB / 23.5 MB, free: 1.039 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.9307/0.9307, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.552/1.552, allocations: 273.5 MB / 0.5213 GB, free: 14.81 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_enteral,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.647 GB, free: 38.52 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.43e-05, allocations: 2.312 kB / 0.647 GB, free: 38.51 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral): time 0.003102/0.003126, allocations: 3.402 MB / 0.6503 GB, free: 36.3 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.000917/0.004043, allocations: 0.8028 MB / 0.6511 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.004154, allocations: 2.156 kB / 0.6511 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.004302, allocations: 52.05 kB / 0.6512 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.004528, allocations: 151 kB / 0.6513 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.004841, allocations: 112.4 kB / 0.6514 GB, free: 35.6 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.000388/0.005229, allocations: 496.4 kB / 0.6519 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.005406, allocations: 72.64 kB / 0.652 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.005628, allocations: 253 kB / 0.6522 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.005854, allocations: 151 kB / 0.6524 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.005897, allocations: 37.56 kB / 0.6524 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.152e-05/0.005938, allocations: 36.53 kB / 0.6524 GB, free: 35.15 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.005982, allocations: 78.73 kB / 0.6525 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.006105, allocations: 149 kB / 0.6526 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.006384, allocations: 280 kB / 0.6529 GB, free: 34.91 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.006388, allocations: 0 / 0.6529 GB, free: 34.91 MB / 0.5262 GB Notification: Performance of FrontEnd: time 7.32e-07/0.006388, allocations: 3.938 kB / 0.6529 GB, free: 34.91 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.006395, allocations: 0 / 0.6529 GB, free: 34.91 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0007525/0.007147, allocations: 0.7955 MB / 0.6537 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.007193, allocations: 9.281 kB / 0.6537 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.894e-05/0.007292, allocations: 65.58 kB / 0.6538 GB, free: 34.2 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.007523, allocations: 231.2 kB / 0.654 GB, free: 34 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.007546, allocations: 23.19 kB / 0.654 GB, free: 33.99 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.007592, allocations: 28.25 kB / 0.654 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.007945, allocations: 349.1 kB / 0.6544 GB, free: 33.76 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.007962, allocations: 5.641 kB / 0.6544 GB, free: 33.76 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.007983, allocations: 11.59 kB / 0.6544 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.007993, allocations: 10.67 kB / 0.6544 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.008211, allocations: 230.9 kB / 0.6546 GB, free: 33.64 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008723/0.009083, allocations: 0.8831 MB / 0.6555 GB, free: 33 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.009413, allocations: 251.8 kB / 0.6557 GB, free: 32.83 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.009532, allocations: 168.5 kB / 0.6559 GB, free: 32.71 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.009556, allocations: 7.25 kB / 0.6559 GB, free: 32.71 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.009828, allocations: 447.9 kB / 0.6563 GB, free: 32.34 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=46): time 1.954e-06/0.00983, allocations: 0 / 0.6563 GB, free: 32.34 MB / 0.5262 GB Notification: Performance of matching and sorting (n=49): time 0.001454/0.01128, allocations: 1.301 MB / 0.6576 GB, free: 31.46 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.01134, allocations: 305.4 kB / 0.6579 GB, free: 31.11 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.0115, allocations: 314.9 kB / 0.6582 GB, free: 30.9 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.01153, allocations: 39.3 kB / 0.6582 GB, free: 30.86 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 6.986e-05/0.01159, allocations: 220.5 kB / 0.6584 GB, free: 30.66 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/0.01166, allocations: 161.4 kB / 0.6586 GB, free: 30.54 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-05/0.01175, allocations: 104.7 kB / 0.6587 GB, free: 30.47 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.168e-05/0.01181, allocations: 0.5151 MB / 0.6592 GB, free: 29.96 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.01195, allocations: 209.9 kB / 0.6594 GB, free: 29.81 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.01214, allocations: 386.6 kB / 0.6597 GB, free: 29.43 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.01256, allocations: 0.7057 MB / 0.6604 GB, free: 28.79 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01257, allocations: 1.438 kB / 0.6604 GB, free: 28.79 MB / 0.5262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004886/0.01306, allocations: 0.6398 MB / 0.6611 GB, free: 28.38 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.01309, allocations: 115.9 kB / 0.6612 GB, free: 28.25 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.0131, allocations: 4.188 kB / 0.6612 GB, free: 28.25 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.01312, allocations: 5.625 kB / 0.6612 GB, free: 28.25 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.01336, allocations: 118.6 kB / 0.6613 GB, free: 28.24 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.01337, allocations: 10.94 kB / 0.6613 GB, free: 28.24 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.0135, allocations: 26.36 kB / 0.6613 GB, free: 28.23 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.01352, allocations: 22.19 kB / 0.6614 GB, free: 28.22 MB / 0.5262 GB Warning: Assuming fixed start value for the following 14 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.absorptionLumen.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" 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 periodicDose.absorptionLumen.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real periodicDose.absorptionLumen.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 periodicDose.absorptionLumen.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: 16 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.peripheral.Cmin,peripheral.Cmin,$PRE.peripheral.Cmax,peripheral.Cmax,$PRE.periodicDose.absorptionLumen.Cmin,periodicDose.absorptionLumen.Cmin,$PRE.periodicDose.absorptionLumen.Cmax,periodicDose.absorptionLumen.Cmax,$PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.peripheral.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.periodicDose.absorptionLumen.rising,$PRE.central.rising,peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,periodicDose.absorptionLumen.rising,central.rising,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 4 * 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.0001946/0.01371, allocations: 349.8 kB / 0.6617 GB, free: 27.92 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.01376, allocations: 53.44 kB / 0.6617 GB, free: 27.9 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.0138, allocations: 40.88 kB / 0.6618 GB, free: 27.87 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01381, allocations: 3.656 kB / 0.6618 GB, free: 27.87 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01381, allocations: 4.438 kB / 0.6618 GB, free: 27.87 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-05/0.01389, allocations: 70.16 kB / 0.6619 GB, free: 27.83 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.01394, allocations: 16.38 kB / 0.6619 GB, free: 27.82 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.01403, allocations: 13.81 kB / 0.6619 GB, free: 27.82 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/0.01411, allocations: 46.19 kB / 0.6619 GB, free: 27.8 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005434/0.01465, allocations: 0.6609 MB / 0.6626 GB, free: 27.38 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005912/0.01524, allocations: 0.9922 MB / 0.6635 GB, free: 26.68 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001524/0.01539, allocations: 209.2 kB / 0.6637 GB, free: 26.54 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 9.214e-05/0.01549, allocations: 214.2 kB / 0.6639 GB, free: 26.4 MB / 0.5262 GB Notification: Performance of Backend: time 2.51e-07/0.01549, allocations: 0 / 0.6639 GB, free: 26.4 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0005152/0.016, allocations: 0.6169 MB / 0.6645 GB, free: 25.89 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001767/0.01777, allocations: 1.829 MB / 0.6663 GB, free: 24.4 MB / 0.5262 GB Notification: Performance of Templates: time 0.007417/0.02519, allocations: 5.872 MB / 0.6721 GB, free: 23.92 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.785330237122253]