Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_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.0009507/0.0009507, 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.001096/0.001096, allocations: 217.3 kB / 23.01 MB, free: 2.945 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.017/1.017, allocations: 230.6 MB / 256.8 MB, free: 9.617 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.7804/0.7804, allocations: 312.3 MB / 0.6108 GB, free: 97.66 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.Rituximab.Rituximab_Gota2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2419200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2419200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_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.001409/0.001409, allocations: 74.3 kB / 0.7699 GB, free: 20.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1531, allocations: 73.99 MB / 0.8421 GB, free: 10.31 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference): time 0.002993/0.1561, allocations: 2.331 MB / 0.8444 GB, free: 7.98 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1573, allocations: 0.5992 MB / 0.845 GB, free: 7.387 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1574, allocations: 4.688 kB / 0.845 GB, free: 7.383 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.1575, allocations: 23.72 kB / 0.845 GB, free: 7.359 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.1577, allocations: 76.67 kB / 0.8451 GB, free: 7.285 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.1579, allocations: 48.5 kB / 0.8451 GB, free: 7.238 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.1582, allocations: 262.7 kB / 0.8454 GB, free: 6.98 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.1583, allocations: 29.17 kB / 0.8454 GB, free: 6.953 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1584, allocations: 100.3 kB / 0.8455 GB, free: 6.855 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.1587, allocations: 99.47 kB / 0.8456 GB, free: 6.758 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.1587, allocations: 16.62 kB / 0.8456 GB, free: 6.742 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.641e-05/0.1587, allocations: 16.59 kB / 0.8456 GB, free: 6.727 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.1588, allocations: 39.84 kB / 0.8457 GB, free: 6.688 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.308e-05/0.1588, allocations: 96.03 kB / 0.8458 GB, free: 6.594 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1591, allocations: 191.9 kB / 0.846 GB, free: 6.406 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.1591, allocations: 3.984 kB / 0.846 GB, free: 6.402 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1591, allocations: 0.5 kB / 0.846 GB, free: 6.402 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1591, allocations: 8.5 kB / 0.846 GB, free: 6.395 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.0008583/0.1599, allocations: 498 kB / 0.8464 GB, free: 5.863 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.16, allocations: 16.39 kB / 0.8465 GB, free: 5.848 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.16, allocations: 21.42 kB / 0.8465 GB, free: 5.828 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.1603, allocations: 179.1 kB / 0.8466 GB, free: 5.625 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1603, allocations: 13.11 kB / 0.8467 GB, free: 5.613 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.1603, allocations: 24.59 kB / 0.8467 GB, free: 5.59 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.1606, allocations: 187 kB / 0.8469 GB, free: 5.391 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1606, allocations: 4.594 kB / 0.8469 GB, free: 5.387 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.1606, allocations: 0 / 0.8469 GB, free: 5.387 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1607, allocations: 4.531 kB / 0.8469 GB, free: 5.383 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.1609, allocations: 147.3 kB / 0.847 GB, free: 5.234 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/0.1615, allocations: 494.6 kB / 0.8475 GB, free: 4.719 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.1618, allocations: 173.3 kB / 0.8476 GB, free: 4.535 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.162, allocations: 95.14 kB / 0.8477 GB, free: 4.434 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.162, allocations: 0.6562 kB / 0.8477 GB, free: 4.434 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.1622, allocations: 229.1 kB / 0.848 GB, free: 4.18 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.1622, allocations: 0.7812 kB / 0.848 GB, free: 4.18 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.00109/0.1633, allocations: 0.6925 MB / 0.8486 GB, free: 3.426 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.1634, allocations: 145.1 kB / 0.8488 GB, free: 3.254 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.1636, allocations: 211.5 kB / 0.849 GB, free: 3.039 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1636, allocations: 33.7 kB / 0.849 GB, free: 3 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.508e-05/0.1637, allocations: 133 kB / 0.8491 GB, free: 2.867 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.1637, allocations: 75.98 kB / 0.8492 GB, free: 2.793 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.411e-05/0.1638, allocations: 61.58 kB / 0.8493 GB, free: 2.727 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1639, allocations: 335.4 kB / 0.8496 GB, free: 2.391 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.1641, allocations: 145.7 kB / 0.8497 GB, free: 2.23 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.1642, allocations: 225.9 kB / 0.8499 GB, free: 1.965 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.1645, allocations: 277.7 kB / 0.8502 GB, free: 1.656 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1645, allocations: 8.5 kB / 0.8502 GB, free: 1.648 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003872/0.1649, allocations: 390.2 kB / 0.8506 GB, free: 1.238 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.1649, allocations: 64.03 kB / 0.8506 GB, free: 1.164 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.165, allocations: 0 / 0.8506 GB, free: 1.164 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.165, allocations: 4.594 kB / 0.8506 GB, free: 1.16 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1651, allocations: 52.41 kB / 0.8507 GB, free: 1.109 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1651, allocations: 0.7188 kB / 0.8507 GB, free: 1.109 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.448e-05/0.1652, allocations: 24.59 kB / 0.8507 GB, free: 1.086 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.1652, allocations: 12 kB / 0.8507 GB, free: 1.074 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.0001775/0.1654, allocations: 179.1 kB / 0.8509 GB, free: 0.8906 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.1654, allocations: 27.8 kB / 0.8509 GB, free: 0.8633 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.1655, allocations: 26.53 kB / 0.851 GB, free: 0.8359 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1655, allocations: 0.5938 kB / 0.851 GB, free: 0.8359 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1655, allocations: 0 / 0.851 GB, free: 0.8359 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1655, allocations: 4.578 kB / 0.851 GB, free: 0.832 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008401/0.1663, allocations: 0.5376 MB / 0.8515 GB, free: 252 kB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1663, allocations: 4.547 kB / 0.8515 GB, free: 248 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.1664, allocations: 32.55 kB / 0.8515 GB, free: 216 kB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1664, allocations: 0 / 0.8515 GB, free: 216 kB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1664, allocations: 12.55 kB / 0.8515 GB, free: 204 kB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1664, allocations: 4.562 kB / 0.8515 GB, free: 200 kB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1664, allocations: 4 kB / 0.8515 GB, free: 196 kB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/0.1669, allocations: 0.4894 MB / 0.852 GB, free: 15.67 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.167, allocations: 15.86 kB / 0.852 GB, free: 15.66 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.167, allocations: 8.5 kB / 0.852 GB, free: 15.65 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.1671, allocations: 24.8 kB / 0.8521 GB, free: 15.62 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/0.1671, allocations: 19.97 kB / 0.8521 GB, free: 15.61 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1671, allocations: 4.594 kB / 0.8521 GB, free: 15.6 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1672, allocations: 164.4 kB / 0.8522 GB, free: 15.44 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1672, allocations: 0.625 kB / 0.8522 GB, free: 15.44 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001913/0.1674, allocations: 52.66 kB / 0.8523 GB, free: 15.39 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.0001435/0.1676, allocations: 112.3 kB / 0.8524 GB, free: 15.27 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003781/0.168, allocations: 381.6 kB / 0.8528 GB, free: 14.86 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.168, allocations: 0 / 0.8528 GB, free: 14.86 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.1681, allocations: 169.7 kB / 0.8529 GB, free: 14.67 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.1684, allocations: 71.05 kB / 0.853 GB, free: 14.61 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.1695, allocations: 0.7037 MB / 0.8537 GB, free: 13.95 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.873e-05/0.1696, allocations: 129.6 kB / 0.8538 GB, free: 13.8 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.1696, allocations: 19.44 kB / 0.8538 GB, free: 13.79 MB / 490.8 MB Notification: Performance of SimCode: time 9.01e-07/0.1696, allocations: 0 / 0.8538 GB, free: 13.79 MB / 490.8 MB Notification: Performance of Templates: time 0.2736/0.4432, allocations: 2.929 MB / 0.8567 GB, free: 29.8 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.988310879096389]