Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab.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.000987/0.000987, 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.001166/0.001166, allocations: 220.4 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 0.9173/0.9173, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.6732/0.6732, allocations: 312.3 MB / 0.6108 GB, free: 97.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.Infliximab.Infliximab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5443200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5443200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab") [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.001946/0.001946, allocations: 73.73 kB / 0.77 GB, free: 20.04 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1391, allocations: 74 MB / 0.8422 GB, free: 10.18 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab): time 0.006806/0.1459, allocations: 3.453 MB / 0.8456 GB, free: 6.715 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.004256/0.1501, allocations: 0.7768 MB / 0.8464 GB, free: 5.949 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.1503, allocations: 4.625 kB / 0.8464 GB, free: 5.945 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.1505, allocations: 55.42 kB / 0.8464 GB, free: 5.891 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.1508, allocations: 168.6 kB / 0.8466 GB, free: 5.727 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.151, allocations: 104.3 kB / 0.8467 GB, free: 5.625 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004345/0.1514, allocations: 0.5176 MB / 0.8472 GB, free: 5.105 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.1516, allocations: 85.33 kB / 0.8473 GB, free: 5.023 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.1518, allocations: 191.3 kB / 0.8474 GB, free: 4.836 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.1521, allocations: 191.7 kB / 0.8476 GB, free: 4.648 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.1521, allocations: 36.5 kB / 0.8477 GB, free: 4.613 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.748e-05/0.1522, allocations: 44.59 kB / 0.8477 GB, free: 4.57 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.1522, allocations: 83.62 kB / 0.8478 GB, free: 4.488 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003166/0.1554, allocations: 187.7 kB / 0.848 GB, free: 4.305 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.1558, allocations: 447.2 kB / 0.8484 GB, free: 3.867 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1558, allocations: 0 / 0.8484 GB, free: 3.867 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1558, allocations: 0.5938 kB / 0.8484 GB, free: 3.867 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1558, allocations: 0 / 0.8484 GB, free: 3.867 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009564/0.1568, allocations: 0.725 MB / 0.8491 GB, free: 3.086 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1568, allocations: 11.89 kB / 0.8491 GB, free: 3.074 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/0.1569, allocations: 49.3 kB / 0.8492 GB, free: 3.027 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.1572, allocations: 250.1 kB / 0.8494 GB, free: 2.758 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.1572, allocations: 21.03 kB / 0.8494 GB, free: 2.738 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.1572, allocations: 36.58 kB / 0.8494 GB, free: 2.703 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.1577, allocations: 398.7 kB / 0.8498 GB, free: 2.289 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1578, allocations: 4 kB / 0.8498 GB, free: 2.285 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.1578, allocations: 12.69 kB / 0.8498 GB, free: 2.273 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1578, allocations: 4 kB / 0.8498 GB, free: 2.27 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.1582, allocations: 336.7 kB / 0.8502 GB, free: 1.922 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/0.1624, allocations: 0.8832 MB / 0.851 GB, free: 0.9961 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.1629, allocations: 338.1 kB / 0.8514 GB, free: 0.6406 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.1632, allocations: 215.1 kB / 0.8516 GB, free: 420 kB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.1632, allocations: 4.625 kB / 0.8516 GB, free: 416 kB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004515/0.1636, allocations: 0.4894 MB / 0.852 GB, free: 15.84 MB / 490.8 MB Notification: Performance of pre-optimization done (n=45): time 1.833e-06/0.1636, allocations: 0 / 0.852 GB, free: 15.84 MB / 490.8 MB Notification: Performance of matching and sorting (n=48): time 0.004941/0.1686, allocations: 1.516 MB / 0.8535 GB, free: 14.21 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.1687, allocations: 307.1 kB / 0.8538 GB, free: 13.84 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.1689, allocations: 288.2 kB / 0.8541 GB, free: 13.55 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.169, allocations: 38.2 kB / 0.8541 GB, free: 13.51 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/0.1691, allocations: 181 kB / 0.8543 GB, free: 13.33 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.918e-05/0.1692, allocations: 163.4 kB / 0.8545 GB, free: 13.17 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.1693, allocations: 90.34 kB / 0.8545 GB, free: 13.07 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.1694, allocations: 351.3 kB / 0.8549 GB, free: 12.72 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.1697, allocations: 282.8 kB / 0.8551 GB, free: 12.42 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.17, allocations: 423.1 kB / 0.8556 GB, free: 11.93 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2687/0.4387, allocations: 0.5905 MB / 0.8561 GB, free: 29.25 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.4387, allocations: 0 / 0.8561 GB, free: 29.25 MB / 490.8 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007986/0.4395, allocations: 0.7382 MB / 0.8568 GB, free: 28.96 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.4396, allocations: 124 kB / 0.857 GB, free: 28.83 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.4396, allocations: 7.312 kB / 0.857 GB, free: 28.83 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.394e-05/0.4396, allocations: 7.781 kB / 0.857 GB, free: 28.83 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.4399, allocations: 104.1 kB / 0.8571 GB, free: 28.83 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.4399, allocations: 10.66 kB / 0.8571 GB, free: 28.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.4401, allocations: 30.3 kB / 0.8571 GB, free: 28.83 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.4401, allocations: 24.23 kB / 0.8571 GB, free: 28.83 MB / 490.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 16 * Number of states: 0 () * Number of discrete variables: 29 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 4 * 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.0002949/0.4404, allocations: 277.7 kB / 0.8574 GB, free: 28.62 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.4405, allocations: 43.86 kB / 0.8574 GB, free: 28.62 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.4405, allocations: 39.52 kB / 0.8575 GB, free: 28.61 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4405, allocations: 8.625 kB / 0.8575 GB, free: 28.61 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4405, allocations: 0 / 0.8575 GB, free: 28.61 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4405, allocations: 3.234 kB / 0.8575 GB, free: 28.61 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.4416, allocations: 1.042 MB / 0.8585 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4416, allocations: 0.75 kB / 0.8585 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.4418, allocations: 85.86 kB / 0.8586 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4418, allocations: 2.469 kB / 0.8586 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.4418, allocations: 11.25 kB / 0.8586 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4418, allocations: 3.938 kB / 0.8586 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.4418, allocations: 6.906 kB / 0.8586 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000854/0.4427, allocations: 0.9956 MB / 0.8596 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.4428, allocations: 69.25 kB / 0.8597 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.4428, allocations: 22.61 kB / 0.8597 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.443, allocations: 29.7 kB / 0.8597 GB, free: 27.74 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-05/0.443, allocations: 39.72 kB / 0.8597 GB, free: 27.74 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.4431, allocations: 18.95 kB / 0.8598 GB, free: 27.74 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001325/0.4432, allocations: 205.2 kB / 0.86 GB, free: 27.66 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4432, allocations: 0 / 0.86 GB, free: 27.66 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002689/0.4435, allocations: 116.8 kB / 0.8601 GB, free: 27.66 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC,peripheral.C,peripheral.AUC) * Number of discrete variables: 18 ($whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 16 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition6,peripheral.Cmax,$whenCondition5,peripheral.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition4,periodicDose.route.absorptionLumen.Cmax,$whenCondition3,periodicDose.route.absorptionLumen.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 3 * 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.0001097/0.4436, allocations: 134.3 kB / 0.8602 GB, free: 27.57 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005825/0.4442, allocations: 0.7813 MB / 0.861 GB, free: 27.08 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4442, allocations: 0.625 kB / 0.861 GB, free: 27.08 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.4444, allocations: 447.5 kB / 0.8614 GB, free: 26.78 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.4449, allocations: 115.4 kB / 0.8615 GB, free: 26.78 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.4464, allocations: 1.338 MB / 0.8628 GB, free: 26.11 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.4466, allocations: 196.2 kB / 0.863 GB, free: 26.02 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.732e-05/0.4467, allocations: 37.59 kB / 0.863 GB, free: 26.02 MB / 490.8 MB Notification: Performance of SimCode: time 5.31e-07/0.4467, allocations: 1.219 kB / 0.863 GB, free: 26.02 MB / 490.8 MB Notification: Performance of Templates: time 0.00821/0.4549, allocations: 5.426 MB / 0.8683 GB, free: 25.48 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.276282909326255]