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.000805/0.000805, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.001991, allocations: 443.8 kB / 10.3 MB, free: 400 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.0009183/0.0009183, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004804/0.005722, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9342/0.9342, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08543/1.02, allocations: 53.66 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.7333/0.7333, allocations: 291.2 MB / 0.5226 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02989/0.7632, allocations: 21.04 MB / 0.5431 GB, free: 31.5 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.413e-06/1.413e-06, allocations: 0 / 0.5444 GB, free: 30.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.535e-05, allocations: 10.19 kB / 0.5445 GB, free: 30.13 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference): time 0.002929/0.002955, allocations: 2.507 MB / 0.5469 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.003912, allocations: 0.631 MB / 0.5475 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.368e-05/0.004006, allocations: 0 / 0.5475 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.043e-05/0.004076, allocations: 27.72 kB / 0.5475 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.004238, allocations: 79.28 kB / 0.5476 GB, free: 26.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.004391, allocations: 55.86 kB / 0.5477 GB, free: 26.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.004634, allocations: 266.6 kB / 0.5479 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.00475, allocations: 38.53 kB / 0.548 GB, free: 26.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.004968, allocations: 172.2 kB / 0.5481 GB, free: 26.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.005148, allocations: 91.72 kB / 0.5482 GB, free: 26.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.005179, allocations: 16 kB / 0.5482 GB, free: 26.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.372e-05/0.005213, allocations: 16 kB / 0.5483 GB, free: 26.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.033e-05/0.005243, allocations: 27.88 kB / 0.5483 GB, free: 26.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.533e-05/0.005319, allocations: 67.88 kB / 0.5483 GB, free: 26.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.005508, allocations: 143.4 kB / 0.5485 GB, free: 25.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.595e-05/0.005524, allocations: 0 / 0.5485 GB, free: 25.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005525, allocations: 0 / 0.5485 GB, free: 25.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.005539, allocations: 0 / 0.5485 GB, free: 25.99 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.0006666/0.006206, allocations: 0.4976 MB / 0.549 GB, free: 25.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.006238, allocations: 11.89 kB / 0.549 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.002e-05/0.006298, allocations: 28.91 kB / 0.549 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.00648, allocations: 175.1 kB / 0.5492 GB, free: 25.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.006507, allocations: 12.61 kB / 0.5492 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.006534, allocations: 12.38 kB / 0.5492 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.006736, allocations: 159.5 kB / 0.5493 GB, free: 25.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.006749, allocations: 0 / 0.5493 GB, free: 25.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.006761, allocations: 8 kB / 0.5494 GB, free: 25.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.006768, allocations: 4 kB / 0.5494 GB, free: 25.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.762e-05/0.006866, allocations: 76.64 kB / 0.5494 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.007332, allocations: 365 kB / 0.5498 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.007542, allocations: 108.2 kB / 0.5499 GB, free: 24.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.007589, allocations: 58.69 kB / 0.5499 GB, free: 24.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.0076, allocations: 7.938 kB / 0.5499 GB, free: 24.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.007763, allocations: 196.3 kB / 0.5501 GB, free: 24.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.007765, allocations: 0 / 0.5501 GB, free: 24.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006564/0.008422, allocations: 0.5081 MB / 0.5506 GB, free: 23.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.008461, allocations: 132.5 kB / 0.5508 GB, free: 23.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.008576, allocations: 210.1 kB / 0.551 GB, free: 23.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.008592, allocations: 33.7 kB / 0.551 GB, free: 23.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.008629, allocations: 112.4 kB / 0.5511 GB, free: 23.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.008672, allocations: 75.41 kB / 0.5512 GB, free: 22.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.008737, allocations: 55.17 kB / 0.5512 GB, free: 22.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.926e-05/0.008776, allocations: 334.8 kB / 0.5515 GB, free: 22.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.581e-05/0.008842, allocations: 97 kB / 0.5516 GB, free: 22.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.801e-05/0.00893, allocations: 173.3 kB / 0.5518 GB, free: 22.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.009065, allocations: 215.8 kB / 0.552 GB, free: 21.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.009067, allocations: 0 / 0.552 GB, free: 21.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002144/0.009281, allocations: 262.1 kB / 0.5523 GB, free: 21.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.009318, allocations: 63.39 kB / 0.5523 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.009325, allocations: 3.062 kB / 0.5523 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.009336, allocations: 4 kB / 0.5523 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.009548, allocations: 72.12 kB / 0.5524 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.009553, allocations: 3.938 kB / 0.5524 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.009669, allocations: 23.92 kB / 0.5524 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.009684, allocations: 4 kB / 0.5524 GB, free: 21.52 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.00012/0.009804, allocations: 176.5 kB / 0.5526 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.009832, allocations: 27.92 kB / 0.5526 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.009868, allocations: 25.95 kB / 0.5526 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.009871, allocations: 4 kB / 0.5526 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.009873, allocations: 4 kB / 0.5526 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.009877, allocations: 0 / 0.5526 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.01021, allocations: 370.3 kB / 0.553 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01021, allocations: 7.938 kB / 0.553 GB, free: 20.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.01037, allocations: 39.91 kB / 0.553 GB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.0104, allocations: 15.86 kB / 0.5531 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.0104, allocations: 4 kB / 0.5531 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.01042, allocations: 7.984 kB / 0.5531 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01042, allocations: 4 kB / 0.5531 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01042, allocations: 4 kB / 0.5531 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.01065, allocations: 351.8 kB / 0.5534 GB, free: 20.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.01069, allocations: 7.312 kB / 0.5534 GB, free: 20.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.0108, allocations: 12 kB / 0.5534 GB, free: 20.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.01085, allocations: 19.95 kB / 0.5535 GB, free: 20.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.01086, allocations: 7.938 kB / 0.5535 GB, free: 20.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.692e-05/0.01092, allocations: 69.94 kB / 0.5535 GB, free: 20.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01092, allocations: 0 / 0.5535 GB, free: 20.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.01118, allocations: 56 kB / 0.5536 GB, free: 20.25 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 9.098e-05/0.01127, allocations: 96.42 kB / 0.5537 GB, free: 20.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.01149, allocations: 304.5 kB / 0.554 GB, free: 19.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.01149, allocations: 8 kB / 0.554 GB, free: 19.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.069e-05/0.01157, allocations: 137.9 kB / 0.5541 GB, free: 19.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.0119, allocations: 93.27 kB / 0.5542 GB, free: 19.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008162/0.02006, allocations: 0.5801 MB / 0.5548 GB, free: 18.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.301e-05/0.02013, allocations: 133.5 kB / 0.5549 GB, free: 18.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.02031, allocations: 119.3 kB / 0.555 GB, free: 18.67 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02031, allocations: 0 / 0.555 GB, free: 18.67 MB / 410.7 MB Notification: Performance of Templates: time 0.00345/0.02376, allocations: 2.92 MB / 0.5578 GB, free: 15.79 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.193481187336147]