Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_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.0006906/0.0006906, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009349/0.001626, allocations: 443.9 kB / 10.36 MB, free: 332 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.0006951/0.0006951, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008974/0.001593, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.017/1.017, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08358/1.1, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.7788/0.7788, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03035/0.8091, allocations: 21.05 MB / 0.5432 GB, free: 31.94 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_Chiang2021v2_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.407e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference): time 0.003346/0.00336, allocations: 2.938 MB / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005887/0.009247, allocations: 6.782 MB / 0.5541 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.009388, allocations: 4 kB / 0.5541 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.216e-05/0.00948, allocations: 39.56 kB / 0.5541 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.009707, allocations: 123 kB / 0.5542 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.009854, allocations: 75.77 kB / 0.5543 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.01015, allocations: 393.9 kB / 0.5547 GB, free: 20.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.01029, allocations: 62.84 kB / 0.5547 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.01051, allocations: 250.6 kB / 0.555 GB, free: 19.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.01067, allocations: 127.6 kB / 0.5551 GB, free: 19.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.0107, allocations: 24 kB / 0.5551 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.743e-05/0.01073, allocations: 24 kB / 0.5551 GB, free: 19.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.007e-05/0.01076, allocations: 39.81 kB / 0.5552 GB, free: 19.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.41e-05/0.01084, allocations: 95.81 kB / 0.5553 GB, free: 19.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.01102, allocations: 199.2 kB / 0.5555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.01103, allocations: 0 / 0.5555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.01103, allocations: 4 kB / 0.5555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.01104, allocations: 0 / 0.5555 GB, free: 19.36 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006048/0.01165, allocations: 0.6282 MB / 0.5561 GB, free: 18.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.01168, allocations: 11.89 kB / 0.5561 GB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.01173, allocations: 40.91 kB / 0.5561 GB, free: 18.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.0119, allocations: 193.5 kB / 0.5563 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.01192, allocations: 12.75 kB / 0.5563 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.01195, allocations: 36.25 kB / 0.5564 GB, free: 18.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.01215, allocations: 244.7 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.01216, allocations: 0 / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.01218, allocations: 8 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.01218, allocations: 4 kB / 0.5566 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.01229, allocations: 138.6 kB / 0.5567 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.01282, allocations: 0.5152 MB / 0.5572 GB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.01298, allocations: 154.1 kB / 0.5574 GB, free: 17.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.01303, allocations: 104.5 kB / 0.5575 GB, free: 17.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.01304, allocations: 7.938 kB / 0.5575 GB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.01321, allocations: 319.7 kB / 0.5578 GB, free: 16.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.01321, allocations: 0 / 0.5578 GB, free: 16.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006687/0.01388, allocations: 0.8079 MB / 0.5586 GB, free: 15.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.01392, allocations: 277 kB / 0.5589 GB, free: 15.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.592e-05/0.01402, allocations: 229 kB / 0.5591 GB, free: 15.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.01403, allocations: 33.7 kB / 0.5591 GB, free: 15.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.01407, allocations: 137.3 kB / 0.5592 GB, free: 15.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.01411, allocations: 119 kB / 0.5593 GB, free: 14.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.01417, allocations: 70.16 kB / 0.5594 GB, free: 14.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2669/0.281, allocations: 343.2 kB / 0.5597 GB, free: 79.55 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.2812, allocations: 142 kB / 0.5599 GB, free: 79.45 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.2814, allocations: 255.3 kB / 0.5601 GB, free: 79.22 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.2816, allocations: 342.3 kB / 0.5604 GB, free: 78.96 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2816, allocations: 1.031 kB / 0.5604 GB, free: 78.96 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003533/0.2819, allocations: 387.5 kB / 0.5608 GB, free: 78.74 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/0.282, allocations: 91.8 kB / 0.5609 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.282, allocations: 3.344 kB / 0.5609 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.282, allocations: 6.172 kB / 0.5609 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.2823, allocations: 110.7 kB / 0.561 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2823, allocations: 7.625 kB / 0.561 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.2825, allocations: 21 kB / 0.561 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.2825, allocations: 13.19 kB / 0.5611 GB, free: 78.65 MB / 410.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.0001771/0.2827, allocations: 209.9 kB / 0.5613 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.2827, allocations: 34.27 kB / 0.5613 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.006e-05/0.2828, allocations: 34.02 kB / 0.5613 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2828, allocations: 1.266 kB / 0.5613 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2828, allocations: 4.234 kB / 0.5613 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.2828, allocations: 26.3 kB / 0.5614 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.2828, allocations: 14.42 kB / 0.5614 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.2829, allocations: 12.11 kB / 0.5614 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.2829, allocations: 17.16 kB / 0.5614 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.283, allocations: 24.3 kB / 0.5614 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003534/0.2834, allocations: 388.8 kB / 0.5618 GB, free: 78.23 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003801/0.2837, allocations: 0.5954 MB / 0.5624 GB, free: 77.82 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001136/0.2838, allocations: 139.5 kB / 0.5625 GB, free: 77.75 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.2e-05/0.2839, allocations: 80.3 kB / 0.5626 GB, free: 77.74 MB / 410.8 MB Notification: Performance of Backend: time 2.3e-07/0.2839, allocations: 3.844 kB / 0.5626 GB, free: 77.74 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000441/0.2844, allocations: 484.9 kB / 0.563 GB, free: 77.4 MB / 410.8 MB Notification: Performance of SimCode: time 0.007745/0.2921, allocations: 1.32 MB / 0.5643 GB, free: 76.47 MB / 410.8 MB Notification: Performance of Templates: time 0.008104/0.3002, allocations: 5.274 MB / 0.5695 GB, free: 75.46 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.654820743948221]