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.0007662/0.0007662, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009604/0.001727, allocations: 435.8 kB / 10.33 MB, free: 364 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.0007607/0.0007607, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001777, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.012/1.012, allocations: 177.1 MB / 189.6 MB, free: 5.336 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09195/1.104, allocations: 53.67 MB / 243.2 MB, free: 15.59 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.7979/0.7979, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03152/0.8294, allocations: 21.04 MB / 0.5431 GB, free: 31.97 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.763e-06/1.763e-06, allocations: 0 / 0.5444 GB, free: 30.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.516e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention): time 0.003057/0.003082, allocations: 1.828 MB / 0.5462 GB, free: 28.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.004131, allocations: 0.5765 MB / 0.5467 GB, free: 28.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.004206, allocations: 7.938 kB / 0.5468 GB, free: 28.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.68e-05/0.004283, allocations: 11.86 kB / 0.5468 GB, free: 28.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.004592, allocations: 67.48 kB / 0.5468 GB, free: 28.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.004818, allocations: 59.83 kB / 0.5469 GB, free: 28.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.005066, allocations: 183.3 kB / 0.5471 GB, free: 27.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.00511, allocations: 5.969 kB / 0.5471 GB, free: 27.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.005331, allocations: 115.7 kB / 0.5472 GB, free: 27.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.005586, allocations: 87.77 kB / 0.5473 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.005622, allocations: 8 kB / 0.5473 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.815e-05/0.00565, allocations: 8 kB / 0.5473 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.729e-05/0.005728, allocations: 35.91 kB / 0.5473 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.005791, allocations: 35.88 kB / 0.5473 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.005955, allocations: 91.67 kB / 0.5474 GB, free: 27.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.727e-05/0.005972, allocations: 0 / 0.5474 GB, free: 27.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.005973, allocations: 4 kB / 0.5474 GB, free: 27.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.017e-05/0.005994, allocations: 0 / 0.5474 GB, free: 27.56 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.0006521/0.006646, allocations: 411.8 kB / 0.5478 GB, free: 27.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.006679, allocations: 11.89 kB / 0.5478 GB, free: 27.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.006736, allocations: 24.86 kB / 0.5479 GB, free: 27.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.006926, allocations: 156.2 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.006952, allocations: 12.38 kB / 0.548 GB, free: 26.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.006981, allocations: 8.375 kB / 0.548 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.007199, allocations: 88.94 kB / 0.5481 GB, free: 26.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.00721, allocations: 192 / 0.5481 GB, free: 26.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.007223, allocations: 384 / 0.5481 GB, free: 26.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.007231, allocations: 7.938 kB / 0.5481 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.847e-05/0.00732, allocations: 23.92 kB / 0.5481 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.007563, allocations: 181.9 kB / 0.5483 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.00774, allocations: 136 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.007793, allocations: 36.83 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.007808, allocations: 0 / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.007961, allocations: 94.09 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.404e-06/0.007963, allocations: 0 / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002154/0.008179, allocations: 102.3 kB / 0.5487 GB, free: 26.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.008208, allocations: 63.34 kB / 0.5487 GB, free: 26.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.558e-05/0.008303, allocations: 154.8 kB / 0.5489 GB, free: 25.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.008325, allocations: 33.7 kB / 0.5489 GB, free: 25.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.00836, allocations: 92.86 kB / 0.549 GB, free: 25.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.008402, allocations: 59.53 kB / 0.5491 GB, free: 25.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.008465, allocations: 41.69 kB / 0.5491 GB, free: 25.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.023e-05/0.008505, allocations: 330.8 kB / 0.5494 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.98e-05/0.008565, allocations: 52.45 kB / 0.5495 GB, free: 25.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.728e-05/0.008653, allocations: 161.2 kB / 0.5496 GB, free: 25.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.008762, allocations: 96.09 kB / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.008764, allocations: 0 / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001723/0.008937, allocations: 162.8 kB / 0.5499 GB, free: 24.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.008971, allocations: 33.7 kB / 0.5499 GB, free: 24.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.008976, allocations: 0 / 0.5499 GB, free: 24.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.008989, allocations: 4 kB / 0.5499 GB, free: 24.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.009185, allocations: 39.92 kB / 0.5499 GB, free: 24.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.00919, allocations: 0 / 0.5499 GB, free: 24.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.009315, allocations: 27.88 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.00933, allocations: 4 kB / 0.55 GB, free: 24.73 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 7.383e-05/0.009404, allocations: 128.6 kB / 0.5501 GB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.009433, allocations: 15.92 kB / 0.5501 GB, free: 24.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.009604, allocations: 102.7 kB / 0.5502 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.009608, allocations: 11.06 kB / 0.5502 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.00961, allocations: 0 / 0.5502 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.009616, allocations: 3.984 kB / 0.5502 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.009733, allocations: 109.7 kB / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.009736, allocations: 0 / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.009884, allocations: 31.92 kB / 0.5504 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.009911, allocations: 19.89 kB / 0.5504 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.009915, allocations: 0 / 0.5504 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.009938, allocations: 11.92 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.009941, allocations: 4 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.009943, allocations: 0 / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.01016, allocations: 150.7 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.01019, allocations: 3.938 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.01029, allocations: 15.98 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.01034, allocations: 11.97 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.01035, allocations: 4 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.806e-05/0.0104, allocations: 44.8 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0104, allocations: 0 / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000204/0.0106, 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 0.0001035/0.0107, allocations: 92.3 kB / 0.5507 GB, free: 23.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.01089, allocations: 165 kB / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.01091, allocations: 4 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.058e-05/0.01098, allocations: 36.78 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.000248/0.01123, allocations: 73.31 kB / 0.551 GB, free: 23.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004685/0.01591, allocations: 398.1 kB / 0.5514 GB, free: 23.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.01595, allocations: 71.98 kB / 0.5514 GB, free: 23.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.01611, allocations: 25.56 kB / 0.5515 GB, free: 23.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.0163, allocations: 99.33 kB / 0.5516 GB, free: 22.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/0.0163, allocations: 0 / 0.5516 GB, free: 22.96 MB / 410.7 MB Notification: Performance of Templates: time 0.006472/0.02277, allocations: 3.262 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.318182025104761]