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.0009078/0.0009078, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002194, allocations: 455.9 kB / 10.35 MB, free: 348 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.001063/0.001063, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00129/0.002353, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.9255/0.9255, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08505/1.011, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.6713/0.6713, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02423/0.6956, allocations: 21.04 MB / 0.5433 GB, free: 31.73 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.843e-06/1.843e-06, allocations: 0 / 0.5445 GB, free: 30.45 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.905e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.45 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.TK_Retention): time 0.001693/0.001712, allocations: 1.835 MB / 0.5463 GB, free: 28.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005677/0.00228, allocations: 0.5726 MB / 0.5469 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.002326, allocations: 7.938 kB / 0.5469 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.903e-05/0.002375, allocations: 7.922 kB / 0.5469 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.002572, allocations: 75.41 kB / 0.547 GB, free: 27.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.002683, allocations: 63.83 kB / 0.547 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.002848, allocations: 175.3 kB / 0.5472 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.002892, allocations: 9.953 kB / 0.5472 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.003038, allocations: 119.7 kB / 0.5473 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.003225, allocations: 91.75 kB / 0.5474 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.003249, allocations: 4 kB / 0.5474 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.073e-05/0.003269, allocations: 8 kB / 0.5474 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.003329, allocations: 35.92 kB / 0.5474 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.003379, allocations: 31.94 kB / 0.5475 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.003502, allocations: 103.6 kB / 0.5476 GB, free: 27.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.003513, allocations: 0 / 0.5476 GB, free: 27.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.003514, allocations: 0 / 0.5476 GB, free: 27.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.003525, allocations: 0 / 0.5476 GB, free: 27.31 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.0005036/0.004028, allocations: 407.9 kB / 0.548 GB, free: 26.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.608e-05/0.004054, allocations: 11.89 kB / 0.548 GB, free: 26.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.004088, allocations: 20.92 kB / 0.548 GB, free: 26.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.004215, allocations: 164.2 kB / 0.5481 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.00423, allocations: 4.375 kB / 0.5481 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.004252, allocations: 12.38 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.004381, allocations: 84.95 kB / 0.5482 GB, free: 26.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.004387, allocations: 192 / 0.5482 GB, free: 26.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.004396, allocations: 384 / 0.5482 GB, free: 26.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.004402, allocations: 7.938 kB / 0.5482 GB, free: 26.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.858e-05/0.004451, allocations: 27.91 kB / 0.5483 GB, free: 26.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.004613, allocations: 177.9 kB / 0.5484 GB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.004724, allocations: 132.2 kB / 0.5486 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.004754, allocations: 32.83 kB / 0.5486 GB, free: 26.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.00477, allocations: 3.938 kB / 0.5486 GB, free: 26.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.004877, allocations: 90.11 kB / 0.5487 GB, free: 26.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.004879, allocations: 0 / 0.5487 GB, free: 26.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001445/0.005023, allocations: 102.3 kB / 0.5488 GB, free: 25.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.005045, allocations: 63.34 kB / 0.5488 GB, free: 25.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.382e-05/0.005108, allocations: 158.8 kB / 0.549 GB, free: 25.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.005121, allocations: 37.7 kB / 0.549 GB, free: 25.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.533e-05/0.005146, allocations: 92.86 kB / 0.5491 GB, free: 25.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.00517, allocations: 55.53 kB / 0.5492 GB, free: 25.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.00521, allocations: 41.69 kB / 0.5492 GB, free: 25.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.094e-05/0.005241, allocations: 334.8 kB / 0.5495 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.755e-05/0.005279, allocations: 44.53 kB / 0.5496 GB, free: 25.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-05/0.005335, allocations: 162.1 kB / 0.5497 GB, free: 24.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.494e-05/0.0054, allocations: 94.91 kB / 0.5498 GB, free: 24.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005401, allocations: 0 / 0.5498 GB, free: 24.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001035/0.005505, allocations: 163.8 kB / 0.55 GB, free: 24.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.005532, allocations: 37.7 kB / 0.55 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.005536, allocations: 0 / 0.55 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.005543, allocations: 0 / 0.55 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.005664, allocations: 43.91 kB / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.005666, allocations: 0 / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.268e-05/0.005739, allocations: 27.88 kB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.005747, allocations: 0 / 0.5501 GB, free: 24.5 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 4.616e-05/0.005793, allocations: 124.7 kB / 0.5502 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.00581, allocations: 22.98 kB / 0.5502 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.00592, allocations: 113.5 kB / 0.5503 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.005921, allocations: 4 kB / 0.5503 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.005922, allocations: 0 / 0.5503 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.005926, allocations: 0 / 0.5503 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.56e-05/0.006001, allocations: 105.8 kB / 0.5504 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.006003, allocations: 0 / 0.5504 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.006093, allocations: 27.98 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.006109, allocations: 23.88 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.006112, allocations: 7.969 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.006126, allocations: 4 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.006128, allocations: 4 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006128, allocations: 7.938 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.006272, allocations: 150.7 kB / 0.5507 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.00629, allocations: 3.938 kB / 0.5507 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.375e-05/0.006343, allocations: 15.98 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.006383, allocations: 11.97 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.006391, allocations: 4 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.685e-05/0.006418, allocations: 40.81 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006418, allocations: 0 / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001097/0.006528, allocations: 40 kB / 0.5508 GB, free: 23.75 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.48e-05/0.006592, allocations: 92.28 kB / 0.5509 GB, free: 23.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.006717, allocations: 157.8 kB / 0.551 GB, free: 23.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.006724, allocations: 4 kB / 0.551 GB, free: 23.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.387e-05/0.006778, allocations: 55.42 kB / 0.5511 GB, free: 23.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.00694, allocations: 70.7 kB / 0.5511 GB, free: 23.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.0097, allocations: 386.1 kB / 0.5515 GB, free: 22.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.453e-05/0.009725, allocations: 75.98 kB / 0.5516 GB, free: 22.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.913e-05/0.009794, allocations: 17.48 kB / 0.5516 GB, free: 22.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.00991, allocations: 99.33 kB / 0.5517 GB, free: 22.73 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.009911, allocations: 0 / 0.5517 GB, free: 22.73 MB / 410.7 MB Notification: Performance of Templates: time 0.003989/0.0139, allocations: 3.265 MB / 0.5549 GB, free: 19.54 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.036519921384752]