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.00201/0.00201, allocations: 109.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.002193/0.002193, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.797/1.797, allocations: 230.6 MB / 256 MB, free: 9.605 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.437/1.437, allocations: 316.7 MB / 0.6144 GB, free: 93.29 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.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.005363/0.005363, allocations: 73.17 kB / 0.775 GB, free: 14.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1703, allocations: 73.99 MB / 0.8472 GB, free: 4.992 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference): time 0.004928/0.1752, allocations: 2.329 MB / 0.8495 GB, free: 2.664 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1766, allocations: 0.5912 MB / 0.8501 GB, free: 2.078 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.1768, allocations: 6.562 kB / 0.8501 GB, free: 2.074 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.177, allocations: 27.72 kB / 0.8501 GB, free: 2.047 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.1773, allocations: 75.34 kB / 0.8502 GB, free: 1.973 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.1775, allocations: 55.86 kB / 0.8502 GB, free: 1.918 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000417/0.1779, allocations: 250.8 kB / 0.8505 GB, free: 1.672 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1781, allocations: 41.28 kB / 0.8505 GB, free: 1.633 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.1783, allocations: 95.64 kB / 0.8506 GB, free: 1.539 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.1786, allocations: 100.3 kB / 0.8507 GB, free: 1.441 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.988e-05/0.1786, allocations: 16 kB / 0.8507 GB, free: 1.426 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.596e-05/0.1787, allocations: 20.5 kB / 0.8507 GB, free: 1.406 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.1788, allocations: 32.42 kB / 0.8508 GB, free: 1.375 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.1789, allocations: 95.58 kB / 0.8509 GB, free: 1.281 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.1792, allocations: 199.8 kB / 0.851 GB, free: 1.086 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1792, allocations: 0.625 kB / 0.851 GB, free: 1.086 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1792, allocations: 0 / 0.851 GB, free: 1.086 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1792, allocations: 0.625 kB / 0.851 GB, free: 1.086 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.001138/0.1804, allocations: 0.4908 MB / 0.8515 GB, free: 0.5508 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.1804, allocations: 11.89 kB / 0.8515 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.1805, allocations: 25.39 kB / 0.8516 GB, free: 0.5156 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.181, allocations: 183.1 kB / 0.8517 GB, free: 320 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.181, allocations: 13.2 kB / 0.8518 GB, free: 308 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.181, allocations: 20.48 kB / 0.8518 GB, free: 288 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.1815, allocations: 194.5 kB / 0.852 GB, free: 80 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1815, allocations: 0.75 kB / 0.852 GB, free: 80 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.1815, allocations: 4 kB / 0.852 GB, free: 76 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1815, allocations: 4.594 kB / 0.852 GB, free: 72 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004061/0.1819, allocations: 146.8 kB / 0.8521 GB, free: 15.92 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009209/0.1828, allocations: 486.7 kB / 0.8526 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/0.1834, allocations: 177.2 kB / 0.8527 GB, free: 15.23 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.1836, allocations: 99.73 kB / 0.8528 GB, free: 15.12 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.1836, allocations: 0 / 0.8528 GB, free: 15.12 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004185/0.184, allocations: 233 kB / 0.8531 GB, free: 14.87 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.184, allocations: 0 / 0.8531 GB, free: 14.87 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001649/0.1857, allocations: 0.6977 MB / 0.8537 GB, free: 14.11 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.1858, allocations: 136.5 kB / 0.8539 GB, free: 13.95 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.186, allocations: 215 kB / 0.8541 GB, free: 13.73 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.1861, allocations: 29.7 kB / 0.8541 GB, free: 13.69 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.1862, allocations: 136.5 kB / 0.8542 GB, free: 13.55 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.317e-05/0.1863, allocations: 75.41 kB / 0.8543 GB, free: 13.48 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.451e-05/0.1864, allocations: 54.78 kB / 0.8544 GB, free: 13.42 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1865, allocations: 342.8 kB / 0.8547 GB, free: 13.08 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.1868, allocations: 143 kB / 0.8548 GB, free: 12.92 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.1871, allocations: 221.3 kB / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007295/0.1879, allocations: 277 kB / 0.8553 GB, free: 12.35 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1879, allocations: 1.156 kB / 0.8553 GB, free: 12.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.3345/0.5224, allocations: 390.2 kB / 0.8557 GB, free: 28.25 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/0.5224, allocations: 66.33 kB / 0.8557 GB, free: 28.19 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.5224, allocations: 2.688 kB / 0.8557 GB, free: 28.19 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.5225, allocations: 4.281 kB / 0.8557 GB, free: 28.19 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.5227, allocations: 49.7 kB / 0.8558 GB, free: 28.19 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.5227, allocations: 6.609 kB / 0.8558 GB, free: 28.19 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.5229, allocations: 18.45 kB / 0.8558 GB, free: 28.19 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.5229, allocations: 11.25 kB / 0.8558 GB, free: 28.19 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.0002377/0.5232, allocations: 173.5 kB / 0.856 GB, free: 28.05 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.5232, allocations: 22.34 kB / 0.856 GB, free: 28.05 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/0.5233, allocations: 29.22 kB / 0.856 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.5233, allocations: 3.5 kB / 0.856 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.5233, allocations: 7.438 kB / 0.856 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5233, allocations: 0 / 0.856 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000763/0.5241, allocations: 0.5336 MB / 0.8566 GB, free: 27.74 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5241, allocations: 0 / 0.8566 GB, free: 27.74 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.5243, allocations: 36.84 kB / 0.8566 GB, free: 27.74 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5243, allocations: 4.812 kB / 0.8566 GB, free: 27.74 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.5243, allocations: 5.5 kB / 0.8566 GB, free: 27.74 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5243, allocations: 1.219 kB / 0.8566 GB, free: 27.74 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5243, allocations: 5.562 kB / 0.8566 GB, free: 27.74 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006904/0.525, allocations: 0.4967 MB / 0.8571 GB, free: 27.51 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.525, allocations: 19.27 kB / 0.8571 GB, free: 27.51 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.5251, allocations: 13.61 kB / 0.8571 GB, free: 27.51 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.5252, allocations: 12.34 kB / 0.8571 GB, free: 27.51 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.871e-05/0.5253, allocations: 23.05 kB / 0.8572 GB, free: 27.51 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.5253, allocations: 7.422 kB / 0.8572 GB, free: 27.51 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001247/0.5254, allocations: 157.6 kB / 0.8573 GB, free: 27.44 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5254, allocations: 0 / 0.8573 GB, free: 27.44 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002998/0.5257, allocations: 54.91 kB / 0.8574 GB, free: 27.44 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.0001595/0.5259, allocations: 110.5 kB / 0.8575 GB, free: 27.35 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006493/0.5266, allocations: 382.2 kB / 0.8578 GB, free: 27.13 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5266, allocations: 0.5625 kB / 0.8578 GB, free: 27.13 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.5268, allocations: 173.5 kB / 0.858 GB, free: 27.04 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.5273, allocations: 66.62 kB / 0.8581 GB, free: 27.03 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.5285, allocations: 0.6772 MB / 0.8587 GB, free: 26.76 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.379e-05/0.5286, allocations: 125.8 kB / 0.8589 GB, free: 26.68 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.5287, allocations: 26.25 kB / 0.8589 GB, free: 26.68 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.5287, allocations: 22.5 kB / 0.8589 GB, free: 26.67 MB / 490.8 MB Notification: Performance of SimCode: time 4.11e-07/0.5287, allocations: 0 / 0.8589 GB, free: 26.67 MB / 490.8 MB Notification: Performance of Templates: time 0.008001/0.5367, allocations: 3.631 MB / 0.8624 GB, free: 26.38 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Gota2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.429690764052793]