Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference.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.0007006/0.0007006, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.00202, 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.001059/0.001059, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001448/0.002507, 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.023/1.023, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09833/1.121, allocations: 53.65 MB / 243.2 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.7323/0.7323, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02847/0.7608, allocations: 21.05 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.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.903e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference): time 0.001933/0.001952, allocations: 2.506 MB / 0.5469 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00058/0.002532, allocations: 0.6194 MB / 0.5475 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.002597, allocations: 4 kB / 0.5476 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.077e-05/0.002658, allocations: 27.7 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.002769, allocations: 87.22 kB / 0.5477 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001034/0.002873, allocations: 51.86 kB / 0.5477 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.003042, allocations: 266.5 kB / 0.548 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.548e-05/0.003137, allocations: 46.53 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.003292, allocations: 180.2 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.00343, allocations: 83.72 kB / 0.5483 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.003455, allocations: 16 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.121e-05/0.003476, allocations: 20 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.003502, allocations: 27.88 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.259e-05/0.003554, allocations: 59.88 kB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.003699, allocations: 139.5 kB / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.003712, allocations: 0 / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003713, allocations: 4 kB / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.003723, allocations: 0 / 0.5485 GB, free: 26.43 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.0005168/0.00424, allocations: 0.4937 MB / 0.549 GB, free: 25.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.004269, allocations: 11.89 kB / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.004311, allocations: 30.59 kB / 0.549 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.004442, allocations: 175.1 kB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.004461, allocations: 12.61 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.004482, allocations: 12.38 kB / 0.5492 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.004628, allocations: 155.5 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.004639, allocations: 7.984 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.004649, allocations: 4 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.004655, allocations: 4 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.103e-05/0.004726, allocations: 80.62 kB / 0.5495 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.005077, allocations: 364.9 kB / 0.5498 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.005235, allocations: 108.2 kB / 0.5499 GB, free: 24.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.005268, allocations: 54.55 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.076e-06/0.005276, allocations: 8 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.005405, allocations: 196.3 kB / 0.5502 GB, free: 24.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.005406, allocations: 0 / 0.5502 GB, free: 24.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000491/0.005897, allocations: 0.5082 MB / 0.5507 GB, free: 24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.00593, allocations: 136.5 kB / 0.5508 GB, free: 23.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.034e-05/0.00601, allocations: 202.1 kB / 0.551 GB, free: 23.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.006022, allocations: 37.7 kB / 0.551 GB, free: 23.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.006057, allocations: 112.5 kB / 0.5511 GB, free: 23.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.006089, allocations: 79.39 kB / 0.5512 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.006134, allocations: 51.17 kB / 0.5513 GB, free: 23.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.068e-05/0.006164, allocations: 338.8 kB / 0.5516 GB, free: 23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.918e-05/0.006214, allocations: 96.31 kB / 0.5517 GB, free: 22.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.734e-05/0.006271, allocations: 181.3 kB / 0.5518 GB, free: 22.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.528e-05/0.006366, allocations: 211.8 kB / 0.552 GB, free: 22.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006368, allocations: 3.938 kB / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001409/0.006509, allocations: 258.7 kB / 0.5523 GB, free: 22.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.006539, allocations: 59.41 kB / 0.5524 GB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.006544, allocations: 6.656 kB / 0.5524 GB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.006555, allocations: 12.2 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.006708, allocations: 59.91 kB / 0.5524 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.006712, allocations: 7.938 kB / 0.5524 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.006789, allocations: 19.92 kB / 0.5525 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.0068, allocations: 12 kB / 0.5525 GB, free: 21.95 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.0001157/0.006915, allocations: 169.6 kB / 0.5526 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.006937, allocations: 19.98 kB / 0.5526 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.006964, allocations: 25.95 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.006966, allocations: 4 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.006967, allocations: 0 / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.006971, allocations: 0 / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.007208, allocations: 386.2 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.007211, allocations: 3.938 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.007333, allocations: 35.97 kB / 0.5531 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.007353, allocations: 19.86 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.007355, allocations: 0 / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.007365, allocations: 12 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.007368, allocations: 7.297 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007369, allocations: 0 / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.007539, allocations: 347.8 kB / 0.5534 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.007562, allocations: 7.984 kB / 0.5535 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.007636, allocations: 12 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.007679, allocations: 23.95 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.007686, allocations: 3.938 kB / 0.5535 GB, free: 20.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.903e-05/0.007726, allocations: 69.94 kB / 0.5536 GB, free: 20.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007726, allocations: 0 / 0.5536 GB, free: 20.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001625/0.007888, allocations: 56 kB / 0.5536 GB, free: 20.69 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.002e-05/0.007958, allocations: 92.36 kB / 0.5537 GB, free: 20.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.008112, allocations: 315.5 kB / 0.554 GB, free: 20.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.008116, allocations: 0 / 0.554 GB, free: 20.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.296e-05/0.008179, allocations: 145.9 kB / 0.5541 GB, free: 20.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.008406, allocations: 82.03 kB / 0.5542 GB, free: 20 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00534/0.01375, allocations: 0.5782 MB / 0.5548 GB, free: 19.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.736e-05/0.01378, allocations: 84.33 kB / 0.5549 GB, free: 19.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.01389, allocations: 17.95 kB / 0.5549 GB, free: 19.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.01402, allocations: 119.3 kB / 0.555 GB, free: 19.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01402, allocations: 4 kB / 0.555 GB, free: 19.14 MB / 410.7 MB Notification: Performance of Templates: time 0.004856/0.01887, allocations: 3.788 MB / 0.5587 GB, free: 15.46 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.418204772286117]