Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_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.001328/0.001328, allocations: 104.4 kB / 19.71 MB, free: 436 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.001063/0.001063, allocations: 215.5 kB / 23 MB, free: 2.961 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.9875/0.9875, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.7423/0.7423, allocations: 312.3 MB / 0.6108 GB, free: 97.57 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.CadmiumChloride.CadmiumChloride_Han1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=15552000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=15552000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_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.001454/0.001454, allocations: 84.94 kB / 0.7699 GB, free: 20.2 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1471, allocations: 73.99 MB / 0.8421 GB, free: 10.34 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference): time 0.003083/0.1502, allocations: 2.335 MB / 0.8444 GB, free: 8.008 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.000839/0.1511, allocations: 0.5911 MB / 0.845 GB, free: 7.422 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.991e-05/0.1511, allocations: 0.6562 kB / 0.845 GB, free: 7.422 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.1513, allocations: 27.72 kB / 0.845 GB, free: 7.395 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.1514, allocations: 80.72 kB / 0.8451 GB, free: 7.316 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.1516, allocations: 52.47 kB / 0.8452 GB, free: 7.266 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.1519, allocations: 251.2 kB / 0.8454 GB, free: 7.02 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.152, allocations: 44.55 kB / 0.8454 GB, free: 6.977 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1521, allocations: 92.28 kB / 0.8455 GB, free: 6.887 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1523, allocations: 100.1 kB / 0.8456 GB, free: 6.789 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.1524, allocations: 20 kB / 0.8456 GB, free: 6.77 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.047e-05/0.1524, allocations: 16.59 kB / 0.8457 GB, free: 6.754 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.1524, allocations: 32.36 kB / 0.8457 GB, free: 6.723 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.972e-05/0.1525, allocations: 91.59 kB / 0.8458 GB, free: 6.633 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.1527, allocations: 199.8 kB / 0.846 GB, free: 6.438 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1527, allocations: 0.625 kB / 0.846 GB, free: 6.438 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1527, allocations: 0 / 0.846 GB, free: 6.438 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1528, allocations: 0.5 kB / 0.846 GB, free: 6.438 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.0006539/0.1534, allocations: 0.4949 MB / 0.8464 GB, free: 5.898 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1534, allocations: 8.031 kB / 0.8465 GB, free: 5.891 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.1535, allocations: 25.42 kB / 0.8465 GB, free: 5.867 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.1537, allocations: 179.2 kB / 0.8467 GB, free: 5.664 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1537, allocations: 13.3 kB / 0.8467 GB, free: 5.652 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.1537, allocations: 19.89 kB / 0.8467 GB, free: 5.633 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.154, allocations: 190.9 kB / 0.8469 GB, free: 5.43 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.154, allocations: 4.688 kB / 0.8469 GB, free: 5.426 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.154, allocations: 4.625 kB / 0.8469 GB, free: 5.422 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.154, allocations: 4 kB / 0.8469 GB, free: 5.418 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.1542, allocations: 151.6 kB / 0.847 GB, free: 5.266 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.1548, allocations: 486.7 kB / 0.8475 GB, free: 4.758 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.1552, allocations: 172.8 kB / 0.8477 GB, free: 4.574 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.1553, allocations: 99.64 kB / 0.8477 GB, free: 4.469 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.1553, allocations: 0.5312 kB / 0.8477 GB, free: 4.469 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/0.1556, allocations: 229 kB / 0.848 GB, free: 4.215 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.1556, allocations: 0.5938 kB / 0.848 GB, free: 4.215 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.001125/0.1567, allocations: 0.7047 MB / 0.8487 GB, free: 3.449 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.1568, allocations: 133.3 kB / 0.8488 GB, free: 3.289 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.157, allocations: 222.9 kB / 0.849 GB, free: 3.062 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.157, allocations: 30.3 kB / 0.849 GB, free: 3.027 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.513e-05/0.1571, allocations: 132.5 kB / 0.8491 GB, free: 2.895 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.1571, allocations: 72 kB / 0.8492 GB, free: 2.824 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.1572, allocations: 58.16 kB / 0.8493 GB, free: 2.762 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1573, allocations: 342.8 kB / 0.8496 GB, free: 2.418 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.1575, allocations: 141.6 kB / 0.8497 GB, free: 2.262 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.1577, allocations: 222.6 kB / 0.8499 GB, free: 2 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.158, allocations: 278.2 kB / 0.8502 GB, free: 1.691 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.158, allocations: 0 / 0.8502 GB, free: 1.691 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003927/0.1584, allocations: 394.4 kB / 0.8506 GB, free: 1.277 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.1585, allocations: 71.27 kB / 0.8507 GB, free: 1.195 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1585, allocations: 0.8125 kB / 0.8507 GB, free: 1.195 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1585, allocations: 4 kB / 0.8507 GB, free: 1.191 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1586, allocations: 53.12 kB / 0.8507 GB, free: 1.141 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.1586, allocations: 4 kB / 0.8507 GB, free: 1.137 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.216e-05/0.1587, allocations: 20.7 kB / 0.8507 GB, free: 1.117 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.1587, allocations: 8 kB / 0.8507 GB, free: 1.109 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.0001926/0.1589, allocations: 182.1 kB / 0.8509 GB, free: 0.9219 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.159, allocations: 23.8 kB / 0.8509 GB, free: 0.8984 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.159, allocations: 30.58 kB / 0.851 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.159, allocations: 0.6875 kB / 0.851 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.159, allocations: 0 / 0.851 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.159, allocations: 0.625 kB / 0.851 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005485/0.1596, allocations: 0.5296 MB / 0.8515 GB, free: 296 kB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1596, allocations: 4.625 kB / 0.8515 GB, free: 292 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.1597, allocations: 40.5 kB / 0.8515 GB, free: 252 kB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.1597, allocations: 0.625 kB / 0.8515 GB, free: 252 kB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.1597, allocations: 8 kB / 0.8515 GB, free: 244 kB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.1597, allocations: 4.438 kB / 0.8515 GB, free: 240 kB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1597, allocations: 4.594 kB / 0.8515 GB, free: 236 kB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004753/0.1602, allocations: 0.4888 MB / 0.852 GB, free: 15.71 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.1602, allocations: 23.89 kB / 0.852 GB, free: 15.69 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.1602, allocations: 4.625 kB / 0.8521 GB, free: 15.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.902e-05/0.1603, allocations: 16.61 kB / 0.8521 GB, free: 15.67 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.1604, allocations: 20.56 kB / 0.8521 GB, free: 15.65 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1604, allocations: 11.98 kB / 0.8521 GB, free: 15.64 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.597e-05/0.1605, allocations: 156.9 kB / 0.8522 GB, free: 15.48 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1605, allocations: 4.5 kB / 0.8523 GB, free: 15.48 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001862/0.1607, allocations: 56 kB / 0.8523 GB, free: 15.43 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.0001034/0.1608, allocations: 126.4 kB / 0.8524 GB, free: 15.29 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003552/0.1611, allocations: 377.3 kB / 0.8528 GB, free: 14.88 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.1611, allocations: 0.5625 kB / 0.8528 GB, free: 14.88 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.1613, allocations: 173.5 kB / 0.853 GB, free: 14.7 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.1616, allocations: 59.53 kB / 0.853 GB, free: 14.64 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009026/0.1625, allocations: 0.7033 MB / 0.8537 GB, free: 13.98 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.036e-05/0.1626, allocations: 129.6 kB / 0.8538 GB, free: 13.83 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.1626, allocations: 23.44 kB / 0.8538 GB, free: 13.81 MB / 490.8 MB Notification: Performance of SimCode: time 4.5e-07/0.1626, allocations: 0 / 0.8538 GB, free: 13.81 MB / 490.8 MB Notification: Performance of Templates: time 0.2624/0.425, allocations: 2.921 MB / 0.8567 GB, free: 29.73 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.000613405369222]