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.0008093/0.0008093, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002273, allocations: 435.8 kB / 10.31 MB, free: 384 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.0008588/0.0008588, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.002054, allocations: 463.6 kB / 11.65 MB, free: 2.516 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 1.045/1.045, allocations: 177.1 MB / 189.5 MB, free: 5.348 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09625/1.141, allocations: 53.67 MB / 243.2 MB, free: 15.6 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.8041/0.8041, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03082/0.8349, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.733e-06/1.733e-06, allocations: 0 / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.36e-05, allocations: 10.19 kB / 0.5444 GB, free: 30.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention): time 0.002234/0.002257, allocations: 1.817 MB / 0.5461 GB, free: 28.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006578/0.002915, allocations: 0.5726 MB / 0.5467 GB, free: 28.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.002964, allocations: 3.938 kB / 0.5467 GB, free: 28.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.218e-05/0.003016, allocations: 7.922 kB / 0.5467 GB, free: 28.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.003245, allocations: 75.41 kB / 0.5468 GB, free: 28.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.003395, allocations: 59.83 kB / 0.5468 GB, free: 28.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.003586, allocations: 175.3 kB / 0.547 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.003635, allocations: 13.95 kB / 0.547 GB, free: 27.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.003817, allocations: 123.7 kB / 0.5471 GB, free: 27.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.004041, allocations: 83.77 kB / 0.5472 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.004069, allocations: 8 kB / 0.5472 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.483e-05/0.004094, allocations: 8 kB / 0.5472 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.888e-05/0.004162, allocations: 31.92 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.39e-05/0.004216, allocations: 35.88 kB / 0.5473 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.004361, allocations: 95.66 kB / 0.5474 GB, free: 27.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.767e-05/0.004379, allocations: 0 / 0.5474 GB, free: 27.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.00438, allocations: 0 / 0.5474 GB, free: 27.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.00439, allocations: 4 kB / 0.5474 GB, free: 27.55 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.0005257/0.004916, allocations: 411.9 kB / 0.5478 GB, free: 27.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.004945, allocations: 11.89 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.004983, allocations: 16.92 kB / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.005118, allocations: 160.2 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.005136, allocations: 8.375 kB / 0.548 GB, free: 26.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.005157, allocations: 12.36 kB / 0.548 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.005286, allocations: 92.94 kB / 0.5481 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.005293, allocations: 192 / 0.5481 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.005303, allocations: 384 / 0.5481 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.005308, allocations: 7.938 kB / 0.5481 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.005355, allocations: 31.91 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.005535, allocations: 173.9 kB / 0.5483 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.005656, allocations: 132.1 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.005688, allocations: 28.84 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.005704, allocations: 4 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.005814, allocations: 94.09 kB / 0.5485 GB, free: 26.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.005815, allocations: 0 / 0.5485 GB, free: 26.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001525/0.005968, allocations: 109.8 kB / 0.5486 GB, free: 26.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.005992, allocations: 55.41 kB / 0.5487 GB, free: 26.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.006061, allocations: 158.7 kB / 0.5488 GB, free: 25.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.006074, allocations: 33.7 kB / 0.5489 GB, free: 25.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.006105, allocations: 92.86 kB / 0.549 GB, free: 25.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.006132, allocations: 59.53 kB / 0.549 GB, free: 25.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.006176, allocations: 45.69 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.707e-05/0.006213, allocations: 326.8 kB / 0.5494 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.006256, allocations: 48.52 kB / 0.5494 GB, free: 25.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.006314, allocations: 165.1 kB / 0.5496 GB, free: 25.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.147e-05/0.006386, allocations: 96.09 kB / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006388, allocations: 0 / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001119/0.0065, allocations: 162.6 kB / 0.5498 GB, free: 24.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.006527, allocations: 33.7 kB / 0.5498 GB, free: 24.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.006533, allocations: 3.312 kB / 0.5498 GB, free: 24.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.006541, allocations: 0 / 0.5498 GB, free: 24.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.006667, allocations: 47.91 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.00667, allocations: 0 / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.847e-05/0.006748, allocations: 27.88 kB / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.006758, allocations: 8 kB / 0.5499 GB, free: 24.72 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.45e-05/0.006812, allocations: 120.6 kB / 0.55 GB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.006829, allocations: 15.92 kB / 0.5501 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.006956, allocations: 109.8 kB / 0.5502 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.006959, allocations: 4 kB / 0.5502 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.006961, allocations: 4 kB / 0.5502 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.006964, allocations: 0 / 0.5502 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.518e-05/0.007049, allocations: 105.8 kB / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.00705, allocations: 0 / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.007151, allocations: 31.92 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.007169, allocations: 23.88 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.007172, allocations: 0 / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.007186, allocations: 7.938 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.007188, allocations: 4 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.00719, allocations: 0 / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.007347, allocations: 154.7 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.007365, allocations: 3.938 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.131e-05/0.007427, allocations: 15.98 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.007467, allocations: 20.05 kB / 0.5505 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.007474, allocations: 0 / 0.5505 GB, free: 24.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.156e-05/0.007505, allocations: 40.81 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007505, allocations: 0 / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001342/0.007639, allocations: 36 kB / 0.5506 GB, free: 23.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (q[1],q[2],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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 6.993e-05/0.007709, allocations: 88.34 kB / 0.5507 GB, free: 23.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.007846, allocations: 165.8 kB / 0.5508 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.007849, allocations: 0 / 0.5508 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.458e-05/0.007893, allocations: 43.91 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.008058, allocations: 69.52 kB / 0.5509 GB, free: 23.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.01078, allocations: 402.1 kB / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.788e-05/0.01081, allocations: 75.98 kB / 0.5514 GB, free: 23.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.57e-05/0.01088, allocations: 17.48 kB / 0.5514 GB, free: 23.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.011, allocations: 99.33 kB / 0.5515 GB, free: 22.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/0.011, allocations: 4 kB / 0.5515 GB, free: 22.96 MB / 410.7 MB Notification: Performance of Templates: time 0.00439/0.01539, allocations: 3.257 MB / 0.5547 GB, free: 19.78 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 > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.TK_Retention.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4164506578817964]