Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.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.001019/0.001019, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002443, allocations: 435.8 kB / 10.33 MB, free: 368 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.001061/0.001061, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001213/0.002275, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.041/1.041, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1036/1.145, allocations: 53.66 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.7486/0.7486, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03369/0.7823, allocations: 21.03 MB / 0.5431 GB, free: 31.96 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.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2419200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2419200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.031e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab): time 0.00266/0.00268, allocations: 2.534 MB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008392/0.00352, allocations: 0.6271 MB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.298e-05/0.003603, allocations: 0 / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.658e-05/0.003669, allocations: 31.64 kB / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.003817, allocations: 87.33 kB / 0.5477 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.003957, allocations: 51.81 kB / 0.5478 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.004174, allocations: 266.6 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.004282, allocations: 38.48 kB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.004465, allocations: 176.2 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.004618, allocations: 87.72 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.004646, allocations: 16 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.648e-05/0.004673, allocations: 16 kB / 0.5484 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.004702, allocations: 35.81 kB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.073e-05/0.004773, allocations: 59.88 kB / 0.5485 GB, free: 26.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.004936, allocations: 143.5 kB / 0.5486 GB, free: 26.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.004944, allocations: 0 / 0.5486 GB, free: 26.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004945, allocations: 0 / 0.5486 GB, free: 26.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.004953, allocations: 0 / 0.5486 GB, free: 26.37 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005319/0.005484, allocations: 0.4898 MB / 0.5491 GB, free: 25.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.005515, allocations: 15.89 kB / 0.5491 GB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.005558, allocations: 28.92 kB / 0.5491 GB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.005708, allocations: 175.1 kB / 0.5493 GB, free: 25.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.00572, allocations: 8.609 kB / 0.5493 GB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.005741, allocations: 20.36 kB / 0.5493 GB, free: 25.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.005889, allocations: 155.5 kB / 0.5495 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.005898, allocations: 3.984 kB / 0.5495 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.005906, allocations: 3.938 kB / 0.5495 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.00591, allocations: 4 kB / 0.5495 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.034e-05/0.00599, allocations: 80.64 kB / 0.5495 GB, free: 25.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.006327, allocations: 368.9 kB / 0.5499 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.006486, allocations: 116.1 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.006524, allocations: 62.47 kB / 0.5501 GB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.006532, allocations: 4 kB / 0.5501 GB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.006652, allocations: 194.5 kB / 0.5503 GB, free: 24.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.172e-06/0.006653, allocations: 0 / 0.5503 GB, free: 24.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000539/0.007192, allocations: 0.5074 MB / 0.5507 GB, free: 23.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.00722, allocations: 140.5 kB / 0.5509 GB, free: 23.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.345e-05/0.007313, allocations: 206.1 kB / 0.5511 GB, free: 23.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.007325, allocations: 25.7 kB / 0.5511 GB, free: 23.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.007362, allocations: 120.4 kB / 0.5512 GB, free: 23.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.007397, allocations: 71.41 kB / 0.5513 GB, free: 23.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.007453, allocations: 55.17 kB / 0.5513 GB, free: 23.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.356e-05/0.007486, allocations: 334.8 kB / 0.5517 GB, free: 22.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.719e-05/0.007544, allocations: 100.9 kB / 0.5518 GB, free: 22.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.575e-05/0.007619, allocations: 181.3 kB / 0.5519 GB, free: 22.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.007736, allocations: 207.7 kB / 0.5521 GB, free: 22.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.007737, allocations: 0 / 0.5521 GB, free: 22.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001753/0.007912, allocations: 270.1 kB / 0.5524 GB, free: 22.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.007938, allocations: 59.41 kB / 0.5524 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.007942, allocations: 0 / 0.5524 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.672e-06/0.007948, allocations: 7.938 kB / 0.5524 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.008121, allocations: 67.89 kB / 0.5525 GB, free: 21.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.008125, allocations: 4 kB / 0.5525 GB, free: 21.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.917e-05/0.008224, allocations: 19.92 kB / 0.5525 GB, free: 21.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.008236, allocations: 8.219 kB / 0.5525 GB, free: 21.89 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001019/0.008338, allocations: 173.6 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.008362, allocations: 23.98 kB / 0.5527 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.00839, allocations: 21.95 kB / 0.5528 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.008391, allocations: 0 / 0.5528 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.008393, allocations: 0 / 0.5528 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.008397, allocations: 0 / 0.5528 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.008658, allocations: 382.2 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.00866, allocations: 11.92 kB / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.008793, allocations: 43.22 kB / 0.5532 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.008815, allocations: 19.84 kB / 0.5532 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.008818, allocations: 4 kB / 0.5532 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.00883, allocations: 4 kB / 0.5532 GB, free: 21.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008831, allocations: 0 / 0.5532 GB, free: 21.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008832, allocations: 0 / 0.5532 GB, free: 21.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.009022, allocations: 351.8 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.009048, allocations: 8 kB / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.737e-05/0.009146, allocations: 19.98 kB / 0.5536 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.009185, allocations: 15.97 kB / 0.5536 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.009195, allocations: 11.92 kB / 0.5536 GB, free: 20.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.048e-05/0.009245, allocations: 65.95 kB / 0.5536 GB, free: 20.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009245, allocations: 0 / 0.5536 GB, free: 20.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.009464, allocations: 52 kB / 0.5537 GB, free: 20.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 7.323e-05/0.009537, allocations: 88.36 kB / 0.5538 GB, free: 20.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.009711, allocations: 308.7 kB / 0.5541 GB, free: 20.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.009718, allocations: 4 kB / 0.5541 GB, free: 20.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.00979, allocations: 149.8 kB / 0.5542 GB, free: 20.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.01006, allocations: 92.98 kB / 0.5543 GB, free: 19.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00711/0.01717, allocations: 0.5693 MB / 0.5549 GB, free: 19.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.652e-05/0.01722, allocations: 84.31 kB / 0.5549 GB, free: 19.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.01734, allocations: 25.98 kB / 0.555 GB, free: 19.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.01749, allocations: 115.3 kB / 0.5551 GB, free: 19.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.0175, allocations: 0 / 0.5551 GB, free: 19.09 MB / 410.7 MB Notification: Performance of Templates: time 0.005645/0.02314, allocations: 3.775 MB / 0.5588 GB, free: 15.41 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.293592320755124]