Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.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.002225/0.002225, allocations: 105.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.002494/0.002494, allocations: 210.4 kB / 22.25 MB, free: 3.57 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.725/1.725, allocations: 230.6 MB / 256 MB, free: 9.594 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.404/1.404, allocations: 316.7 MB / 0.6144 GB, free: 93.12 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2419200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2419200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab") [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.003995/0.003995, allocations: 73.73 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1805, allocations: 73.99 MB / 0.8473 GB, free: 4.871 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab): time 0.004387/0.1849, allocations: 2.345 MB / 0.8496 GB, free: 2.523 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.1862, allocations: 0.5916 MB / 0.8501 GB, free: 1.938 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1863, allocations: 4 kB / 0.8501 GB, free: 1.934 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.1864, allocations: 24.28 kB / 0.8502 GB, free: 1.91 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.1866, allocations: 84.5 kB / 0.8502 GB, free: 1.828 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.1869, allocations: 52.53 kB / 0.8503 GB, free: 1.777 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.1872, allocations: 258.7 kB / 0.8505 GB, free: 1.523 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.1874, allocations: 33.25 kB / 0.8506 GB, free: 1.492 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.1876, allocations: 95.66 kB / 0.8507 GB, free: 1.398 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.1878, allocations: 100.1 kB / 0.8508 GB, free: 1.301 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.1878, allocations: 16.62 kB / 0.8508 GB, free: 1.285 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.697e-05/0.1879, allocations: 16.56 kB / 0.8508 GB, free: 1.27 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/0.1879, allocations: 39.84 kB / 0.8508 GB, free: 1.23 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1881, allocations: 88.19 kB / 0.8509 GB, free: 1.145 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.1884, allocations: 199.2 kB / 0.8511 GB, free: 0.9492 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.1884, allocations: 4.594 kB / 0.8511 GB, free: 0.9453 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1884, allocations: 0.75 kB / 0.8511 GB, free: 0.9453 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1884, allocations: 3.938 kB / 0.8511 GB, free: 0.9414 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.001049/0.1895, allocations: 498.6 kB / 0.8516 GB, free: 420 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.1895, allocations: 12.03 kB / 0.8516 GB, free: 408 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.1896, allocations: 25.33 kB / 0.8516 GB, free: 384 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.1899, allocations: 183.7 kB / 0.8518 GB, free: 172 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.1899, allocations: 8.609 kB / 0.8518 GB, free: 164 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.19, allocations: 24.55 kB / 0.8518 GB, free: 140 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.1904, allocations: 190.4 kB / 0.852 GB, free: 15.94 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1904, allocations: 4.531 kB / 0.852 GB, free: 15.93 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.1904, allocations: 8.625 kB / 0.852 GB, free: 15.93 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1904, allocations: 0 / 0.852 GB, free: 15.93 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/0.1908, allocations: 152.4 kB / 0.8522 GB, free: 15.77 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009072/0.1918, allocations: 481.4 kB / 0.8526 GB, free: 15.27 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005308/0.1923, allocations: 173.5 kB / 0.8528 GB, free: 15.09 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.1925, allocations: 95.61 kB / 0.8529 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.1925, allocations: 0 / 0.8529 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004238/0.1929, allocations: 236.7 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.362e-06/0.1929, allocations: 0 / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001637/0.1946, allocations: 0.6969 MB / 0.8538 GB, free: 13.97 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.1947, allocations: 136.5 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.195, allocations: 219 kB / 0.8541 GB, free: 13.58 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.195, allocations: 31.83 kB / 0.8542 GB, free: 13.55 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.1951, allocations: 132.5 kB / 0.8543 GB, free: 13.41 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.145e-05/0.1952, allocations: 75.41 kB / 0.8544 GB, free: 13.34 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.1953, allocations: 57.66 kB / 0.8544 GB, free: 13.28 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1955, allocations: 334.8 kB / 0.8547 GB, free: 12.94 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.1958, allocations: 146.3 kB / 0.8549 GB, free: 12.78 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.1963, allocations: 221.3 kB / 0.8551 GB, free: 12.52 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3877/0.5839, allocations: 279.7 kB / 0.8553 GB, free: 28.2 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.584, allocations: 0 / 0.8553 GB, free: 28.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009616/0.5849, allocations: 390.7 kB / 0.8557 GB, free: 28.04 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.585, allocations: 68.56 kB / 0.8558 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.585, allocations: 2.391 kB / 0.8558 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.585, allocations: 7.625 kB / 0.8558 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.5853, allocations: 46.03 kB / 0.8558 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.5853, allocations: 7.75 kB / 0.8558 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.5856, allocations: 19.56 kB / 0.8559 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.5856, allocations: 13.53 kB / 0.8559 GB, free: 27.98 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.0002294/0.5859, allocations: 172.7 kB / 0.856 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.5859, allocations: 25.06 kB / 0.8561 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.626e-05/0.586, allocations: 28.31 kB / 0.8561 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.586, allocations: 6.062 kB / 0.8561 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.586, allocations: 0 / 0.8561 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.586, allocations: 2.516 kB / 0.8561 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009375/0.5869, allocations: 0.5345 MB / 0.8566 GB, free: 27.53 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5869, allocations: 0 / 0.8566 GB, free: 27.53 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.5872, allocations: 39.12 kB / 0.8567 GB, free: 27.53 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.5872, allocations: 2.219 kB / 0.8567 GB, free: 27.53 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.5872, allocations: 13.95 kB / 0.8567 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5872, allocations: 0 / 0.8567 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5872, allocations: 0.6562 kB / 0.8567 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008834/0.5881, allocations: 0.4899 MB / 0.8572 GB, free: 27.3 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.5882, allocations: 23.92 kB / 0.8572 GB, free: 27.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.5882, allocations: 8.312 kB / 0.8572 GB, free: 27.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.5885, allocations: 13.55 kB / 0.8572 GB, free: 27.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/0.5886, allocations: 20.2 kB / 0.8572 GB, free: 27.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.5886, allocations: 9.984 kB / 0.8572 GB, free: 27.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000162/0.5887, allocations: 158.4 kB / 0.8574 GB, free: 27.22 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5887, allocations: 1.938 kB / 0.8574 GB, free: 27.22 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004853/0.5892, allocations: 58.78 kB / 0.8574 GB, free: 27.22 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.0001296/0.5894, allocations: 106.7 kB / 0.8575 GB, free: 27.13 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006799/0.59, allocations: 380.9 kB / 0.8579 GB, free: 26.91 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.59, allocations: 2.719 kB / 0.8579 GB, free: 26.91 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.5903, allocations: 175.6 kB / 0.8581 GB, free: 26.82 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006642/0.591, allocations: 64.77 kB / 0.8581 GB, free: 26.81 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.5925, allocations: 0.6702 MB / 0.8588 GB, free: 26.54 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.5926, allocations: 128.1 kB / 0.8589 GB, free: 26.46 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.5928, allocations: 27.23 kB / 0.8589 GB, free: 26.45 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.5928, allocations: 23.94 kB / 0.859 GB, free: 26.45 MB / 490.8 MB Notification: Performance of SimCode: time 7.11e-07/0.5928, allocations: 0.625 kB / 0.859 GB, free: 26.45 MB / 490.8 MB Notification: Performance of Templates: time 0.0099/0.6027, allocations: 3.636 MB / 0.8625 GB, free: 26.12 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.37088652397506]