Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide.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.001291/0.001291, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 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.001495/0.001495, allocations: 217.3 kB / 23 MB, free: 2.965 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.049/1.049, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.7389/0.7389, allocations: 312.3 MB / 0.6108 GB, free: 96.89 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide") [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.001513/0.001513, allocations: 77.25 kB / 0.7699 GB, free: 19.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1506, allocations: 74 MB / 0.8421 GB, free: 9.82 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide): time 0.003/0.1536, allocations: 2.342 MB / 0.8444 GB, free: 7.484 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.000984/0.1545, allocations: 0.5948 MB / 0.845 GB, free: 6.895 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1547, allocations: 0.625 kB / 0.845 GB, free: 6.895 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.1548, allocations: 23.72 kB / 0.845 GB, free: 6.871 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.155, allocations: 88.62 kB / 0.8451 GB, free: 6.785 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.1552, allocations: 44.45 kB / 0.8452 GB, free: 6.742 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.1554, allocations: 255.3 kB / 0.8454 GB, free: 6.492 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.1556, allocations: 40.56 kB / 0.8454 GB, free: 6.453 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1557, allocations: 92.14 kB / 0.8455 GB, free: 6.363 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.1559, allocations: 100.2 kB / 0.8456 GB, free: 6.266 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.156, allocations: 16 kB / 0.8456 GB, free: 6.25 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.874e-05/0.156, allocations: 20.5 kB / 0.8457 GB, free: 6.23 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.163e-05/0.156, allocations: 40.42 kB / 0.8457 GB, free: 6.191 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.499e-05/0.1561, allocations: 87.55 kB / 0.8458 GB, free: 6.105 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.1563, allocations: 195.8 kB / 0.846 GB, free: 5.914 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1563, allocations: 0.5938 kB / 0.846 GB, free: 5.914 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1563, allocations: 0 / 0.846 GB, free: 5.914 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1563, allocations: 0.5938 kB / 0.846 GB, free: 5.914 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.0007783/0.1571, allocations: 0.4986 MB / 0.8465 GB, free: 5.371 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1572, allocations: 11.89 kB / 0.8465 GB, free: 5.359 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.1572, allocations: 25.33 kB / 0.8465 GB, free: 5.336 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1574, allocations: 187.8 kB / 0.8467 GB, free: 5.125 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.1575, allocations: 8.547 kB / 0.8467 GB, free: 5.117 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.1575, allocations: 24.52 kB / 0.8467 GB, free: 5.094 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.1578, allocations: 195.1 kB / 0.8469 GB, free: 4.887 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1578, allocations: 3.938 kB / 0.8469 GB, free: 4.883 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.1578, allocations: 8.688 kB / 0.8469 GB, free: 4.875 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1578, allocations: 0 / 0.8469 GB, free: 4.875 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.158, allocations: 147.6 kB / 0.847 GB, free: 4.727 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.1586, allocations: 474.6 kB / 0.8475 GB, free: 4.23 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.159, allocations: 181.1 kB / 0.8477 GB, free: 4.039 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.1591, allocations: 95.02 kB / 0.8478 GB, free: 3.938 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.1591, allocations: 4.594 kB / 0.8478 GB, free: 3.934 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.1593, allocations: 221.8 kB / 0.848 GB, free: 3.688 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 2.595e-06/0.1594, allocations: 0 / 0.848 GB, free: 3.688 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.001002/0.1604, allocations: 0.7011 MB / 0.8487 GB, free: 2.926 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.1604, allocations: 137.1 kB / 0.8488 GB, free: 2.762 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1606, allocations: 218.9 kB / 0.849 GB, free: 2.539 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1606, allocations: 30.2 kB / 0.849 GB, free: 2.504 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.1607, allocations: 133 kB / 0.8491 GB, free: 2.371 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.1607, allocations: 71.42 kB / 0.8492 GB, free: 2.301 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.1608, allocations: 58.25 kB / 0.8493 GB, free: 2.238 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.1609, allocations: 339.4 kB / 0.8496 GB, free: 1.898 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.161, allocations: 153.5 kB / 0.8497 GB, free: 1.73 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.1612, allocations: 220.2 kB / 0.85 GB, free: 1.473 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.1614, allocations: 285.9 kB / 0.8502 GB, free: 1.156 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1614, allocations: 3.938 kB / 0.8502 GB, free: 1.152 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003732/0.1618, allocations: 382.8 kB / 0.8506 GB, free: 0.75 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.1619, allocations: 69.67 kB / 0.8507 GB, free: 0.6719 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1619, allocations: 4.625 kB / 0.8507 GB, free: 0.668 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1619, allocations: 4 kB / 0.8507 GB, free: 0.6641 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.162, allocations: 52.5 kB / 0.8507 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.162, allocations: 8.562 kB / 0.8507 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.05e-05/0.1621, allocations: 16.7 kB / 0.8507 GB, free: 0.5898 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1621, allocations: 8.594 kB / 0.8508 GB, free: 0.582 MB / 474.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.00017/0.1623, allocations: 176.9 kB / 0.8509 GB, free: 404 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.1623, allocations: 27.8 kB / 0.8509 GB, free: 376 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.1624, allocations: 26.64 kB / 0.851 GB, free: 348 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1624, allocations: 8.5 kB / 0.851 GB, free: 340 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1624, allocations: 0 / 0.851 GB, free: 340 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1624, allocations: 0.7812 kB / 0.851 GB, free: 340 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.1629, allocations: 0.533 MB / 0.8515 GB, free: 15.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1629, allocations: 0 / 0.8515 GB, free: 15.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.1631, allocations: 45.53 kB / 0.8515 GB, free: 15.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1631, allocations: 0 / 0.8515 GB, free: 15.71 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1631, allocations: 4 kB / 0.8515 GB, free: 15.71 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1631, allocations: 3.938 kB / 0.8516 GB, free: 15.7 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1631, allocations: 3.984 kB / 0.8516 GB, free: 15.7 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/0.1636, allocations: 495.8 kB / 0.852 GB, free: 15.18 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.1636, allocations: 27.97 kB / 0.8521 GB, free: 15.16 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.1636, allocations: 8.5 kB / 0.8521 GB, free: 15.15 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.1637, allocations: 20.42 kB / 0.8521 GB, free: 15.13 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.1638, allocations: 16.72 kB / 0.8521 GB, free: 15.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.1638, allocations: 15.98 kB / 0.8521 GB, free: 15.1 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.291e-05/0.1639, allocations: 157.2 kB / 0.8523 GB, free: 14.95 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1639, allocations: 0 / 0.8523 GB, free: 14.95 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001868/0.1641, allocations: 61.22 kB / 0.8523 GB, free: 14.89 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 0.0001155/0.1642, allocations: 115.2 kB / 0.8524 GB, free: 14.76 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003682/0.1646, allocations: 373.5 kB / 0.8528 GB, free: 14.36 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1646, allocations: 1.875 kB / 0.8528 GB, free: 14.36 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.1647, allocations: 177 kB / 0.853 GB, free: 14.16 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.165, allocations: 61.08 kB / 0.853 GB, free: 14.11 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009344/0.1659, allocations: 0.696 MB / 0.8537 GB, free: 13.46 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.636e-05/0.166, allocations: 125.6 kB / 0.8538 GB, free: 13.32 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.1661, allocations: 23.44 kB / 0.8538 GB, free: 13.29 MB / 490.8 MB Notification: Performance of SimCode: time 6.91e-07/0.1661, allocations: 0 / 0.8538 GB, free: 13.29 MB / 490.8 MB Notification: Performance of Templates: time 0.2858/0.4519, allocations: 2.93 MB / 0.8567 GB, free: 29.03 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SilveriSelenide.SilveriSelenide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.142325155436993]