Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate.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.001042/0.001042, allocations: 108.4 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.001222/0.001222, allocations: 220.4 kB / 23 MB, free: 2.953 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.942/0.942, 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.7007/0.7007, allocations: 312.3 MB / 0.6109 GB, free: 97.77 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.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate") [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.001495/0.001495, allocations: 78.95 kB / 0.77 GB, free: 20.29 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.127, allocations: 73.98 MB / 0.8422 GB, free: 10.43 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate): time 0.003006/0.13, allocations: 2.696 MB / 0.8448 GB, free: 7.742 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005318/0.1354, allocations: 6.602 MB / 0.8513 GB, free: 1.141 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.1355, allocations: 7.938 kB / 0.8513 GB, free: 1.133 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.1356, allocations: 32.14 kB / 0.8513 GB, free: 1.102 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.1359, allocations: 124.1 kB / 0.8514 GB, free: 0.9805 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.1361, allocations: 72.62 kB / 0.8515 GB, free: 0.9102 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.1364, allocations: 382.7 kB / 0.8519 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.1366, allocations: 48.91 kB / 0.8519 GB, free: 500 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.1367, allocations: 140.2 kB / 0.8521 GB, free: 360 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1369, allocations: 139.9 kB / 0.8522 GB, free: 220 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.137, allocations: 24 kB / 0.8522 GB, free: 196 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.537e-05/0.137, allocations: 28.78 kB / 0.8522 GB, free: 168 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.878e-05/0.137, allocations: 55.72 kB / 0.8523 GB, free: 112 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1371, allocations: 136 kB / 0.8524 GB, free: 15.97 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005101/0.1377, allocations: 291.2 kB / 0.8527 GB, free: 15.69 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1377, allocations: 0 / 0.8527 GB, free: 15.69 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1377, allocations: 0.625 kB / 0.8527 GB, free: 15.69 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1377, allocations: 0.5938 kB / 0.8527 GB, free: 15.69 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007234/0.1384, allocations: 0.6018 MB / 0.8533 GB, free: 15.04 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1384, allocations: 8.656 kB / 0.8533 GB, free: 15.03 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.1385, allocations: 36.73 kB / 0.8533 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.1387, allocations: 205.7 kB / 0.8535 GB, free: 14.77 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1387, allocations: 20.73 kB / 0.8535 GB, free: 14.75 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.1388, allocations: 28.66 kB / 0.8536 GB, free: 14.72 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.1391, allocations: 284.5 kB / 0.8538 GB, free: 14.42 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1391, allocations: 8.547 kB / 0.8539 GB, free: 14.41 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.1391, allocations: 4 kB / 0.8539 GB, free: 14.41 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.1391, allocations: 8.531 kB / 0.8539 GB, free: 14.4 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.1394, allocations: 229.5 kB / 0.8541 GB, free: 14.17 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007763/0.1401, allocations: 0.6853 MB / 0.8548 GB, free: 13.44 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.1405, allocations: 238.7 kB / 0.855 GB, free: 13.19 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.1407, allocations: 161 kB / 0.8551 GB, free: 13.02 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.1407, allocations: 4 kB / 0.8551 GB, free: 13.01 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002998/0.141, allocations: 350.9 kB / 0.8555 GB, free: 12.62 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.845e-06/0.141, allocations: 0.5 kB / 0.8555 GB, free: 12.62 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2778/0.4188, allocations: 1.075 MB / 0.8565 GB, free: 21.32 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.4188, allocations: 221.9 kB / 0.8567 GB, free: 21.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.4191, allocations: 248.3 kB / 0.857 GB, free: 20.97 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.4191, allocations: 38.08 kB / 0.857 GB, free: 20.94 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.8e-05/0.4192, allocations: 158.5 kB / 0.8572 GB, free: 20.86 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.4192, allocations: 115.1 kB / 0.8573 GB, free: 20.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-05/0.4193, allocations: 73.72 kB / 0.8573 GB, free: 20.78 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.11e-05/0.4194, allocations: 340.4 kB / 0.8577 GB, free: 20.47 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.4195, allocations: 212.2 kB / 0.8579 GB, free: 20.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.4197, allocations: 314.9 kB / 0.8582 GB, free: 20.13 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.4201, allocations: 438.9 kB / 0.8586 GB, free: 19.88 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4201, allocations: 3.094 kB / 0.8586 GB, free: 19.88 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004866/0.4205, allocations: 0.5525 MB / 0.8591 GB, free: 19.63 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/0.4206, allocations: 91.95 kB / 0.8592 GB, free: 19.54 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4206, allocations: 5.5 kB / 0.8592 GB, free: 19.54 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.4206, allocations: 6.844 kB / 0.8592 GB, free: 19.54 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.4208, allocations: 76.64 kB / 0.8593 GB, free: 19.54 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.4208, allocations: 5.125 kB / 0.8593 GB, free: 19.54 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.421, allocations: 23 kB / 0.8593 GB, free: 19.54 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.421, allocations: 17.78 kB / 0.8593 GB, free: 19.54 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0001952/0.4212, allocations: 226.1 kB / 0.8596 GB, free: 19.36 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.4212, allocations: 30.75 kB / 0.8596 GB, free: 19.34 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.4213, allocations: 37.84 kB / 0.8596 GB, free: 19.33 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4213, allocations: 1.031 kB / 0.8596 GB, free: 19.33 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.4213, allocations: 0 / 0.8596 GB, free: 19.33 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4213, allocations: 4.609 kB / 0.8596 GB, free: 19.33 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007348/0.422, allocations: 0.7632 MB / 0.8604 GB, free: 18.97 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.422, allocations: 0 / 0.8604 GB, free: 18.97 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.4222, allocations: 58.88 kB / 0.8604 GB, free: 18.97 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4222, allocations: 2.219 kB / 0.8604 GB, free: 18.97 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.4222, allocations: 15.58 kB / 0.8604 GB, free: 18.97 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4222, allocations: 3.875 kB / 0.8605 GB, free: 18.97 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4222, allocations: 0 / 0.8605 GB, free: 18.97 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000594/0.4228, allocations: 0.7261 MB / 0.8612 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.4228, allocations: 29.83 kB / 0.8612 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.4229, allocations: 10.66 kB / 0.8612 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.423, allocations: 16.52 kB / 0.8612 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.4231, allocations: 32.84 kB / 0.8612 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.4231, allocations: 10.62 kB / 0.8613 GB, free: 18.61 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000126/0.4232, allocations: 176.7 kB / 0.8614 GB, free: 18.52 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4232, allocations: 0.5 kB / 0.8614 GB, free: 18.52 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002373/0.4234, allocations: 91.66 kB / 0.8615 GB, free: 18.52 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001195/0.4236, allocations: 125.5 kB / 0.8616 GB, free: 18.43 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004857/0.4241, allocations: 0.5661 MB / 0.8622 GB, free: 18.09 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4241, allocations: 0 / 0.8622 GB, free: 18.09 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.4243, allocations: 298.5 kB / 0.8625 GB, free: 17.9 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.4247, allocations: 88.41 kB / 0.8626 GB, free: 17.9 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.426, allocations: 0.9608 MB / 0.8635 GB, free: 17.43 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.4261, allocations: 159 kB / 0.8636 GB, free: 17.35 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.4262, allocations: 31.84 kB / 0.8637 GB, free: 17.34 MB / 490.8 MB Notification: Performance of SimCode: time 1.192e-06/0.4262, allocations: 0 / 0.8637 GB, free: 17.34 MB / 490.8 MB Notification: Performance of Templates: time 0.006921/0.4331, allocations: 4.01 MB / 0.8676 GB, free: 17 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.014335079118609]