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.001024/0.001024, allocations: 76.19 kB / 9.879 MB, free: 0.8086 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.002156, allocations: 439.8 kB / 10.31 MB, free: 388 kB / 10.45 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.001237/0.001237, allocations: 157.2 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002665, allocations: 467.6 kB / 11.66 MB, free: 2.512 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.01/1.01, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09618/1.106, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.817/0.817, allocations: 291.1 MB / 0.5225 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03086/0.8479, allocations: 21.04 MB / 0.5431 GB, free: 31.81 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,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: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.5445 GB, free: 30.4 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.958e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.39 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab): time 0.003087/0.003107, allocations: 2.519 MB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009703/0.004077, allocations: 0.6154 MB / 0.5475 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.109e-05/0.004168, allocations: 3.938 kB / 0.5475 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.175e-05/0.00425, allocations: 27.78 kB / 0.5476 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.004439, allocations: 95.19 kB / 0.5477 GB, free: 27.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.004594, allocations: 47.88 kB / 0.5477 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.004847, allocations: 270.5 kB / 0.548 GB, free: 26.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.004972, allocations: 38.53 kB / 0.548 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.005209, allocations: 184.1 kB / 0.5482 GB, free: 26.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003378/0.005547, allocations: 87.72 kB / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.005583, allocations: 16 kB / 0.5483 GB, free: 26.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.599e-05/0.005619, allocations: 16 kB / 0.5483 GB, free: 26.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.192e-05/0.005651, allocations: 27.88 kB / 0.5483 GB, free: 26.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.914e-05/0.00573, allocations: 67.88 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.005932, allocations: 131.5 kB / 0.5485 GB, free: 26.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.477e-05/0.005947, allocations: 0 / 0.5485 GB, free: 26.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.005947, allocations: 0 / 0.5485 GB, free: 26.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.00596, allocations: 0 / 0.5485 GB, free: 26.25 MB / 410.7 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.0007133/0.006673, allocations: 0.4976 MB / 0.549 GB, free: 25.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.006707, allocations: 11.89 kB / 0.549 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.141e-05/0.006769, allocations: 24.92 kB / 0.549 GB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.006952, allocations: 179.1 kB / 0.5492 GB, free: 25.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.006977, allocations: 12.61 kB / 0.5492 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.007009, allocations: 16.36 kB / 0.5492 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.007237, allocations: 159.4 kB / 0.5494 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.007252, allocations: 0 / 0.5494 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.007267, allocations: 8 kB / 0.5494 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.007273, allocations: 0 / 0.5494 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.007383, allocations: 76.7 kB / 0.5495 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.00792, allocations: 372.8 kB / 0.5498 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.008142, allocations: 116 kB / 0.5499 GB, free: 24.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/0.008201, allocations: 58.55 kB / 0.55 GB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.008213, allocations: 4 kB / 0.55 GB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.008392, allocations: 184.4 kB / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.364e-06/0.008394, allocations: 3.984 kB / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007443/0.009138, allocations: 0.5107 MB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.009189, allocations: 136.5 kB / 0.5508 GB, free: 23.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.009322, allocations: 210 kB / 0.551 GB, free: 23.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.009342, allocations: 33.7 kB / 0.551 GB, free: 23.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.009389, allocations: 112.4 kB / 0.5511 GB, free: 23.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.009437, allocations: 75.39 kB / 0.5512 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/0.009509, allocations: 51.19 kB / 0.5512 GB, free: 23.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.242e-05/0.009562, allocations: 338.8 kB / 0.5516 GB, free: 22.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/0.00965, allocations: 101 kB / 0.5517 GB, free: 22.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.009753, allocations: 165.4 kB / 0.5518 GB, free: 22.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.009912, allocations: 218.5 kB / 0.552 GB, free: 22.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.009915, allocations: 0 / 0.552 GB, free: 22.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002448/0.01016, allocations: 270.1 kB / 0.5523 GB, free: 21.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.0102, allocations: 63.41 kB / 0.5524 GB, free: 21.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.01021, allocations: 4 kB / 0.5524 GB, free: 21.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.01022, allocations: 0 / 0.5524 GB, free: 21.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.01046, allocations: 67.89 kB / 0.5524 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01047, allocations: 0 / 0.5524 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.0106, allocations: 23.92 kB / 0.5524 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.01062, allocations: 11.94 kB / 0.5525 GB, free: 21.77 MB / 410.7 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.0001485/0.01077, allocations: 173.8 kB / 0.5526 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.01081, allocations: 19.98 kB / 0.5526 GB, free: 21.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.01084, allocations: 25.95 kB / 0.5527 GB, free: 21.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01085, allocations: 4 kB / 0.5527 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.01085, allocations: 0 / 0.5527 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01085, allocations: 0 / 0.5527 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003613/0.01121, allocations: 374.2 kB / 0.553 GB, free: 21.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01122, allocations: 3.938 kB / 0.553 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.01142, allocations: 47.95 kB / 0.5531 GB, free: 21.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.01145, allocations: 23.48 kB / 0.5531 GB, free: 21.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.01145, allocations: 0 / 0.5531 GB, free: 21.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.01147, allocations: 0 / 0.5531 GB, free: 21.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.01147, allocations: 4 kB / 0.5531 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01147, allocations: 0 / 0.5531 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.01176, allocations: 352.3 kB / 0.5534 GB, free: 20.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.01179, allocations: 8 kB / 0.5534 GB, free: 20.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.01193, allocations: 11.98 kB / 0.5535 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.012, allocations: 19.97 kB / 0.5535 GB, free: 20.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.01202, allocations: 15.92 kB / 0.5535 GB, free: 20.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.789e-05/0.01209, allocations: 61.95 kB / 0.5535 GB, free: 20.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01209, allocations: 0 / 0.5535 GB, free: 20.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002893/0.01238, allocations: 59.98 kB / 0.5536 GB, free: 20.5 MB / 410.7 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 9.752e-05/0.01247, allocations: 92.3 kB / 0.5537 GB, free: 20.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.01274, allocations: 308.8 kB / 0.554 GB, free: 20.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.01274, allocations: 4.125 kB / 0.554 GB, free: 20.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.01285, allocations: 149.1 kB / 0.5541 GB, free: 19.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.01322, allocations: 88.48 kB / 0.5542 GB, free: 19.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006128/0.01935, allocations: 0.5705 MB / 0.5548 GB, free: 19.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.865e-05/0.01939, allocations: 84.31 kB / 0.5549 GB, free: 19.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.854e-05/0.01947, allocations: 25.98 kB / 0.5549 GB, free: 19.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.01961, allocations: 115.3 kB / 0.555 GB, free: 18.96 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01961, allocations: 0 / 0.555 GB, free: 18.96 MB / 410.7 MB Notification: Performance of Templates: time 0.004959/0.02457, allocations: 3.772 MB / 0.5587 GB, free: 15.29 MB / 410.7 MB " [Timeout remaining time 660] 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: 7.07246230635792]