Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3C_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.001039/0.001039, allocations: 91.55 kB / 20.19 MB, free: 4.348 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.001621/0.001621, allocations: 169 kB / 23.5 MB, free: 1.047 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.8976/0.8976, 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.574/1.574, allocations: 273.5 MB / 0.5213 GB, free: 14.78 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_3C_enteral,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3C_enteral") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_3C_enteral,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3C_enteral") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.6471 GB, free: 38.47 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.881e-05, allocations: 5.547 kB / 0.6471 GB, free: 38.46 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_3C_enteral): time 0.002896/0.002914, allocations: 3.842 MB / 0.6508 GB, free: 35.97 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.003968, allocations: 0.8846 MB / 0.6517 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.00409, allocations: 2.375 kB / 0.6517 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.004226, allocations: 59.97 kB / 0.6517 GB, free: 35.35 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.004467, allocations: 185 kB / 0.6519 GB, free: 35.24 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.004733, allocations: 136.9 kB / 0.652 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.00037/0.005103, allocations: 0.5961 MB / 0.6526 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.005285, allocations: 101.4 kB / 0.6527 GB, free: 34.78 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.005524, allocations: 313.9 kB / 0.653 GB, free: 34.66 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.005762, allocations: 186.8 kB / 0.6532 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.743e-05/0.005809, allocations: 41.34 kB / 0.6532 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.621e-05/0.005855, allocations: 43.16 kB / 0.6533 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.533e-05/0.005901, allocations: 95.69 kB / 0.6534 GB, free: 34.54 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.006029, allocations: 187.9 kB / 0.6536 GB, free: 34.46 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.006303, allocations: 349 kB / 0.6539 GB, free: 34.3 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.006305, allocations: 3.594 kB / 0.6539 GB, free: 34.3 MB / 0.5262 GB Notification: Performance of FrontEnd: time 6.82e-07/0.006306, allocations: 0 / 0.6539 GB, free: 34.3 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.006312, allocations: 0 / 0.6539 GB, free: 34.3 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.0007839/0.007096, allocations: 0.889 MB / 0.6548 GB, free: 33.55 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.007132, allocations: 7.062 kB / 0.6548 GB, free: 33.55 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.264e-05/0.007225, allocations: 84.73 kB / 0.6548 GB, free: 33.52 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.007463, allocations: 270.3 kB / 0.6551 GB, free: 33.3 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.007483, allocations: 27.81 kB / 0.6551 GB, free: 33.29 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.00754, allocations: 35.28 kB / 0.6552 GB, free: 33.28 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.007954, allocations: 437.6 kB / 0.6556 GB, free: 33 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.007972, allocations: 7.578 kB / 0.6556 GB, free: 33 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.007993, allocations: 15.59 kB / 0.6556 GB, free: 32.99 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.008005, allocations: 8.5 kB / 0.6556 GB, free: 32.99 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.00828, allocations: 295.3 kB / 0.6559 GB, free: 32.84 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.009291, allocations: 1.064 MB / 0.6569 GB, free: 32.09 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.009689, allocations: 308.6 kB / 0.6572 GB, free: 31.89 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.009855, allocations: 211.8 kB / 0.6574 GB, free: 31.73 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.009883, allocations: 8.031 kB / 0.6574 GB, free: 31.73 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/0.01024, allocations: 0.5602 MB / 0.658 GB, free: 31.27 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=58): time 1.853e-06/0.01024, allocations: 0 / 0.658 GB, free: 31.27 MB / 0.5262 GB Notification: Performance of matching and sorting (n=62): time 0.001419/0.01166, allocations: 1.653 MB / 0.6596 GB, free: 30.16 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.01172, allocations: 388.1 kB / 0.66 GB, free: 29.71 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.01191, allocations: 338.5 kB / 0.6603 GB, free: 29.5 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.01194, allocations: 44.7 kB / 0.6603 GB, free: 29.46 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.01201, allocations: 235.8 kB / 0.6606 GB, free: 29.25 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 8.136e-05/0.01209, allocations: 207.4 kB / 0.6608 GB, free: 29.09 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.0122, allocations: 115.7 kB / 0.6609 GB, free: 29.02 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.01227, allocations: 0.5299 MB / 0.6614 GB, free: 28.51 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.01245, allocations: 256.3 kB / 0.6616 GB, free: 28.32 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.01265, allocations: 475.6 kB / 0.6621 GB, free: 27.85 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005041/0.01316, allocations: 0.8999 MB / 0.663 GB, free: 27.03 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01316, allocations: 1.438 kB / 0.663 GB, free: 27.03 MB / 0.5262 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0005678/0.01373, allocations: 0.7859 MB / 0.6637 GB, free: 26.53 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.01377, allocations: 150.6 kB / 0.6639 GB, free: 26.37 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.01378, allocations: 5.656 kB / 0.6639 GB, free: 26.37 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.0138, allocations: 14.88 kB / 0.6639 GB, free: 26.36 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.01408, allocations: 140.9 kB / 0.664 GB, free: 26.35 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.0141, allocations: 11.39 kB / 0.664 GB, free: 26.35 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.01424, allocations: 32.39 kB / 0.6641 GB, free: 26.34 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.01427, allocations: 30.38 kB / 0.6641 GB, free: 26.33 MB / 0.5262 GB Warning: Assuming fixed start value for the following 18 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 peripheral1.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real peripheral1.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral1.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) 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 peripheral1.rising:DISCRETE(fixed = true protected = true ) type: Boolean 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: 20 * Number of states: 0 () * Number of discrete variables: 37 ($PRE.peripheral1.Cmin,peripheral1.Cmin,$PRE.peripheral1.Cmax,peripheral1.Cmax,$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.peripheral1.rising,$PRE.peripheral.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.periodicDose.absorptionLumen.rising,$PRE.central.rising,peripheral1.rising,peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,periodicDose.absorptionLumen.rising,central.rising,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 5 * 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.0002144/0.01449, allocations: 395.8 kB / 0.6645 GB, free: 25.98 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.01455, allocations: 78.03 kB / 0.6645 GB, free: 25.95 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.0146, allocations: 50.77 kB / 0.6646 GB, free: 25.91 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.0146, allocations: 0 / 0.6646 GB, free: 25.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.0146, allocations: 3.141 kB / 0.6646 GB, free: 25.91 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.0147, allocations: 74.34 kB / 0.6647 GB, free: 25.88 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.01475, allocations: 22.56 kB / 0.6647 GB, free: 25.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.993e-05/0.01485, allocations: 18 kB / 0.6647 GB, free: 25.86 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.01494, allocations: 46.61 kB / 0.6648 GB, free: 25.85 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006912/0.01563, allocations: 0.812 MB / 0.6655 GB, free: 25.34 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007715/0.0164, allocations: 1.202 MB / 0.6667 GB, free: 24.5 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001932/0.0166, allocations: 271 kB / 0.667 GB, free: 24.34 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0001136/0.01671, allocations: 229.2 kB / 0.6672 GB, free: 24.19 MB / 0.5262 GB Notification: Performance of Backend: time 3.41e-07/0.01671, allocations: 0 / 0.6672 GB, free: 24.19 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0005723/0.01728, allocations: 0.7428 MB / 0.6679 GB, free: 23.57 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001837/0.01912, allocations: 2.08 MB / 0.67 GB, free: 21.89 MB / 0.5262 GB Notification: Performance of Templates: time 0.009318/0.02844, allocations: 7.031 MB / 0.6768 GB, free: 21.29 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3C_enteral.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3C_enteral.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3C_enteral.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3C_enteral.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3C_enteral.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3C_enteral -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3C_enteral.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.828779330011457]