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.0009664/0.0009664, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002231, 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.001006/0.001006, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002314, 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.032/1.032, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09315/1.125, allocations: 53.65 MB / 243.2 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.7283/0.7283, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02829/0.7565, allocations: 21.04 MB / 0.5432 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.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.352e-06/1.352e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.043e-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.002708/0.002728, allocations: 2.52 MB / 0.547 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0038/0.006528, allocations: 0.6265 MB / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.006629, allocations: 0 / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.253e-05/0.006702, allocations: 31.66 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.00686, allocations: 83.33 kB / 0.5477 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.007023, allocations: 55.8 kB / 0.5478 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.007281, allocations: 266.6 kB / 0.548 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.007407, allocations: 42.48 kB / 0.5481 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.007614, allocations: 168.3 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.007804, allocations: 91.66 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.007833, allocations: 16 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.649e-05/0.007859, allocations: 16 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.007892, allocations: 35.86 kB / 0.5484 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.83e-05/0.00796, allocations: 63.88 kB / 0.5484 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.00814, allocations: 135.5 kB / 0.5486 GB, free: 26.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.649e-05/0.008157, allocations: 0 / 0.5486 GB, free: 26.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.008158, allocations: 0 / 0.5486 GB, free: 26.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.008175, allocations: 0 / 0.5486 GB, free: 26.42 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.0006102/0.008786, allocations: 0.4976 MB / 0.549 GB, free: 25.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.008816, allocations: 11.89 kB / 0.5491 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.008865, allocations: 28.92 kB / 0.5491 GB, free: 25.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.009029, allocations: 175.1 kB / 0.5493 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.009049, allocations: 12.61 kB / 0.5493 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.009073, allocations: 12.38 kB / 0.5493 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.009248, allocations: 163.4 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.00926, allocations: 3.938 kB / 0.5494 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.009271, allocations: 4 kB / 0.5494 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.009278, allocations: 7.922 kB / 0.5495 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0031/0.01238, allocations: 76.7 kB / 0.5495 GB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.0128, allocations: 372.9 kB / 0.5499 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.01298, allocations: 108.2 kB / 0.55 GB, free: 24.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.01303, allocations: 54.56 kB / 0.55 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/0.01303, allocations: 4 kB / 0.55 GB, free: 24.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.01319, allocations: 192.4 kB / 0.5502 GB, free: 24.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.01319, allocations: 0 / 0.5502 GB, free: 24.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005783/0.01377, allocations: 0.5082 MB / 0.5507 GB, free: 23.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.0138, allocations: 140.5 kB / 0.5509 GB, free: 23.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.0139, allocations: 198.1 kB / 0.551 GB, free: 23.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.01392, allocations: 33.7 kB / 0.5511 GB, free: 23.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.01396, allocations: 120.4 kB / 0.5512 GB, free: 23.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.014, allocations: 71.41 kB / 0.5513 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.01406, allocations: 55.17 kB / 0.5513 GB, free: 23.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.611e-05/0.01409, allocations: 334.8 kB / 0.5516 GB, free: 22.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.868e-05/0.01415, allocations: 96.94 kB / 0.5517 GB, free: 22.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.533e-05/0.01423, allocations: 185.3 kB / 0.5519 GB, free: 22.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.01435, allocations: 203.7 kB / 0.5521 GB, free: 22.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01436, allocations: 4 kB / 0.5521 GB, free: 22.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001869/0.01454, allocations: 262.7 kB / 0.5523 GB, free: 22.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.01458, allocations: 67.39 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01458, allocations: 4 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.01459, allocations: 0 / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.01478, allocations: 67.84 kB / 0.5525 GB, free: 21.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01478, allocations: 7.984 kB / 0.5525 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.887e-05/0.01488, allocations: 15.94 kB / 0.5525 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.0149, allocations: 16.2 kB / 0.5525 GB, free: 21.93 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.0001023/0.015, allocations: 163.3 kB / 0.5527 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.01502, allocations: 27.97 kB / 0.5527 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.01506, allocations: 17.97 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01506, allocations: 4 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.01506, allocations: 0 / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01506, allocations: 3.984 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.01836, allocations: 386.2 kB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.01836, allocations: 7.938 kB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.01851, allocations: 35.97 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.01854, allocations: 19.86 kB / 0.5532 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01854, allocations: 0 / 0.5532 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.01855, allocations: 15.36 kB / 0.5532 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01855, allocations: 0 / 0.5532 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01855, allocations: 0 / 0.5532 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.01876, allocations: 347.8 kB / 0.5535 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.01879, allocations: 8 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.01889, allocations: 19.98 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.01894, allocations: 16.02 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.01895, allocations: 11.92 kB / 0.5536 GB, free: 20.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.887e-05/0.019, allocations: 65.95 kB / 0.5536 GB, free: 20.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.019, allocations: 0 / 0.5536 GB, free: 20.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002347/0.01923, allocations: 52 kB / 0.5537 GB, free: 20.68 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 8.43e-05/0.01932, allocations: 100.3 kB / 0.5538 GB, free: 20.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.0195, allocations: 308.7 kB / 0.5541 GB, free: 20.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.01951, allocations: 4 kB / 0.5541 GB, free: 20.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.638e-05/0.01959, allocations: 149.1 kB / 0.5542 GB, free: 20.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.01988, allocations: 88.45 kB / 0.5543 GB, free: 19.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.03372, allocations: 0.5783 MB / 0.5548 GB, free: 19.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.073e-05/0.03377, allocations: 76.33 kB / 0.5549 GB, free: 19.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.03387, allocations: 25.94 kB / 0.5549 GB, free: 19.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.03401, allocations: 115.3 kB / 0.5551 GB, free: 19.13 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/0.03402, allocations: 0 / 0.5551 GB, free: 19.13 MB / 410.7 MB Notification: Performance of Templates: time 0.004725/0.03874, allocations: 3.79 MB / 0.5588 GB, free: 15.43 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.401517177000642]