Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant_Nijstad2023_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.001072/0.001072, allocations: 104.3 kB / 19.71 MB, free: 440 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.00113/0.00113, allocations: 217.8 kB / 23 MB, free: 2.965 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.93/0.93, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.6741/0.6741, allocations: 312.3 MB / 0.6108 GB, free: 97.07 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.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant_Nijstad2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant_Nijstad2023_reference") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant_Nijstad2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant_Nijstad2023_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.001985/0.001985, allocations: 81.62 kB / 0.7699 GB, free: 19.66 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1318, allocations: 73.98 MB / 0.8421 GB, free: 9.816 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant_Nijstad2023_reference): time 0.003119/0.1349, allocations: 2.302 MB / 0.8444 GB, free: 7.516 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005821/0.1407, allocations: 6.525 MB / 0.8507 GB, free: 0.9883 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.1409, allocations: 3.938 kB / 0.8507 GB, free: 0.9844 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.141, allocations: 24.34 kB / 0.8508 GB, free: 0.9609 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.1412, allocations: 80.58 kB / 0.8508 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.1415, allocations: 52.47 kB / 0.8509 GB, free: 0.832 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.1417, allocations: 254.7 kB / 0.8511 GB, free: 0.582 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.1419, allocations: 41.14 kB / 0.8512 GB, free: 0.543 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.142, allocations: 96.25 kB / 0.8513 GB, free: 460 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.1422, allocations: 99.48 kB / 0.8514 GB, free: 360 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.1422, allocations: 20.69 kB / 0.8514 GB, free: 340 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.118e-05/0.1423, allocations: 16.56 kB / 0.8514 GB, free: 324 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.1423, allocations: 35.84 kB / 0.8514 GB, free: 288 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.231e-05/0.1424, allocations: 92.12 kB / 0.8515 GB, free: 196 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.1427, allocations: 200 kB / 0.8517 GB, free: 15.99 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1427, allocations: 4 kB / 0.8517 GB, free: 15.99 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1427, allocations: 0 / 0.8517 GB, free: 15.99 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1427, allocations: 0.5312 kB / 0.8517 GB, free: 15.99 MB / 490.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.0007916/0.1435, allocations: 0.4904 MB / 0.8522 GB, free: 15.46 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1435, allocations: 8.656 kB / 0.8522 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.1436, allocations: 25.42 kB / 0.8522 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.1438, allocations: 183.1 kB / 0.8524 GB, free: 15.22 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.1438, allocations: 13.17 kB / 0.8524 GB, free: 15.21 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.1439, allocations: 20.52 kB / 0.8524 GB, free: 15.19 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.1442, allocations: 187.1 kB / 0.8526 GB, free: 14.99 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1442, allocations: 4 kB / 0.8526 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1442, allocations: 4.625 kB / 0.8526 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1442, allocations: 4 kB / 0.8526 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002572/0.1445, allocations: 147.5 kB / 0.8528 GB, free: 14.83 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.1451, allocations: 486.7 kB / 0.8532 GB, free: 14.32 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.1455, allocations: 169.3 kB / 0.8534 GB, free: 14.14 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.1456, allocations: 91.03 kB / 0.8535 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.1456, allocations: 4.625 kB / 0.8535 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.1459, allocations: 233 kB / 0.8537 GB, free: 13.79 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.1459, allocations: 4.562 kB / 0.8537 GB, free: 13.78 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001117/0.147, allocations: 0.7176 MB / 0.8544 GB, free: 13.01 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.1471, allocations: 133.2 kB / 0.8545 GB, free: 12.85 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1473, allocations: 219.5 kB / 0.8547 GB, free: 12.62 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.1473, allocations: 33.7 kB / 0.8548 GB, free: 12.59 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/0.1474, allocations: 133 kB / 0.8549 GB, free: 12.45 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.1474, allocations: 68.05 kB / 0.855 GB, free: 12.39 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.202e-05/0.1475, allocations: 57.66 kB / 0.855 GB, free: 12.32 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.1476, allocations: 339.3 kB / 0.8554 GB, free: 11.98 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2595/0.407, allocations: 142.8 kB / 0.8555 GB, free: 30.28 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.4072, allocations: 224.3 kB / 0.8557 GB, free: 30.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.4074, allocations: 273.9 kB / 0.856 GB, free: 29.96 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4075, allocations: 0 / 0.856 GB, free: 29.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000411/0.4079, allocations: 397 kB / 0.8563 GB, free: 29.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.4079, allocations: 67.97 kB / 0.8564 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4079, allocations: 0 / 0.8564 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.4079, allocations: 2.844 kB / 0.8564 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.4081, allocations: 54.17 kB / 0.8565 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.4081, allocations: 4.719 kB / 0.8565 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.4082, allocations: 20.33 kB / 0.8565 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.4082, allocations: 9.406 kB / 0.8565 GB, free: 29.73 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.0001685/0.4084, allocations: 177.8 kB / 0.8567 GB, free: 29.58 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.4084, allocations: 23.78 kB / 0.8567 GB, free: 29.58 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.4085, allocations: 28.2 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4085, allocations: 3.25 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4085, allocations: 0 / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4085, allocations: 0.8125 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.409, allocations: 0.5428 MB / 0.8572 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.409, allocations: 0 / 0.8572 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.4091, allocations: 30.97 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4091, allocations: 1 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.4091, allocations: 17.25 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4091, allocations: 3.938 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4091, allocations: 5.938 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.4095, allocations: 496.5 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.4096, allocations: 18.52 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.4096, allocations: 7.719 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.4097, allocations: 17.38 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.4097, allocations: 19.25 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.4098, allocations: 13.16 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.259e-05/0.4099, allocations: 159.2 kB / 0.858 GB, free: 28.96 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4099, allocations: 2.344 kB / 0.858 GB, free: 28.96 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001973/0.4101, allocations: 54.53 kB / 0.8581 GB, free: 28.96 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 9.615e-05/0.4101, allocations: 117.4 kB / 0.8582 GB, free: 28.87 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003398/0.4105, allocations: 378.7 kB / 0.8585 GB, free: 28.64 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4105, allocations: 0 / 0.8585 GB, free: 28.64 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.4106, allocations: 171.5 kB / 0.8587 GB, free: 28.55 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.4109, allocations: 68.38 kB / 0.8588 GB, free: 28.54 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008929/0.4118, allocations: 0.7002 MB / 0.8594 GB, free: 28.24 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.358e-05/0.4119, allocations: 131.8 kB / 0.8596 GB, free: 28.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.4119, allocations: 20.56 kB / 0.8596 GB, free: 28.15 MB / 490.8 MB Notification: Performance of SimCode: time 5.91e-07/0.4119, allocations: 0 / 0.8596 GB, free: 28.15 MB / 490.8 MB Notification: Performance of Templates: time 0.004023/0.416, allocations: 2.948 MB / 0.8625 GB, free: 27.94 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant_Nijstad2023_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant_Nijstad2023_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant_Nijstad2023_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant_Nijstad2023_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant_Nijstad2023_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant_Nijstad2023_reference > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant_Nijstad2023_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.876696100458503]