Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Riva2023_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.002197/0.002197, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002542/0.002542, allocations: 218.2 kB / 22.25 MB, free: 3.688 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.734/1.734, 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.455/1.455, allocations: 316.7 MB / 0.6144 GB, free: 92.93 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_Riva2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Riva2023_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Riva2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Riva2023_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.01427/0.01427, allocations: 79.62 kB / 0.775 GB, free: 14.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1869, allocations: 73.99 MB / 0.8472 GB, free: 4.883 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Riva2023_reference): time 0.003783/0.1907, allocations: 1.809 MB / 0.849 GB, free: 3.074 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.192, allocations: 0.5496 MB / 0.8495 GB, free: 2.523 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.192, allocations: 0 / 0.8495 GB, free: 2.523 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.1921, allocations: 12.45 kB / 0.8496 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003693/0.1925, allocations: 60.86 kB / 0.8496 GB, free: 2.453 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.1927, allocations: 65.64 kB / 0.8497 GB, free: 2.391 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.193, allocations: 172 kB / 0.8498 GB, free: 2.223 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.193, allocations: 5.312 kB / 0.8499 GB, free: 2.219 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.1932, allocations: 68.58 kB / 0.8499 GB, free: 2.152 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.1934, allocations: 83.64 kB / 0.85 GB, free: 2.07 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.1935, allocations: 14.16 kB / 0.85 GB, free: 2.059 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.113e-05/0.1935, allocations: 8 kB / 0.85 GB, free: 2.051 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-05/0.1936, allocations: 31.89 kB / 0.85 GB, free: 2.02 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.834e-05/0.1937, allocations: 51.78 kB / 0.8501 GB, free: 1.969 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1938, allocations: 95.58 kB / 0.8502 GB, free: 1.875 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.1938, allocations: 0.7188 kB / 0.8502 GB, free: 1.875 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1938, allocations: 0 / 0.8502 GB, free: 1.875 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1939, allocations: 1.094 kB / 0.8502 GB, free: 1.875 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009211/0.1948, allocations: 388.2 kB / 0.8506 GB, free: 1.461 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1948, allocations: 12.39 kB / 0.8506 GB, free: 1.449 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.1949, allocations: 17.66 kB / 0.8506 GB, free: 1.434 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.1951, allocations: 150.8 kB / 0.8507 GB, free: 1.262 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1952, allocations: 18.22 kB / 0.8508 GB, free: 1.246 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.1952, allocations: 12.12 kB / 0.8508 GB, free: 1.234 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.1955, allocations: 97.61 kB / 0.8509 GB, free: 1.133 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1955, allocations: 0 / 0.8509 GB, free: 1.133 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1955, allocations: 0 / 0.8509 GB, free: 1.133 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1955, allocations: 8.703 kB / 0.8509 GB, free: 1.125 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.1958, allocations: 81.86 kB / 0.8509 GB, free: 1.047 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.1964, allocations: 284.3 kB / 0.8512 GB, free: 0.7383 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.1968, allocations: 135.7 kB / 0.8513 GB, free: 0.5977 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.197, allocations: 48.81 kB / 0.8514 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.197, allocations: 0.8438 kB / 0.8514 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003039/0.1973, allocations: 119.1 kB / 0.8515 GB, free: 432 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.1973, allocations: 0 / 0.8515 GB, free: 432 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006152/0.1979, allocations: 204 kB / 0.8517 GB, free: 224 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.198, allocations: 55.41 kB / 0.8518 GB, free: 156 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.1982, allocations: 154.5 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.1982, allocations: 29.7 kB / 0.8519 GB, free: 15.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/0.1983, allocations: 106.3 kB / 0.852 GB, free: 15.85 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.1983, allocations: 47.64 kB / 0.8521 GB, free: 15.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.1984, allocations: 33.7 kB / 0.8521 GB, free: 15.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005786/0.199, allocations: 330.8 kB / 0.8524 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.1992, allocations: 81.66 kB / 0.8525 GB, free: 15.35 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.1995, allocations: 201.2 kB / 0.8527 GB, free: 15.12 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.1999, allocations: 143.5 kB / 0.8528 GB, free: 14.97 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1999, allocations: 0.5 kB / 0.8528 GB, free: 14.97 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005094/0.2004, allocations: 243.9 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.2004, allocations: 34.39 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.2004, allocations: 4 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.2005, allocations: 0.8438 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.2006, allocations: 36.42 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.2007, allocations: 8.547 kB / 0.8531 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.2008, allocations: 24.5 kB / 0.8532 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.2009, allocations: 4 kB / 0.8532 GB, free: 14.6 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0001452/0.201, allocations: 123.6 kB / 0.8533 GB, free: 14.47 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.201, allocations: 7.953 kB / 0.8533 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.2015, allocations: 179.4 kB / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.2015, allocations: 4.625 kB / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2015, allocations: 0 / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.2015, allocations: 4.766 kB / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.2017, allocations: 149.2 kB / 0.8536 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2017, allocations: 0.7812 kB / 0.8536 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.2019, allocations: 19.98 kB / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.2019, allocations: 4.719 kB / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.2019, allocations: 4 kB / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.2019, allocations: 4.578 kB / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2019, allocations: 0.7188 kB / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006306/0.2026, allocations: 249.9 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.2026, allocations: 11.92 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.2026, allocations: 12.61 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.2028, allocations: 12.55 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.686e-05/0.2028, allocations: 12.52 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2029, allocations: 7.984 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001277/0.203, allocations: 122.6 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.203, allocations: 0.5 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002154/0.2032, allocations: 32 kB / 0.8541 GB, free: 13.61 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001524/0.2034, allocations: 100.4 kB / 0.8542 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004969/0.2039, allocations: 220.8 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2039, allocations: 0 / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.204, allocations: 60.58 kB / 0.8545 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.2043, allocations: 50.2 kB / 0.8545 GB, free: 13.16 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008038/0.2052, allocations: 330.8 kB / 0.8548 GB, free: 12.82 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.2053, allocations: 102.8 kB / 0.8549 GB, free: 12.7 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.744e-05/0.2054, allocations: 24.45 kB / 0.8549 GB, free: 12.68 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.2054, allocations: 16 kB / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of SimCode: time 4.81e-07/0.2054, allocations: 3.938 kB / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of Templates: time 0.2923/0.4977, allocations: 2.619 MB / 0.8575 GB, free: 28.18 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Riva2023_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Riva2023_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Riva2023_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Riva2023_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Riva2023_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Riva2023_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Rituximab.Rituximab_Riva2023_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.555606269976124]