Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.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.000973/0.000973, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008909/0.001864, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.0006961/0.0006961, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009866/0.001683, allocations: 475.7 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9761/0.9761, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08893/1.065, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7702/0.7702, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03315/0.8033, allocations: 21.04 MB / 0.5432 GB, free: 31.94 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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.TK_Retention,tolerance=1e-09,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention") translateModel(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention,tolerance=1e-09,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.68e-05, allocations: 6.312 kB / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention): time 0.002063/0.00208, allocations: 1.836 MB / 0.5462 GB, free: 28.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003772/0.005852, allocations: 0.5765 MB / 0.5468 GB, free: 28.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.005901, allocations: 0 / 0.5468 GB, free: 28.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.716e-05/0.005948, allocations: 11.86 kB / 0.5468 GB, free: 28.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.006179, allocations: 71.47 kB / 0.5469 GB, free: 28.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.006327, allocations: 67.78 kB / 0.5469 GB, free: 28.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.006511, allocations: 171.3 kB / 0.5471 GB, free: 27.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.006562, allocations: 5.969 kB / 0.5471 GB, free: 27.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.00673, allocations: 119.7 kB / 0.5472 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.006952, allocations: 91.75 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.006982, allocations: 8 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.373e-05/0.007006, allocations: 8 kB / 0.5473 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.328e-05/0.007079, allocations: 35.91 kB / 0.5474 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.007139, allocations: 43.88 kB / 0.5474 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.007294, allocations: 87.67 kB / 0.5475 GB, free: 27.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.337e-05/0.007308, allocations: 0 / 0.5475 GB, free: 27.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.007308, allocations: 4 kB / 0.5475 GB, free: 27.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.007325, allocations: 0 / 0.5475 GB, free: 27.52 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006158/0.007941, allocations: 403.9 kB / 0.5479 GB, free: 27.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.007973, allocations: 15.89 kB / 0.5479 GB, free: 27.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.008017, allocations: 20.92 kB / 0.5479 GB, free: 27.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.008155, allocations: 164.2 kB / 0.5481 GB, free: 26.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.008171, allocations: 4.375 kB / 0.5481 GB, free: 26.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.008196, allocations: 8.375 kB / 0.5481 GB, free: 26.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.00833, allocations: 84.94 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.008338, allocations: 192 / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.008349, allocations: 4.375 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.008356, allocations: 7.938 kB / 0.5482 GB, free: 26.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.617e-05/0.008412, allocations: 19.98 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.01162, allocations: 189.8 kB / 0.5484 GB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.01176, allocations: 132.1 kB / 0.5485 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.0118, allocations: 24.84 kB / 0.5485 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.01181, allocations: 8 kB / 0.5485 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.01194, allocations: 86.16 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.01194, allocations: 0 / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001781/0.01212, allocations: 110.2 kB / 0.5487 GB, free: 26.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.01214, allocations: 55.34 kB / 0.5488 GB, free: 26.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.042e-05/0.01222, allocations: 170.8 kB / 0.5489 GB, free: 25.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.01224, allocations: 25.7 kB / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/0.01227, allocations: 96.86 kB / 0.5491 GB, free: 25.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.0123, allocations: 55.53 kB / 0.5491 GB, free: 25.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.01235, allocations: 41.69 kB / 0.5492 GB, free: 25.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.534e-05/0.01239, allocations: 326.8 kB / 0.5495 GB, free: 25.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.01244, allocations: 52.52 kB / 0.5495 GB, free: 25.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-05/0.01251, allocations: 165.1 kB / 0.5497 GB, free: 25.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.606e-05/0.0126, allocations: 92.09 kB / 0.5498 GB, free: 25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.0126, allocations: 4 kB / 0.5498 GB, free: 24.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001367/0.01274, allocations: 166.7 kB / 0.5499 GB, free: 24.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.01277, allocations: 33.7 kB / 0.55 GB, free: 24.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.01277, allocations: 6.641 kB / 0.55 GB, free: 24.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.01279, allocations: 4 kB / 0.55 GB, free: 24.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.01293, allocations: 35.92 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.01294, allocations: 4 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.824e-05/0.01303, allocations: 23.88 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.01304, allocations: 4 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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 5.872e-05/0.0131, allocations: 124.7 kB / 0.5501 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.01312, allocations: 19.92 kB / 0.5502 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.01326, allocations: 113.7 kB / 0.5503 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.01327, allocations: 6.734 kB / 0.5503 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01327, allocations: 0 / 0.5503 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.01329, allocations: 15.84 kB / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.0133, allocations: 0 / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.01333, allocations: 8 kB / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.0134, allocations: 7.984 kB / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.01344, allocations: 19.97 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002197/0.01366, allocations: 232.7 kB / 0.5506 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001956/0.01386, allocations: 352.1 kB / 0.5509 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.466e-05/0.01391, allocations: 31.97 kB / 0.5509 GB, free: 23.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.719e-05/0.01395, allocations: 44.81 kB / 0.551 GB, free: 23.7 MB / 410.7 MB Notification: Performance of Backend: time 2.5e-07/0.01395, allocations: 0 / 0.551 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003163/0.01427, allocations: 217.4 kB / 0.5512 GB, free: 23.46 MB / 410.7 MB Notification: Performance of SimCode: time 0.009847/0.02411, allocations: 0.9227 MB / 0.5521 GB, free: 22.49 MB / 410.7 MB Notification: Performance of Templates: time 0.006422/0.03054, allocations: 3.468 MB / 0.5555 GB, free: 19.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.3217145884409547]