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.001898/0.001898, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002256/0.002256, allocations: 214.4 kB / 22.25 MB, free: 3.574 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.693/1.693, allocations: 230.6 MB / 256 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 178] 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 1.46/1.46, allocations: 316.7 MB / 0.6144 GB, free: 93.04 MB / 410.7 MB " [Timeout remaining time 178] 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004002/0.004002, allocations: 79.78 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1489, allocations: 73.99 MB / 0.8472 GB, free: 4.902 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide_Tang2016_reference): time 0.004048/0.1529, allocations: 2.317 MB / 0.8495 GB, free: 2.586 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1542, allocations: 0.5909 MB / 0.8501 GB, free: 2 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.1544, allocations: 4.531 kB / 0.8501 GB, free: 1.996 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.1545, allocations: 27.77 kB / 0.8501 GB, free: 1.969 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.1548, allocations: 80.58 kB / 0.8502 GB, free: 1.891 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.155, allocations: 52.59 kB / 0.8502 GB, free: 1.84 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.1554, allocations: 254.7 kB / 0.8505 GB, free: 1.59 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.1555, allocations: 41.16 kB / 0.8505 GB, free: 1.551 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.1557, allocations: 92.28 kB / 0.8506 GB, free: 1.461 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.1559, allocations: 95.53 kB / 0.8507 GB, free: 1.367 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.156, allocations: 20.5 kB / 0.8507 GB, free: 1.348 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.805e-05/0.156, allocations: 16.62 kB / 0.8507 GB, free: 1.332 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.1561, allocations: 39.78 kB / 0.8508 GB, free: 1.293 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.1562, allocations: 97.36 kB / 0.8509 GB, free: 1.199 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.1565, allocations: 191.2 kB / 0.851 GB, free: 1.012 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.1565, allocations: 4 kB / 0.851 GB, free: 1.008 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1565, allocations: 0 / 0.851 GB, free: 1.008 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1565, allocations: 0 / 0.851 GB, free: 1.008 MB / 474.8 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.0009915/0.1575, allocations: 0.4916 MB / 0.8515 GB, free: 484 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1576, allocations: 8.031 kB / 0.8515 GB, free: 476 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.848e-05/0.1576, allocations: 24.8 kB / 0.8516 GB, free: 452 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.1579, allocations: 192.3 kB / 0.8517 GB, free: 232 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.1579, allocations: 16.55 kB / 0.8518 GB, free: 216 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.158, allocations: 23.83 kB / 0.8518 GB, free: 192 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.1584, allocations: 191 kB / 0.852 GB, free: 15.99 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.1584, allocations: 4 kB / 0.852 GB, free: 15.98 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1585, allocations: 5.156 kB / 0.852 GB, free: 15.98 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.1585, allocations: 4 kB / 0.852 GB, free: 15.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.1589, allocations: 147.5 kB / 0.8521 GB, free: 15.83 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009039/0.1598, allocations: 491.9 kB / 0.8526 GB, free: 15.32 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.1603, allocations: 164.2 kB / 0.8527 GB, free: 15.14 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.1605, allocations: 94.52 kB / 0.8528 GB, free: 15.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.1605, allocations: 4 kB / 0.8528 GB, free: 15.04 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004101/0.161, allocations: 230.1 kB / 0.853 GB, free: 14.79 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.161, allocations: 0 / 0.853 GB, free: 14.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001988/0.1629, allocations: 0.7015 MB / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.163, allocations: 136.5 kB / 0.8539 GB, free: 13.86 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.1633, allocations: 219.6 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.1634, allocations: 33.7 kB / 0.8541 GB, free: 13.6 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.1635, allocations: 129 kB / 0.8542 GB, free: 13.47 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.1636, allocations: 72 kB / 0.8543 GB, free: 13.4 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.1637, allocations: 61.66 kB / 0.8544 GB, free: 13.33 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.1639, allocations: 335.4 kB / 0.8547 GB, free: 13 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.1641, allocations: 145.7 kB / 0.8548 GB, free: 12.84 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.1645, allocations: 218.1 kB / 0.855 GB, free: 12.58 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2592/0.4236, allocations: 282.9 kB / 0.8553 GB, free: 28.3 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.4237, allocations: 3.641 kB / 0.8553 GB, free: 28.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006334/0.4243, allocations: 388.7 kB / 0.8557 GB, free: 28.14 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.4243, allocations: 65.86 kB / 0.8557 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4243, allocations: 2.656 kB / 0.8557 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.4244, allocations: 2.562 kB / 0.8557 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.4246, allocations: 53 kB / 0.8558 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.4246, allocations: 10.92 kB / 0.8558 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.4248, allocations: 16.38 kB / 0.8558 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.4248, allocations: 11.12 kB / 0.8558 GB, free: 28.07 MB / 490.8 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.0001708/0.425, allocations: 170.2 kB / 0.856 GB, free: 27.93 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.425, allocations: 25.86 kB / 0.856 GB, free: 27.93 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.4251, allocations: 26.38 kB / 0.856 GB, free: 27.92 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4251, allocations: 5.781 kB / 0.856 GB, free: 27.92 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.4251, allocations: 0 / 0.856 GB, free: 27.92 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4251, allocations: 2.281 kB / 0.856 GB, free: 27.92 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006644/0.4257, allocations: 0.5356 MB / 0.8566 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4257, allocations: 1.5 kB / 0.8566 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.4259, allocations: 38.44 kB / 0.8566 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4259, allocations: 0.625 kB / 0.8566 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.4259, allocations: 16.17 kB / 0.8566 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4259, allocations: 3.344 kB / 0.8566 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4259, allocations: 0 / 0.8566 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006252/0.4266, allocations: 0.4884 MB / 0.8571 GB, free: 27.39 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.4266, allocations: 22.52 kB / 0.8571 GB, free: 27.39 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.4266, allocations: 6.125 kB / 0.8571 GB, free: 27.39 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.4268, allocations: 14.11 kB / 0.8571 GB, free: 27.39 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.4269, allocations: 23.89 kB / 0.8572 GB, free: 27.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.4269, allocations: 5.375 kB / 0.8572 GB, free: 27.39 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001215/0.427, allocations: 158.1 kB / 0.8573 GB, free: 27.32 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.427, allocations: 0.5 kB / 0.8573 GB, free: 27.32 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002838/0.4273, allocations: 60.38 kB / 0.8574 GB, free: 27.32 MB / 490.8 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.852e-05/0.4274, allocations: 116.8 kB / 0.8575 GB, free: 27.23 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005939/0.428, allocations: 378.9 kB / 0.8578 GB, free: 27 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.428, allocations: 0 / 0.8578 GB, free: 27 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.4282, allocations: 175.2 kB / 0.858 GB, free: 26.9 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.4286, allocations: 69.98 kB / 0.8581 GB, free: 26.9 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.4297, allocations: 0.6683 MB / 0.8587 GB, free: 26.62 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.865e-05/0.4298, allocations: 126.1 kB / 0.8589 GB, free: 26.55 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.4299, allocations: 24.17 kB / 0.8589 GB, free: 26.54 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.43, allocations: 25.52 kB / 0.8589 GB, free: 26.54 MB / 490.8 MB Notification: Performance of SimCode: time 4.81e-07/0.43, allocations: 0 / 0.8589 GB, free: 26.54 MB / 490.8 MB Notification: Performance of Templates: time 0.008369/0.4383, allocations: 3.644 MB / 0.8625 GB, free: 26.23 MB / 490.8 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: 7.346041561104357]